A Web framework is a collection of packages or modules which permit developers to write Web functions (see WebApplications ) or companies with out having to handle such low-level details as protocols, sockets or course of/thread administration. Webapp2 (2.5.2 Released 2012-09-28) – a light-weight framework suitable with Google App Engine’s webapp: it extends webapp to add higher URI routing and exception dealing with, a full featured response object and a extra flexible dispatching mechanism.
If you’re a newbie programmer and simply wish to work on an internet application as a studying project then a framework may also help you perceive the concepts listed above, such as URL routing, information manipulation and authentication which might be common to the vast majority of net functions.
The majority of Web frameworks are solely server-side expertise, though, with the elevated prevalence of AJAX, some Web frameworks are beginning to include AJAX code that helps developers with the particularly tough activity of programming (shopper-aspect) the person’s browser.
QP (2.2 Released 2009-08-25) a package for outlining and operating a number of Web purposes that are based on Durus for persistence, offering customary persistent Session and User lessons, easy interactive database classes, and QPY for safely assembling html.
This post on constructing a simple Python framework from scratch shows how HTTP connections, routing, and requests can work in simply 320 lines of code. Many frameworks now provide a component of customization in their help for the above actions and abstractions, using elements in that they supply abstractions only for certain specific things.