Django Introduction

What is Django

Django is Python based web framework which allow you to create web application without all of the installation or dependency problems that you normally will find with other framework.

It is based on MVT (Model View Template) design pattern. The Django is very demanding due to its rapid development feature. It takes less time to build application after collecting client requirement.

Django was design and developed by Lawrence journal world in 2003 and publicly released under BSD license in July 2005. Currently, DSF (Django Software Foundation) maintains its development and release cycle.

Why use Django

  1. It’s very easy to switch database in Django framework.
  2. It has built in admin interface which makes easy to work with it.
  3. Django is fully functional framework that requires nothing else.
  4. It has thousands of additional packages available.
  5. It is very scalable.

Django Usage:

Django is widely accepted and used by various well-known sites such as:

  • Instagram
  • Mozilla
  • Disqus
  • Pinterest
  • Bitbucket
  • The Washington Times

Advantages and Disadvantages of Django:

Advantages

  • Its really faster than other frameworks like Flask.
  • Its easy to scale larger apps with Django.
  • Django provides a ORM which helps in creating complex queries in a smarter approach.
  • Its the era of API’s with Django REST API you can create some great API’s.
  • Django provides a lightweight admin panel which helps you to track the website activities in an appropriate manner. However you can extend it easily to suit your needs.
  • Django supports many popular databases so you will never have to worry about database compatibility.
  • Django provides a great security mechanism to prevent your site from hackers.
  • Django provides a powerful CLI which comes handy in many situations.
  • There’s a huge list of libraries available for Django.
  • Django has a huge community so you will always get a support from other developers.
  • Finally, Django has a well organized project structure and follows DRY(Don’t Repeat Yourself) rule.

Disadvantages

  • The routing system of Django is little bit tricky.
  • Django uses ORM which takes time to convert the ORM into a SQL query.
  • Django uses template engine which takes some time to render into plain HTML.
  • Django is not much beginner friendly.
  • Django is slower than other competitive frameworks like Express js.

Leave a comment