Python do website

Source: Internet
Author: User
Tags plone

Python is a dynamic programming language.

Python's web framework

If you want to use Python as a website, there are many excellent web site development frameworks available for you to choose from.
As far as I know and used, there are Zope and Plone. You can search.

Zope and Plone have Windows installer files in the Web site architecture and can be installed all the way.
Quixote

Quixote/cherrypy If you use a Web server with your own, you can use it almost as a download.
If you use Quixote:
The easiest way to use Quixote:
1, the installation of good Python;
2, add Python directory to your environment variable path inside, not add also can, is every time you hit the path;
3, download, decompression Quixote, documents in the DOC directory;
4, after decompression, install Quixote, in the Quixote directory: Python setup.py install.
5, in the Quixote server directory run Python simple_server.py, visit the http://localhost:8080/to see.


A little bit more complicated.
Django

Yes, plus a sqlite3 to do the backstage, and then write the program with Gvim

In the win under the erection of apache+mysql trouble, you can use Wampserver, integrated apache/mysql/php, and then to Apache with Mod_python and Django

Karrigell

Also good, if the system has Python installed, direct decompression run can. Self-demo, including application (wiki/bussiness/task/html edit) and Components (page template, requesthandler parameter debugging, Cooki, etc.), very convenient.
To add, Karrigell built in the Buzhug database also want Python setup.py install, so Karrgell inside the demo can run

You can also try pylons. Its debugging, very characteristic.


Webpy.org, you're going to like him.

I was using Django.
Build Environment: XP SP2 + python 2.4.3 + Django 0.95
Build environment: win2003+ python 2.4.3 + Django 0.95

Python+django+apache+mysql

Feel these web frameworks are very simple and convenient. Chinese web site using python:

Douban: http://www.douban.com

Douban Server Environment:

Server Os+webserver+python & Version + Web framwork

Gentoo+lighttpd..

comments from netizens on these architectures

Zope does not support large traffic

PSP configuration is too difficult

pythoncgi efficiency is not very good

Django

Python web Framework

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.