Skip to main content

About Django And Other Web Frameworks

Developing a web application with Python without using a web framework is like developing any program without using the standard library. Since Python is a multipurpose language, you do not have any modules specifically aimed at developing web applications in the standard library. You will then have to rely on some of these packages, the most popular being the following (in no particular order):

  • Django
  • web2py
  • Flask
  • Pyramid
  • FastAPI

These packages and other frameworks provide solutions for recurring problems and requirements in the world of web development: user authentication, caching, template systems; facilities for accessing databases and cookies; sending emails; form generation and handling; vulnerability prevention; among others. The reason why there are different tools to solve the same problems is that each of them supports a different development philosophy. Flask, for example, emphasizes simplicity. web2py lets you protoype and write web applications incredibly fast. Pyramid is extremely extensible and configurable.

Django is one of the oldest Python web frameworks. Therefore, it is not surprising that it is also one of the ones that provides the most features. Mastering a tool like this is not achieved in a matter of days or months. In this course you will understand the general logic of Django applications and give an introduction to some of its features. By “general logic” we mean how Django applications are structured. You will see that, at first, the process of creating an application and remembering what role each component plays can be somewhat cumbersome. However, the fact that Django applications have a structure to follow we believe is a positive thing. How to organize code and different components of an application is one of the most difficult problems to face in the world of software programming. Thus, that the creators of Django have already thought about this, letting you focus on your business logic, will save yourself a lot of time and headaches.