Getting started python for the web

I am looking for a good tutorial or framework for developing web applications written in Python.

I've done a lot in PHP, but very little in Python or Ruby, and decided I'd start with the first alphabetically.

+2


a source to share


4 answers


Try Django . It is one of the more popular Python web frameworks and arguably the easiest to use for simple projects.



+5


a source


Depending on what level you want to work at, there are several ways to get started. At its most basic level, there is the WSGI specification which is similar to the Python version of the CGI specification, and writing a WSGI application is how to write a CGI script. There are various higher level frameworks that you could work with, of which Django (mentioned in Dav's answer) is probably the most popular.



+2


a source


Turbogears is also a fantastic python web framework (or more) and is lighter than Django in my opinion (which is not that appropriate;)). It has good documentation and tutorials. Anyway, if you are familiar with the MVC concept, both are good choices.

+1


a source


I just started Python for the web. I also came from a PHP background and felt PHP is fine when it comes to creating common stuff like forums, blogs and the like. Unfortunately though I didn't like PHP when I had to build more complex systems.

I have looked at several different frameworks and have come to the conclusion that if I want to use a platform that is applicable to both web and client / server side programming, Turbogears2 is the best fit.

This seems to be one of the "new" frameworks, and it looks like they have a solid community to keep them going for years to come.

Oh lol this post sounds like an advertisement. Sorry;)

Anyway, I like to use webpages that you can use with hardware on the server, which means CGI / WSGI or just Turbogears :)

0


a source







All Articles