Django is a high-level Python Web framework that encourages rapid development and clean, realistic design. It handles the complex operations of Web development and let’s you focus on developing and writing your application.It is as quoted “for perfectionists who need to meet deadlines”.
But what is a web framework?A web framework is software that supports the development of dynamic websites,web services,we applications etc.
So why you would use a web framework.You can write a web application directly in Python(Django’s base language).To develop a web application you need the following ingredients:
- Web Server Gateway Interface(WSGI) : A standard interface between web servers and Python web applications or frameworks, for promoting the portability of web applications between web servers.
- Routing: We need to direct the incoming requests(HTTP requests) to the right source can handle the request.For example if we are requesting to access www.123.com it needs to directed to the python code that s programmed to handle them.
- SQL interface: Any web applcaton requires a backend database and hence we need an interface to that database.
- Template: To create dynamic webpages we need templates to populate HTML pages with the data from the Python handlers(Functions).
So,Django is basically a collection of all the above libraries.
As with any practical language Django is based on MVC architecture.It provides models or rather an abstraction layers that help you wth manipulatng and structuring your data.The view layer deals with presenting the responses that generated by handling requests by users.And finally the template layers provides for easy implementation to render the informaton to the user.
Django also provides a rich set of security features that are undeniable in any web framework or application.So get started with Django!
Click here for government certification in Web Development
8 Comments. Leave new
Informative
Very captivating and informative
Good work! 🙂
Quite informative and interesting 🙂
Informative and nice..
good job
reallly informative
Great Job