DJANGO:
Django is a high-level python framework which is used to develop web applications
rapidly.
It is a free and open-source framework.
It was started by Adrian Holovaty and Simon Willison as an internal project at the
Lawrence Journal-World newspaper in 2003.
FEATURES/ADVANTAGES OF DJANGO:
I. Design pattern:
Django follows MVT design pattern.
M Models
V Views
T Templates
CLIENT SERVER DATABASE
PYTHON
HTML JAVA
CSS C SQL
JS C#
PHP
TEMPLATES VIEWS MODELS
APPLICATION
Models are used to communicate with the database.
Views are used to write business logic.
Templates are used to store all the HTML pages.
II. DTL (Django Template language)/ Jinja2 tags:
In order to write JS in HTML, we need to use script tag, In the same way, DTL is
used to write python code in HTML pages.
III. ORM (Object Relational Mapping):
ORM is used to communicate with the database or to perform CRUD operations
on database.
ORM has pre-defined classes and methods to perform operations on database.
Without writing complex SQL Queries, Communication with the database is
easier with the help of ORM,
IV. Admin Interface:
A pre-defined admin interface is present in Django which makes it easier to build
the application rapidly.
V. Secure & Scalable:
Django has some in-built middleware because of which it provides security to the
data.
Django has the capability to handle huge data traffic. Data traffic occurs when
more users are requesting the server at the same time.
VI. DRY (Don’t Repeat Yourself):
Django follows Don’t repeat yourself philosophy, Already the code is written in
the framework which can be used to develop the application instead of writing the
code again.