2013年2月1日
摘要:
1.在UI层,定义界面事件的Handler,并将界面模块化。此处代码不应包含任何业务逻辑2.在Business层,定义和业务相关的接口以及实现。系统里面和业务相关的代码都应放在Business Layer中3.在Data Access层,定义获取数据的接口及实现。此处代码不应该包含任何业务逻辑。在步骤1中,要分析出UI上面的事件。当事件分析出来后,再考虑如何来处理这些事件,这时就进入了步骤2。在步骤2中,分析出业务处理逻辑以及处理这些业务逻辑时所依赖的数据。可以一边写业务逻辑代码,一边根据业务逻辑来定义获取数据的接口。最后在步骤3中,来实现获取数据的接口。在步骤2中,可以根据Test Driv
阅读全文
posted @ 2013-02-01 14:04
涵树
阅读(3126)
推荐(3)
2012年10月29日
摘要:
Supported by Umbraco Development Team of Nova Software. If we compare Umbraco Document Type with C# class, we could easily understand what are Umbraco Document Type. Class Umbraco Document Type Is a logic unit for set of data Is a logic unit for set of data fields Can be created for objects ...
阅读全文
posted @ 2012-10-29 22:51
涵树
阅读(375)
推荐(1)
2012年10月22日
摘要:
在开发网页展现层的css时,有时会发现样式没有被应用的情况,这是需要借助Firefox下的Firebug插件来协助问题解决。 通常有三种情况会表现出定义的样式没有被应用。 1. 样式文件没有被加载成功(低级错误,但在复杂的环境下,时有发生) 2. css文件并没有被引用(低级错误,但在负责的情况下,是有发送) 3. 样式冲突(高级错误,需要赖心排查) 对于样式文件没有被加载成功导致的错误,可以通过firebug的网络(Network)查看。在Firebug的帮助下,你可以很容易发现哪些文件没有加载成功,这其中就可能包含了css文件。那些文件会被标记为红色。 如果第一种情况不存在,那么排查c..
阅读全文
posted @ 2012-10-22 22:56
涵树
阅读(249)
推荐(0)
2012年9月27日
摘要:
Supported by Umbraco Development Team of Nova Software. Spa Service is one of the most popular businesses around the world. It renders high profit, high employment rate as well as sophisticated manag...
阅读全文
posted @ 2012-09-27 16:35
涵树
阅读(326)
推荐(0)
2012年9月20日
摘要:
Supported by Nova Outsourcing UpdatePanel is the powerful utility in Microsoft Asp.net family for asynchronous posback. JQuery is the popular framework to facilitate coding in the client end. When th...
阅读全文
posted @ 2012-09-20 21:48
涵树
阅读(1002)
推荐(0)
2012年9月10日
摘要:
Supported by Nova Outsourcing Object is an instance of a class. In some cases, we prefer to use object directly. Session object is one of the cases. Let’s say we have a class designed for holding val...
阅读全文
posted @ 2012-09-10 23:31
涵树
阅读(1448)
推荐(0)
2012年9月9日
摘要:
在多年的项目管理中,我把诚信放在第一位。诚信是一个管理者的生命。对上级诚信,及时向上级反馈各种信息(其中也包括不好的消息),为上级提供可靠地决策依据。对下诚信,是项目中的管理和利益分配透明,让项目成员各司其职,在工作中有安全感。 其次是项目外部的公关和项目内部的攻关。 任何一个项目,如果想在有限的时间内满足客户的所有需求,那无疑是将项目直接带向失败。作为项目经理,在面对这类风险时,要做好客...
阅读全文
posted @ 2012-09-09 22:07
涵树
阅读(1348)
推荐(3)
2012年9月5日
摘要:
Supported by Nova OutsourcingI suffered the issue when upgrading a old DNN site from 5.x to 6.x that the new installed module doesn’t appear in the modules dropdown list and Assigned Premium Modules/Assigned listTo address the issue I took a discovery in DNN db schema and worked out the following sq
阅读全文
posted @ 2012-09-05 10:55
涵树
阅读(575)
推荐(0)
2012年8月15日
摘要:
Supported by Nova Outsourcing Umbraco is a powerful CMS system that can be integrated seamlessly with Normal Asp.net Web Form, Web Service and other rich media. Here is the list for checking if you a...
阅读全文
posted @ 2012-08-15 12:02
涵树
阅读(279)
推荐(0)
2012年7月25日
摘要:
xmlns:umbraco.library="urn:umbraco.library" void AddJquery();XPathNodeIterator AllowedGroups(int documentId, string path);void ChangeContentType(string MimeType);void ClearLibraryCacheForMedia(int med...
阅读全文
posted @ 2012-07-25 23:22
涵树
阅读(382)
推荐(0)