随笔分类 -  9 Design Patterns

路途遥远`````风光无限````
tenjin - 号称全球最快的模板引擎
摘要:Tenjin, "Tenjin is a very fast and full-featured template engine available in several script languages."官方的测试结果: 也快得太夸张了MacOS X 10.4 Tiger, Intel CoreDuo 1.83GHz, Memory 2GB Language Template Engine Test#1(sec) Test#2(sec) Python(2.5.1)pyTenjin (0.6.1)6.965.61Cheetah (2.0)20.3619.82Django 阅读全文

posted @ 2009-03-22 12:52 MK2 阅读(3779) 评论(2) 推荐(0)

DDD, 企业架构, 分层架构, 领域模型, PetShop 4.0
摘要:最近在确定项目架构模型时, 出现了一些问题, 参考了许多文章和设计, 以下记录着这些文章和设计, 以便以后总结: 阅读全文

posted @ 2007-08-14 21:37 MK2 阅读(1546) 评论(1) 推荐(0)

线程安全的Singleton模板
摘要:今天看了umbraco 的源代码, 发现了这个非常漂亮的Singleton模板惟一的不足是, 构造函数是public, 只能靠开发人员自己控制了. /// /// /// Threadsafe Singleton best practice design pattern template /// /// Sample: /// /// public cl... 阅读全文

posted @ 2007-08-07 16:41 MK2 阅读(766) 评论(0) 推荐(0)

MVP模式学习文章
摘要:Martin Flowler 的文章 Model View Presenter MVP——Model-Viewer-Presenter 风满袖 ModelViewPresenter(TM) 简单介绍GUI设计模式(MVP) 使用ASP.NET实现Model View Presenter(MVP) CAB 与 MVP 模式 博客园MVP团队... 阅读全文

posted @ 2006-12-20 23:19 MK2 阅读(1362) 评论(0) 推荐(0)

ASP.NET有关的文章摘录
摘要:通过避免下列 10 个常见 ASP.NET 缺陷使网站平稳运行 扩展 ASP.NET 2.0 资源提供程序模型 Exporting Data Grid to Excel AppSettings In web.config GridView&ObjectDataSource新特性小记 懒人篇(一) 分页上路 GridView&Ob... 阅读全文

posted @ 2006-12-06 12:10 MK2 阅读(419) 评论(0) 推荐(0)

有关Asp.net 2.0 Provider 的文章收集
摘要:Examining ASP.NET 2.0's Membership, Roles, and Profile - Part 1 to Part 8 By Scott Mitchell A Multipart Series on ASP.NET 2.0's Membership, Roles, and Profile ... 阅读全文

posted @ 2006-12-05 03:41 MK2 阅读(351) 评论(0) 推荐(0)