8/28/2008

这不是偶然

这不是偶然
这是人生的必然
与你相遇
只是时间的早晚
你脉脉含情的双眼
牵动了我心中的依恋
今生与你相爱
这是上帝安排的情缘

这不是偶然
这是人生的必然
与你牵手
只是时间的早晚
你温文而雅的笑声
点燃了我心底的思念
今生与你相恋
这是前世修来的情缘

这不是偶然
与你相依相守
这是人生的必然
这不是偶然
与你相爱相恋
这是人生的必然

8/24/2008

I believe I can see the future

"Every Day Is Exactly The Same"

I believe I can see the future
Cause I repeat the same routine
I think I used to have a purpose
But then again
That might have been a dream
I think I used to have a voice
Now I never make a sound
I just do what I've been told
I really don't want them to come around

Oh, no

Every day is exactly the same
Every day is exactly the same
There is no love here and there is no pain
Every day is exactly the same

I can feel their eyes are watching
In case I lose myself again
Sometimes I think I'm happy here
Sometimes, yet I still pretend
I can't remember how this got started
But I can tell you exactly how it will end


I'm writing on a little piece of paper
I'm hoping someday you might find
Well I'll hide it behind something
They won't look behind
I'm still inside here
A little bit comes bleeding through
I wish this could have been any other way
But I just don't know, I don't know what else I can do

I believe I can see the future

"Every Day Is Exactly The Same"

I believe I can see the future
Cause I repeat the same routine
I think I used to have a purpose
But then again
That might have been a dream
I think I used to have a voice
Now I never make a sound
I just do what I've been told
I really don't want them to come around

Oh, no

Every day is exactly the same
Every day is exactly the same
There is no love here and there is no pain
Every day is exactly the same

I can feel their eyes are watching
In case I lose myself again
Sometimes I think I'm happy here
Sometimes, yet I still pretend
I can't remember how this got started
But I can tell you exactly how it will end


I'm writing on a little piece of paper
I'm hoping someday you might find
Well I'll hide it behind something
They won't look behind
I'm still inside here
A little bit comes bleeding through
I wish this could have been any other way
But I just don't know, I don't know what else I can do

8/22/2008

组件规格的写法

