[pythonScript][cherrypy3.2]Cherrypy 小小筆記

 

CherryPy is a pythonic, object-oriented HTTP framework.

CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program. This results in smaller source code developed in less time.

CherryPy does its best to stay out of the way between the programmer and the problem. It works out of the box; default behavior is sensible enough to allow use without extensive setup or customization. However, its configuration and plugin systems are more than enough to easily build and deploy complex sites.

You are free to use any kind of templating, data access etc. technology you want. CherryPy also has built-in tools for sessions, static files, cookies, file uploads, caching, encoding, authorization, compression, and many more.

The production-ready, HTTP/1.1-compliant web server allows you to deploy web applications anywhere Python is installed. It also supports any other WSGI-enabled webserver or adapter, including Apache, IIS, lighttpd, mod_python, FastCGI, SCGI, and mod_wsgi, even multiple ones. And it’s fast; typically, CherryPy itself takes only 1-2ms per request! It is being used in production by many sites, from the simplest to the most demanding.

CherryPy applications run on Windows, Linux, Mac OS X and any other platform supporting Python 2.3 or higher.

CherryPy is now more than eight years old and it is has proven very fast and stable. It is well tested, and includes tools for testing, profiling, and coverage of your own applications.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章