Simple HTTP Server on Linux
|
07-27-2012, 11:38 AM,
(This post was last modified: 07-27-2012, 11:38 AM by RichardGv.)
|
|||
|
|||
RE: Simple HTTP Server on Linux
(07-27-2012, 09:33 AM)MyDigitalpoint Wrote: No, I have not any Python HTTP server yet, and this is the reason why I have been unable to test those chunks of Python code that I have. If you wish to learn more about how to install Python 3 and its syntax and libraries, I would recommend the official tutorial: http://docs.python.org/py3k/tutorial/index.html Python is more of a generic scripting language that is not specifically designed for web server or web development -- yet you could create full-fledged websites with Python. (There are not many premade website scripts usable out of box in the Python world, I suppose. You would need to write some code.) Django, for instance, is a famed web design framework in Python, which you could try: https://www.djangoproject.com/ A list of other Python website frameworks: http://wiki.python.org/moin/WebFrameworks/ Python does not integrate to the web server as closely as PHP does. Python's HTTP server module may not be able to reach the performance of a web server written in C/C++, well, or even Java, since Python is an interpreted language. (It could be much more flexible, though.) I heard websites made with Python (and Django?) are usually operating in CGI mode together with a real web server (Apache, IIS, lighttpd, nginx, etc.). Also, Python websites may not work on many shared hosting services. If you have a VPS then it's not a big deal. As for the syntax and libraries... Well, I like the syntax and libraries of Python (Python 3!) better personally, but you could have different feelings. (By the way, I don't recommend you to try Python 2. Various weaknesses that could be very annoying at a particular moment.)
Gentoo Linux User (w/ fvwm) / Loyal Firefox User / Owner of a Stupid Old Computer - My PGP Public Key
No man is an island, entire of itself; every man is a piece of the continent, a part of the main; if a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friends or of thine own were; any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee. -- Devotions Upon Emergent Occasions (1624), John Donn |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[MyBB] Simple Group Legend v2 | Serial Thrilla | 3 | 4,036 |
01-21-2012, 02:18 AM Last Post: Serial Thrilla |
|
Create a fully working Counter Strike server with HLDS | Serial Thrilla | 0 | 1,232 |
05-30-2011, 01:03 AM Last Post: Serial Thrilla |
|
Counter-Strike Dedicated Server on Debian Squeeze | Serial Thrilla | 0 | 1,703 |
05-30-2011, 01:02 AM Last Post: Serial Thrilla |