Introduction to Django
Django (/ˈdʒæŋɡoʊ/ jang-goh) is a high-level Python Web Framework which is absolutely free and open source. Django encourages rapid development, clean and pragmatic design, it also emphasis on the principle of don’t repeat yourself, and reusability of code.
Making your own website is an ambitious goal nowadays and one should choose a framework which is more robust, less time-consuming, secure website and Django serves the programmer to produce robust, secure and bug-free code quickly.
What is Django? Django is extremely powerful, popular and fully featured server side web framework which is written on top of the Python Language. Django follows Model-Template-View(MVT) architectural pattern. Django is maintained by Django Software Foundation(DSF) which is independent foundation established as a 501(c)(3) non-profit.
Why Django? Python comes with other great libraries for numerous fields such as Machine Learning, Web Scrapping, Data Mining etc, that can use with your Django Project. You can use Django as an interface to show up your work in a cool way. The Top 5 reason that you should choose Django as your server side web framework.
1. Ridiculously fast.
Django was designed to help developers take applications from concept to completion as quickly as possible.
2. Fully loaded.
Django includes dozens of extras you can use to handle common Web development tasks. Django takes care of user authentication, content administration, site maps, RSS feeds, and many more tasks — right out of the box.
3. Reassuringly secure.
Django takes security seriously and helps developers avoid many common security mistakes, such as SQL injection, cross-site scripting, cross-site request forgery (CSRF) and clickjacking. Its user authentication system provides a secure way to manage user accounts and passwords.
4. Exceedingly scalable.
Some of the busiest sites on the planet use Django’s ability to quickly and flexibly scale to meet the heaviest traffic demands.
5. Incredibly versatile.
Companies, organizations, and governments have used Django to build all sorts of things — from content management systems to social networks to scientific computing platforms.
Source: Django Documentation
History of Django
Django was born in the fall of 2003, when the web programmers at the Lawrence Journal-World newspaper, Adrian Holovaty and Simon Willison, began using Python to build applications. It was released publicly under a BSD License in July 2005. From the day after release, there is a rapid development of the framework being done by the community of Django. The framework was named after guitarist Django Reinhardt.
Requirement of Programming knowledge As discussed above, To develop the Django-powered site, you have to write python code, so you should need some basic knowledge of Python Language. The knowledge about variables, data structures(list, tuple, dictionaries), if-else, for-while loops, functions, class, exception handling etc. Also, basic knowledge of some of the python modules/packages such as os(operating system), re(regular expression), etc will be helpful. The basic knowledge of web development is you may except, very helpful.
Also as far as the database is concerned, you should have some basic touch up knowledge about Database management concept such as about tables, primary key, foreign key, fields etc. Though it is not prior, but it will increase the grasp over the things actually work in Django.
Top Ten sites made with Django There are almost 150k (increasing rapidly) total websites running. The number of Django-powered sites is increasing day by day. The top 10 sites which you are familiar with are listed below
Probably the best website to motivate that Django is cool and awesome. Disqus is world’s most popular blog comment hosting service. It is easy to setup and integrates to any of the websites and mostly used in content management system(CMS) like WordPress, Drupal, Joomla, Django CMS etc. You can see the live example which is used by our website.
This is another most popular website you might be familiar of. Pinterest is a world’s catalog of ideas where you can pin your ideas, cool articles and much more.
The trend of GIF(Graphics Interchange Format) in social networking starts from this Giphy. The world’s most popular search engine for shared animated GIF files.
The world most popular internet based photo share application is made with Django isn’t sound awesome. The most beloved and attracting thing for the today’s young people for sharing their stories with their photos and videos.
5. NASA Science
After so much social sites and visual content. It may be not much as popular as above sites, but gets huge amounts of hits per day. Even NASA thinks Django is a great platform to build a website.
This is just another site which is a web-based hosting service just like Github. Though Github is built with Ruby on Rails, but it is not alone web based GIT service. Bitbucket has traditionally tailored itself towards helping professional developers with private proprietary code. BitBuket is another remarkable site made with Django.
7. The Washington Times
The most popular and influential online newspaper in the World. It is American daily online newspaper that is read by millions of people at a time is made with Django. A website with a huge amount traffic and data handling performed by Django.
8. The Onion
The Onion is an American digital media company and news satire organization that publishes articles on the international, national, and local news.The Django-powered site with over 7 million monthly page views and with a global rank under 5k. Isn’t great?
9. Mozilla Support
One of the best Open source web browser in the market. The open source community rely on the power the support website of Mozilla on Django.
HackerEarth is startup technology company of India. The proudly Django site dedicated for Programmers/Developers who solves the programming or algorithmic problem to enhance their programming skills, and get hired from the companies. HackerEartch conducts various types of Hackathons, company hiring challenges. Many developers from India solves the problem and submit their code. The thousands of codes and huge traffic at a time that has to be scalable and Django plays an excellent job.
comments powered by Disqus