【Python開發web】(1) — 系統內容與架構的選擇

來源:互聯網
上載者:User

學了多種語言,今天起把目標瞄向了Python和Perl。先從Python開始。

-------------------------------------------我是pangpang分隔線------------------------------------------

官網上對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.

-------------------------------------------我是pangpang分隔線------------------------------------------

已搭建的系統內容:(2009-3-19更新)

CentOS 5.2 kernel 2.6.18

Python 2.6.1

Pylons 0.9.7

 

-------------------------------------------我是pangpang分隔線------------------------------------------

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。

-------------------------------------------我是pangpang分隔線------------------------------------------

相關連結:

Python  http://www.python.org/

Python wiki  http://wiki.python.org/moin/FrontPage

Python Tutorial  http://docs.python.org/tutorial/index.html

Learn Python in 10 minutes http://www.poromenos.org/tutorials/python

pylons  0.9.7  http://www.pylonshq.com

django  1.0.2  http://www.djangoproject.com/

web2py  1.5.7  http://mdp.cti.depaul.edu/

quixote  2.6  http://quixote.ca/

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.