I had been asked many time by my friends and colleagues that why i prefer Django over other frameworks.
According to me, The framework which is used for project development should be judged on multiple parameters.
- On what programming language it is based ?
- Is there proper documentation available ?
- Is there good community support ?
- Are you proficient in the programming language it is based upon.
I prefer Django for multiple reasons. First it is developed in python and i am good in working with python. Second, the framework encourages rapid development and clean, pragmatic design. I had been working on Django for more then 4 years now and i can confidently say, you can create any website with Django. Note: Though one should be good in Programming.
What is Django & why should I use it?
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
So, what is Django?
Django is a Python framework, which makes many things much easier.
The Django ORM
The ORM is an incredibly powerful database tool. It handles creation of your database, as well as insert, update, delete queries and some quite advanced querying – although it’s not perfect. It supports multiple databases – MySQL, PostgreSQL, Oracle & SQLite are all supported out-of-the-box assuming you have the relevant Python libraries installed.
Forms are not the most fun thing. While Django doesn’t make them fun, it at least does a lot for you. You define some fields and how you want the basic validation to work, and Django creates the HTML adds the error messages and cleans the data so you don’t get anything unexpected. The Django forms framework can even generate and update your database from a database model you create, make your job even easier.
The Django admin is more than just a scaffold. This thing has a wide range of customisations that can be applied and with little to no work could even be deployed as the final admin area of your website – it powers this one.
Why should you use Django?
Django isn’t PHP
For those wanting a change, Django isn’t PHP. While it doesn’t have the huge following that PHP does, it does have a very helpful community.
Django is Python
Python is a really nice, elegant & powered language … and by far my favourite.
Django makes things easier
Django makes things easier for you. It’s a complete framework with a lot available – but only if you want it. It tries not to get in the way and if there are things you don’t like you just go around. The templating language being a great example of this.
That doesn’t mean to say you need to be running a few hundred visitors a second, it’s really good for a smaller site as well, but just know as you grow, Django grows with you.
Top Sites developed with Django:
Disqus offers the best add-on tools for site owners to power discussions, increase engagement, and earn revenue.
Distributed version control system that makes it easy for you to collaborate with your team. The only collaborative Git solution that massively scales.
Instagram is an online mobile photo-sharing, video-sharing, and social networking service that enables its users to take pictures and videos, and share them either publicly or privately on the app, as well as through a variety of other social networking platforms, such as Facebook, Twitter, Tumblr, and Flickr.
The Washington Post
The Washington Post is an American daily newspaper. It is the most widely circulated newspaper published in Washington, D.C., and was founded on December 6, 1877,making it the area’s oldest extant newspaper.
The Onion is an American digital media company and news satire organization that publishes articles on international, national, and local news.
All this websites have huge traffic and to handle this much load a framework has to be scalable, and Django does an excellent job here.