Differences between revisions 7 and 10 (spanning 3 versions)
Revision 7 as of 2006-08-22 06:21:49
Size: 944
Editor: HuangYi
Comment:
Revision 10 as of 2006-08-25 12:48:42
Size: 1137
Editor: HuangYi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
 * [:Pylons/QuickWiki: Quick Wiki Tutorial翻译]  * Pylons 文档翻译
  * [:Pylons/QuickWiki: Quick Wiki Tutorial]
  * [:Pylons/TemplatePlugins: template plugins]
 * [:Pylons/call-cycle: Pylons 代码分析之 request生命周期]
Line 9: Line 12:
 * url dispatcher: [http://routes.groovie.org/ Routes], 默认模板: [http://www.myghty.org/ myghty];  * url dispatcher: [http://routes.groovie.org/ Routes], 默认模板: [http://www.myghty.org/ myghty], 不过只需几句代码就可以配置为其他模板;

TableOfContents

我的看法 --huangyi

["huangyi"]

  • pylons 是建立在[http://wsgi.org wsgi]和[http://pythonpaste.org/ paste]基础上的rails框架;

  • url dispatcher: [http://routes.groovie.org/ Routes], 默认模板: [http://www.myghty.org/ myghty], 不过只需几句代码就可以配置为其他模板;

  • 取众家之长, 比如 route,webhelpers,web测试 等观念来自ror;
  • 许多功能都由wsgi中间件提供,比如:web调试,错误处理,session,cache,用户验证等;
  • 许多核心模块的配置组装过程直接反映在自动生成的用户代码中,可以进行深度定制,(查看your_project/config/middleware);
  • 不依赖具体orm, 模板系统容易替换, 可以轻松使用其他符合wsgi标准的web组件;
  • 灵活的同时增加了配置的复杂度.

PylonsQuickIn (last edited 2009-12-25 07:14:49 by localhost)