2008-05-26

javascript object model

关键字: javascript object function
the difference between prototype property and [[prototype]] which constructs the chain of prorotype each object has a inner property called '[[prototype]] ', whose value is null or point to some object. This property is visible only for JS engine.(in firefox, this property can visited ...
2008-05-23

some thoughts of composite & visitor pattern

关键字: composite command visitor java pattern
At first, let's look the typical class structure diagram of composite pattern:   Composite pattern is very suitable for Tree structure. The picture showed above defines a Interface Node and two sub concrete tree types  : Leaf  and Branch.  Branch may contains sub branch and ...
2008-05-22

best practices for web form design

关键字: ui web form
These contents are refered from a pdf file named 'best practices for web form design '. information Layout top aligned : for reduced completion times & familiar data input. right aligned : when vertical screen space is a constraint. left aligned : for unfamiliar, or advanced ...
2008-05-21

InnoDB transaction model

关键字: transaction mysql innodb
At first, lst's understand some technologies used in mysql transaction model: 1. Next-Key Locking http://dev.mysql.com/doc/refman/5.0/en/innodb-next-key-locking.html 写道 InnoDB performs the row-level locking in such a way that when it searches or scans an index of a table, it sets shared or ex ...
Three jsp directives 1. the page directive first, refere the explaination of it in jsp specificiation: the page directive defines a number of page dependent properties and communicates these to the JSP container.  this directive is so common that always can  be see in the top o ...
2008-05-19

implement url-rewrite in j2ee application

关键字: urlrewritefilter j2ee
in many j2ee applications, especially which developed by light-weight framework,such as struts, we can easily see the url pattern as  follows : 写道 http://localhost:8080/app/module/action.do?id=x&  In contrast, the url pattern used by ruby on rails applications are totally different: ...