- 博客(12)
- 收藏
- 关注
原创 XPath Tutorial
<br />1. / is the root node in the xpath.<br />2. /root/parent/children : return children nodes<br />3. /root/parent/children[1] : return children node<br /> <br />4. /root/parent/children[@name='dd']: return a specified child node<br />5. /root/par
2010-10-28 17:27:00 852
原创 Log to Server in Laszlo
<br />Messages can be written from an LZX application to the server log through the use of the logdebug=true query parameter and the Debug.log() method.<br /> <br /><br />Debug.monitor(who, what): Takes an object and property name and will emit a monitor
2010-10-28 14:45:00 879
原创 Event Handler in Laszlo
Define an event, and associate a handler with the event. Both of them should share the same name.3. Check the existence of the handler if (onAA || this['AAA'] ) AAA.sendEvent();Listener/Handler/Event is the basic broadcast mechnanism in Laszlo. A sou
2010-10-27 14:12:00 830
原创 HttpDataRequest & HttpDataProvider & lz.Params
<br />lz.HTTPDataRequest implements the DataRequest interface, to support HTTP data requests.<br /><br /><br /><br />lz.HTTPDataProvider implements the DataProvider interface, to support HTTP data requests. <br />
2010-10-26 11:50:00 927
原创 如何解决Ubuntu文本的乱码
gconftool-2 --set --type=list --list-type=string /apps/gedit-2/preferences/encodings/auto_detected "[UTF-8,CURRENT,GB18030,BIG5-HKSCS,UTF-16]"
2010-10-19 18:00:00 796
原创 Tips in programming Laszlo
1. if (object['attributename']) logic goes here. : mainly focus on the checking attribute in laszlo.2. How to declear a private/annoymous functionfunc_varname = function(varname) { logic block;}; 3. a lot of instances are intialized in library.lzx with
2010-10-17 21:10:00 725
原创 BaseScrollbar解析
<br />scrolltarget: 选择要拥有滚动条的view组件。<br />scrollable: 是否显示滚动条的开工<br />
2010-10-16 20:57:00 748
原创 软件架构的评价准则
<br />对于一个软件系统架构优劣的分析,总要有一些准则,以下是一些粗略的标准:<br />1. 系统性能<br />2. 可靠性(容错/健壮性)<br />3. 可用性<br />4. 安全性<br />5. 可修改性(可维护性,可扩展性,结构重组,可移植性)<br />6. 功能性<br />7. 可交互性<br /> <br />针对同一个架构和系统的分析,不同的角色所持的立场是不同的,架构师所要承担的就是权衡不同属性之间的平衡;设计和实现则关注可修改性和性能/可靠性。用户更关注功能和可用性/安全性
2010-10-13 22:01:00 2778
原创 如何安装flash debugger in ubuntu
<br />将解压之后的文件复制到/usr/lib/firefx-3.6.xx/plugins.
2010-10-09 15:47:00 915
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人