1 组件的操作列表,所定义的行为的声明部分,包括每个操作的名称、参数和返回类型。通常用对象的接口(Interface)来实现这个定义
2 组件的功能描述(component's functionality
3 组件的使用场景(usage scenarios
4 组件开发的历史
5 组件的执行环境(如Apache, PHP版本等)
6 组件的执行参数,如启动组件的必须数据

Operation与method的区别

Operation中文译作操作,是指类所定义的行为的声明部分,一般是名称、参数和返回类型。通常也叫对象的接口(Interface),该信息用于告诉对象需要它做什么。
Method译为方法,是指上诉操作的实施,即当调用接口时被执行的代码。
两者的区别,简单地来说,一个是声明,一个是实现。不澄清的话很容易混淆。

8/18/2008

用“看板图”实现敏捷项目的可视化

  • 看板是代表一项要完成的任务的标签。它被用来具体化Just-In-Time的“拉”生产控制。看板图显示了在本次迭代中要完成的所有任务的当前状态。任务用卡片(便笺纸)来代表,状态则由板上分别标有“未做”、“正做”和“做完”的三个区域来代表。看板图帮助团队理解当前做得如何,以及下一步要做什么,令团队能够自我指导。
  • 表的横轴代表时间线,线上的竖直区域代表发布,在区域中的卡片各自代表一项该次发布中要实现的特性。
  • 仔细观察看板图,你会发现上面表达了三项主题——时间、任务和团队。下面我尝试从这三个视角来组织看板。

Techniques to handle Complexity:Abstraction, Specification and Problem Decomposition

In Web application development process, there are lots of technologies is good to carry out. But Specification, Abstraction and Problem Decomposition is a perfect approach to resolve the Complexity of the software engineer. They are knowledge comes from practice.
So, remember them, and use them every day.

8/17/2008

Transaction Patterns: A good idea for UI Design

Screen Area for Admin

Menu Bar

This is a series of hyperlinks at the top of the screen which allow the user to navigate around different parts of the system.

Navigation Bar

This is a group of buttons which will allow control to be passed to functions which are in some way related to the current function.

Column Headings

On screens which show multiple rows with headings above each column

Data Area

The way that data is displayed in this area depends on whether it is capable of displaying single or multiple occurrences (rows).



Message Area

Messages related to a particular field will usually appear immediately below the field's data.

Pagination Area

For some screens there may be more records available than can be displayed at any one time

Scrolling Area

There may be screens in which it is possible to step through a series of selected or available items

Action Bar

This is a group of buttons which perform some action within the current screen, such as updating the database, terminating the screen, or resetting the selection criteria. This is situated at the bottom of the screen.


Component Specification

The usual form of component behavior description may consist of some or all of the following:

  • a list of operation names and signatures defining the input and output parameters for each operation;

  • an informal textual description of the component's functionality, intended usage scenarios, and history of development;

  • an informal description of the component's operating context (e.g., hardware platforms and operating system), expected versions of installed software, and known limitations or deficiencies;

  • performance and availability data for typical execution of the component.

8/15/2008

Large-Scale, Component-Based Development

CBD is an exciting new approach to application development which offers the promise of reducing cycle time for software development, and improving the quality of delivered applications.

This book provides the context necessary to understand CBD and to apply it successfully to enterprise-scale solutions. CBD is a new approach to software development that will significantly affect software development practices over the coming years. As a result, the goals of this book are threefold:

  • It provides an introduction to the fundamental technologies of CBD. There are a number of different technologies that contribute to this approach. Each of these is examined in terms of how that technology has come to be, its major strengths and weaknesses, and the directions in which it is likely to evolve.

  • Rather than simply enumerate individual technology advances, this book provides a holistic view of how each technology contributes to the larger goal of CBD. Readers can then put each technology advance into the context required for a more complete understanding of its relevance and impact.

  • While the academic background of these technologies is discussed, the book is predominantly practical in nature. Wherever possible, the technologies are discussed with respect to their impact on current and future software engineering practices as experienced by a wide range of practicing software engineers.

Having read this book, readers will understand the key technology advances in software engineering as they affect CBD, and therefore be in a better position to take advantage of them in their organization.

Service- and Component-based Development: Using Select Perspective™ and UML

Select Perspective, from Select Business Solutions, is a set of best practices for software development that has evolved over a decade into a world-class component-based development (CBD) process. It is a blend of approaches from several object-oriented methods, improved and adapted to meet the new demands of CBD and Web Services.

8/10/2008

Db2's PureXml: a good solution for Web 2.0

I am developing web applications based on XML file recently, I fond the DB2 that support the xml data today, so,it might be a good XML database develpment tool for me.

8/09/2008

The relationship of class in UML

In theUML, a class diagram is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, and the relationships between the classes.

  • Instance Level Relationships have Association, Aggregation and Composition.
    Composition is a special form of aggregation where in each part may belong to only one whole at a time. When the whole is destroyed, so are its parts. Aggregation is a special form of association as well that specifies a whole-part relationship between the aggregate (whole) and a component part.You state an association at the class level.Association is An association between classes indicates that objects of one class may be related to objects of the other class
  • Class Level Relationships have generalization.
    The generalization relationship is also known as the inheritance or "is a" relationship.
  • General Relationship have dependency.
    A dependency exists between two defined elements if a change to the definition of one would result in a change to the other. A dependency can be between instances, classes, or both.
Note:In the class diagram, there the arrow always point to the supplier.

the different of Operation and method in OO

In OO terms ,the operation and method have different definition. the Operation is an aggregation of a serial procedures, and each procedure is named method. So ,as BA, when your extract some imported characters of business logic from stakeholders, you should distinguish them. you take each operation and ask stakeholders what procedure they use to carry it out. You document the procedure as a method.

Some advices of learning object-oriented development

OO is a complete conceptual framework that covers the entire life cycle of an IT project.

  • OO affects the way the BA analyzes and models the requirements.
  • OO affects the way the software engineer (technical systems analyst) designs the system specifications.
  • OO affects the way the code itself is structured: Object-Oriented Programming
So, how to improve your OO skilledness, I have some advice:
  • UML, is a good expression for your OO idea.
  • Design pattern, the classic OO experience
  • Refacotory, the methods how to organize your code
  • Python or PHP5, dynamic object-oriented programming languages that can be used for software development. they can realize your OO idea repidly than Java, C#, C++

8/07/2008

How to Change the disk label of ext3 on ubuntu

e2label [分区设备] [卷标名]
如果未指定卷标名,就会显示分区卷标名,如果指定了卷标名,就会将磁盘分区的卷标更改为指定的卷标名,卷标名最长为16个字符长度,超出长度将自动截断。
示例:e2label /dev/sda1 newlabel

graphical client for manage MySQL databases

GTK+ based client for MySQL wich allow to make querys and performs administrative jobs such as manage users, process, strucutres, data dumps and more.
sudo apt-get install gmysqlcc

SCIM doesn't work on Ubuntu Gutsy 8.10

I have used method from: https://bugs.launchpad.net/ubuntu/+bug/34282
and it works for me here is small HowTo:

Code:
sudo apt-get install scim-bridge
sudo gedit /etc/X11/xinit/xinput.d/scim
them find and change

Code:
GTK_IM_MODULE=xim
into
Code:
GTK_IM_MODULE="scim-bridge"
Restart system. SCIM should works fine with all applications. Maybe you will need start SCIM manually by

Code:
SCIM -d