随笔分类 -  架构

摘要:官网:http://thrift.apache.org/一些介绍使用的文章:http://www.ibm.com/developerworks/cn/java/j-lo-apachethrift/index.htmlhttp://thrift.apache.org/tutorial/phphttp:... 阅读全文
posted @ 2014-10-15 15:00 lein.wang 阅读(643) 评论(0) 推荐(0)
摘要:找了很久,找到一篇好文章,细读很有收获:点击打开链接http://www.codeproject.com/Articles/560798/ASP-NET-MVC-Controller-Dependency-Injection-for-Be 阅读全文
posted @ 2014-04-28 22:19 lein.wang 阅读(94) 评论(0) 推荐(0)
摘要:http://www.ohloh.net/p/abicloudhttp://www.ohloh.net/p/CloudStackhttp://www.ohloh.net/p/kaoshttp://www.ohloh.net/p/3440 阅读全文
posted @ 2013-12-05 11:44 lein.wang 阅读(144) 评论(0) 推荐(0)
摘要:很多著名的企业Wiki都是开源产品,如Foswiki(基于Perl),TWiki(基于Perl)等,另外有Mindtouch(基于PHP, C#),Confluence(基于Java)等。维基道的Wiki平台即基于Foswiki建立。有关更多的企业Wiki产品,可以参考wikimatrix.org。... 阅读全文
posted @ 2013-12-05 11:03 lein.wang 阅读(444) 评论(0) 推荐(0)
摘要:依赖倒置 是让高层不依赖底层的变化,转而去依赖底层的抽象。依赖注入 是让两个不同的组件之间不直接发生耦合,交给第三方配置文件去保存这种耦合关系,由框架来管理。http://www.cnblogs.com/DotNetFresh/archive/2005/06/27/181878.html点击打开链接... 阅读全文
posted @ 2013-04-18 20:59 lein.wang 阅读(133) 评论(0) 推荐(0)
摘要:// create a virtual host>mkdir -p /var/www/layne.com/document_root>cd /etc/apache2/sites-avaliable>pico -w layne.com 或者 随便建一个文件,用gedit打开,save as layne... 阅读全文
posted @ 2013-03-13 23:14 lein.wang 阅读(166) 评论(0) 推荐(0)
摘要:RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] SetHandler php5-script SetHandler ph... 阅读全文
posted @ 2013-03-13 16:20 lein.wang 阅读(193) 评论(0) 推荐(0)
摘要:1994 年,由Erich Gamma,Richard Helm,Ralph Johnson和 John Vlissides(即所谓的“四人帮’,GoF:Gang of Four)合作的以《设计模式:可复用的面向对象软件的基本原理》为题目的书藉出版了。这本书解释了模式的用处,同时也使得设计模式得到广... 阅读全文
posted @ 2013-03-13 15:52 lein.wang 阅读(152) 评论(0) 推荐(0)
摘要:点击打开链接http://www.williamlong.info/archives/837.html点击打开链接http://www.williamlong.info/archives/823.html点击打开链接http://blog.csdn.net/yjflinchong/article/d... 阅读全文
posted @ 2013-03-01 14:00 lein.wang 阅读(215) 评论(0) 推荐(0)
摘要:http://andylin02.iteye.com/blog/508963 阅读全文
posted @ 2013-02-28 17:35 lein.wang 阅读(83) 评论(0) 推荐(0)
摘要:class CouchSimple { function CouchSimple($options) { foreach($options AS $key => $value) { $this->$key = $value; } } ... 阅读全文
posted @ 2013-02-19 16:46 lein.wang 阅读(122) 评论(0) 推荐(0)
摘要:http://www.cruisecontrolnet.org/projects/ccnet/wiki/Configuration_Preprocessor#Preparing-to-Use-the-PreprocessorPreprocessor ElementsThe configuration... 阅读全文
posted @ 2013-01-03 18:35 lein.wang 阅读(120) 评论(0) 推荐(0)
摘要:Step 1 Setting up Source ControlMost systems I've seen have a setup as below :ProjectName \__Trunk | \Lib | \Src \__Branches \__1_0_0_... 阅读全文
posted @ 2013-01-03 18:14 lein.wang 阅读(104) 评论(0) 推荐(0)
摘要:The following services/roles are needed for a Continuous Integration System:developer PC (duh)source control serverbuild serverbuild server visualizer... 阅读全文
posted @ 2012-12-28 14:30 lein.wang 阅读(107) 评论(0) 推荐(0)
摘要:ABSTRACT FACTORY 抽象工厂FACTORY METHOD 工厂方法BUILDER 生成器PROTOTYPE 原型SINGLETON 单例 阅读全文
posted @ 2012-12-14 15:45 lein.wang 阅读(98) 评论(0) 推荐(0)
摘要:工厂方法模式:一个抽象产品类,可以派生出多个具体产品类。 一个抽象工厂类,可以派生出多个具体工厂类。 每个具体工厂类只能创建一个具体产品类的实例。抽象工厂模式:多个抽象产品类,每个抽象产品类可以派生出多个具体产品类。 一个抽象工厂类,可以派生出多个具体工厂类。 每个具体工厂类可以创建... 阅读全文
posted @ 2012-12-13 23:09 lein.wang 阅读(118) 评论(0) 推荐(0)
摘要:#!/usr/bin/env pythonimport MySQLdbprint "Content-Type: text/html\n"print "Books"print ""print "Books"print ""connection = MySQLdb.connect(user='me', ... 阅读全文
posted @ 2012-11-14 23:28 lein.wang 阅读(151) 评论(0) 推荐(0)
摘要:-------------------------------------------------------------------------------------软件架构师首要的关注点不是系统的功能软件架构师需要关注的是需要满足的品质比如:1.主机托管环境2. 主机操作系统3. 并发数4. ... 阅读全文
posted @ 2012-10-08 17:03 lein.wang 阅读(105) 评论(0) 推荐(0)