How to make a web framework

G

gamesbrainiac

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?
 
F

Fábio Santos

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.
 
R

rusi

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 basiccomponents 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 likepython 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
 
G

Giorgos Tzampanakis

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?

Yes, read the source code of a mature framework.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,135
Messages
2,570,783
Members
47,340
Latest member
orhankaya

Latest Threads

Top