History of Web Development and django


Before we get started with django, let us undrstand little bit history about Web Development.

In the early days, Web developers wrote every page by hand. yes, every html was created separately with specific content.

As Web sites became larger, creating each webpage manually became tedious, time-consuming, and ultimately untenable. This problem was solved at NCSA solved this problem by letting the Web server spawn external programs that could generate HTML dynamically. The protocol is calld as Common Gateway Interface, or CGI. This was the major change in the way websites were developed

CGI was not the final solution, it had its own issues: CGI contained a lot of repetitive code, it made code reuse difficult. Rasmus Lerdorf wrote several Common Gateway Interface (CGI) programs in C, extended CGI to work with forms and database and he called it Personal Home Page/Forms Interpreter or PHP/FI. PHP fixed many of the problems of CGI.

However, PHP did not addressed all aspects and it had its own issues; its very ease of use encourages sloppy, repetitive, ill-conceived code. PHP has many security vulnerabilities.

These issues led directly to the development of the current crop of "third-generation" Web-development frameworks. e.g. django and Ruby on Rails etc

History of Django

Django was developed by a Web-development team in Lawrence, Kansas, USA. It was created in 2003, when the Web programmers at the Lawrence Journal-World newspaper, Adrian Holovaty and Simon Willison, began using Python to build applications.

Django was officially released in July 2005 and it was named Django, after the jazz guitarist Django Reinhardt.

Two of the original World Online developers (the "Benevolent Dictators for Life," Adrian and Jacob) still provide central guidance for the framework's growth, but it's much more of a collaborative team effort.

Features

  • It provides high-level abstractions of common Web development patterns,
  • shortcuts for frequent programming tasks, and
  • clear conventions for how to solve problems.
  • Highly scalable
  • Highly secure
  • Excelent documentation
  • Allows you work outside the scope of the framework as needed.

Installation

  1. you'll need to download and install Python. It's fast and easy, and detailed instructions are available at http://www.python.org/download/.
  2. pip3 install django
  3. Check django installed version
>>> import django
>>> django.VERSION
(3, 2, 12, 'final', 0)

post by Pravin


Comments