Python website creation

Source: Internet
Author: User

Python is a dynamic language.

Python web framework

If you want to use python for website creation, there are currently many excellent website quick development frameworks for you to choose from.
As far as I know and have used it, there are Zope and plone. You can search for it.

In the website architecture, Zope and plone have Windows installation files, which can be used after installation.

Quixote

Quixote/cherrypy can be used if the built-in web server is almost downloaded.
If you use Quixote:
The simplest way to use Quixote is as follows:
1. Install python;
2. Add the python directory to the path of your environment variable. If you do not add it, you can create a path each time;
3. Download and decompress Quixote. The document is in the doc directory;
4. After decompression, install Quixote in the Quixote Directory: Python setup. py install.
5. Run Python simple_server.py In the Server Directory of Quixote to access http: // localhost: 8080.

A little more complicated.

Django

Yes. Add sqlite3 to the background and use gvim to write the program.

If it is difficult to set up Apache + MySQL under win, you can use wampserver to integrate Apache/MySQL/PHP, and then configure mod_python and Django for Apache.

Karrigell

If python is already installed in the system, simply decompress it and run it. Self-built demos, including applications (wiki/bussiness/task/html edit) and components (page template, requesthandler parameter debugging, cooki, etc.) are convenient!
Add that python setup. py install is also required for the built-in buzhug database of karrigell so that the demo in karrgell can run.

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

Webpy.org, you will like it.

I am 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

These web frameworks are simple and convenient.

Chinese websites using Python:

Douban.com: http://www.douban.com

Server environment of Douban.com:

Server OS + webserver + Python & version + Web framwork

Gentoo + Lighttpd ..

 

Comments on these architectures

Zope has poor support for large traffic volumes

PSP configuration is too difficult

Pythoncgi is not very efficient.
 

 

Django

 

Python website framework

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.