mod_python 3.2.8 Chinese manual Provides the Chinese manual of Mod_python 3.2.8, which is a good material for learning Mod_python. Interested friends can refer to it.
mod_python originated from the Httpdapy project (1997). Much later Httpdapy was called mod_python because Httpdapy was not specific to the apache server. Httpdapy was designed to be cross-platform, but actually started primarily with Netscape servers (going back to Nsapy in 1997).
Excerpted from the README file of the Httpdapy project describing the challenges and solutions to embedding Python into the apache server.
When I developed my first WEB application many years ago, I found that CGI access to the database was very slow, because each click request would load the interpreter and execute several MB of data. Databases are often very large, and a lot of time is wasted on "significant" things such as database connection/authentication, such as DNS queries, encoding and decoding, memory allocation, etc. Under pressure to speed up the application, I tried using Python and a combination of tools. I am not superstitious about Microsoft's ASP, and I am frustrated by Netscape's performance and bugs. "Cold Fusion" looked promising, but I later learned how to write HTML-like tags, and the readability was a bit different than assembly. Such as PHP. But I really want to write something in Python.
At the same time, a book on Python Internet programming was published, and the way in which Python was embedded into a Netscape server immediately caught my attention. I used this example in my project and later developed my own improved version called Nsapy and compiled it on Windows NT and Solaris.
Although Nsapy can only work on Netscape servers, due to its flexible and universal object-oriented design, it can be easily transplanted to other WEB servers in the Python wizard.
Later, the once popular Netscape server crashed, so I transplanted Nsapy to the most popular server, apache. So Httpdapy was derived from Nsapy.
Continuing the saga, you will think of porting Httpdapy to other servers. In fact, they are more complicated and boring than expected.
On the contrary, it would be more interesting to provide a component similar to the Perl language apache extension mod_perl with the same or better performance.
Moving on, the first version of mod_python was released in May 2000.
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn