Ian Lewis 7/28/2008

Django Views

Read Original

The article presents a technical comparison between Django's function-based views and the class-based request handler pattern used in frameworks like Pylons and Google App Engine's webapp. The author analyzes code structure, verbosity, and the handling of different HTTP methods (GET/POST), expressing a personal preference for the class-based controller approach over Django's conditional checks within a single function.

Django Views

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes