lotabout / ideas

log for new ideas and the execution of ideas
1 stars 0 forks source link

Write a simple web framework #1

Open lotabout opened 8 years ago

lotabout commented 8 years ago

The whole target is to build our own simple web framework. And this about web server.

Resources

lotabout commented 8 years ago
lotabout commented 8 years ago

After investigation, I believe that the most important part of a web-framework is actually a router. I've implement one based on bottle.py's router:

https://github.com/lotabout/simple-framework/blob/master/router.py

Further tasks includes:

  1. request/response object wrapper