【Python开发web】 -- 系统环境与框架的选择
2010-09-22 11:08:28 来源:WEB开发网官网上对Python的定义:
Python is a great object-oriented, interpreted, and interactive programming language. It is often compared (favorably of course ) to Lisp, Tcl, Perl, Ruby, C#, Visual Basic, Visual Fox Pro, Scheme or Java... and it's much more fun.
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems. New built-in modules are easily written in C or C++ (or other languages, depending on the chosen implementation). Python is also usable as an extension language for applications written in other languages that need easy-to-use scripting or automation interfaces.
已搭建的系统环境:
CentOS 5.1 kernel 2.6.18
Python 2.5
Python的流行框架有很多,纳入考虑范围的有django、pylons、web2py,另外,因豆瓣网而关注quixote。
排序原则 | 平台 |
有大把時間做企業級應用 | plone,zope |
適合 python 專家用 | pylons, webpy, twisted.web, zope |
追求一體框架 | django, zope/plone, karingel |
適合快速上手 | karingel, cherrypy. turbogears |
快速 CMS | django |
支援度 | django, turbogears, pylons, zope/plone |
框架自由度 | pylons, turbogears |
一般用途 | django, turbogears, pylons |
文檔優勢 | django, turbogears, pylons |
有 Rails 背景 | pylons, turbogears |
有 AJAX/javascript helper/widgets | turbogears/pylons |
WSGI 支持度 | pylons, turbogears(django努力中) |
JSON(AJAX server side) | turbogears |
並用 flash/flex | turbogears |
摘自:http://wiki.woodpecker.org.cn/moin/PyWebAppFrameworks
在比较后,决定使用pylons。
- ››开发学院教你用SQL 语句最快速清空MySQL 数据表的...
- ››WEBGAME龙虎榜,《传奇国度》成黑马
- ››WebQQ 2.0添加谷歌音乐方法
- ››WebLogic调整Java虚拟机性能优化参数
- ››webqq2.0协议研究(3)-ClientId生成
- ››Web.config配置文件
- ››WebBrowser组件的execWB方法——Delphi控制浏览器...
- ››Web前端设计模式--制作漂亮的弹出层
- ››WebSphere 反向投资者: 解决 WebSphere Applicati...
- ››WebSphere sMash 的创新应用,第 2 部分: 借助包装...
- ››WebQQ2.0怎样对话区域比例调节
- ››WebQQ2.0——QQ阅读&酷六视频上线
更多精彩
赞助商链接