How to make a web framework

rusi rustompmody at gmail.com
Thu Jun 27 11:46:27 EDT 2013


On Thursday, June 27, 2013 8:44:36 PM UTC+5:30, Fábio Santos wrote:
> On 27 Jun 2013 14:49, <gamesb... at gmail.com> wrote:
> > I've used web frameworks, but I don't know how they work. Is there anywhere 
> > that I can learn how this all works from scratch?

> Write CGI scripts. It is the most raw way to program for the web. That way you 
> can dig into what frameworks do for you.

Cant argue with the correctness of this advice.  Its still a bit low level.

Slightly more hi-level but not yet into framework-land is to take the basic components of web-design and study minimalist implementations separately.

Note: I know very little of this area -- used RoR for a couple of months many years ago. This is just to get the ball rolling and have more experienced folks amend my suggestions!

- url-mapping
- template engines
- Database-ORM
- MVC design pattern 

One more general advice based on my experience [And if it looks condescending, please forgive me!] Many people who come to a programming language like python from web-framework experience dont know enough programming.  They then cover up that lack by learning more and more of the framework but not enough of the underlying language.  This may get you along for a while but eventually is suboptimal



More information about the Python-list mailing list