02 2011 档案
摘要:French fashion in ParisParis and French fashion are world famous.French fashion is setting the trend with icon brands such as Chanel, Dior, Hermes, Jean-Paul Gaultier, Louis Vuitton and Yves Saint Laurent.Many lesser known French fashion designers turn Paris into the fashion city of the world. Look
阅读全文
摘要:使用面向对象语言进行过程式设计的例子,可谓俯拾皆是。看这段代码:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicclass SyncExecutor {publicvoid executeSync() {syncSchools();syncGrades();syncFaculties();}} 这段代码很清晰,分别执行了对学校、年级与教师信息的同步。一目了然,似乎没有什么问题。然而,如果深入阅读各个同步子方法,就会发现某种坏味道,
阅读全文
摘要:Using Javascript to display RSSI have written about using Javascript to display RSS previously. It seems people are still interested in the subject so I thought I would revisit the subject.Javascript and RSSFirst of I need to let you know that Javascript and RSS cannot be used exclusively to display
阅读全文
摘要:作为一名开发人员(WEB前端JavaScript开发),不规范的开发不仅使日后代码维护变的困难,同时也不利于团队的合作,通常还会带来代码安全以及执行效率上的问题。本人在开发工作中就曾与不按规范来开发的同事合作过,与他合作就不能用“愉快”来形容了。现在本人撰写此文的目的除了与大家分享一点点经验外,更多的是希望对未来的合作伙伴能够起到一定的借鉴作用。当然,如果我说的有不科学的地方还希望各路前辈多多指教。下面分条目列出各种规范要求,这些要求都是针对同事编码毛病提出来的,好些行业约定的其它规范可能不会再提及。1、保证代码压缩后不出错对于大型的JavaScript项目,一般会在产品发布时对项目包含的所有
阅读全文