Meet Django
Adrian Holovaty, Simon Willison
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design, developed by Adrian Holovaty, Simon Wilison, released in July 2005, its follows the model-template-view (MTV) architectural pattern, maintained by the Django Software Foundation(DSF) it takes care of much of the ‘dirty work’ involve in Web development, allowing you focus on develop your app without needing to reinvent the wheel, including a lightwight server which is used at development level . It’s awesomely easy to learn, easy to use and it’s free and open source, also takes security seriously and helps developers avoid many common security mistakes, and also scalable.
Django powers most of the popular, most visited Website such as Instagram, YouTube, Discuss, Spotify, DropBox, Mozilla and Pinterest, even Facebook uses Django for some of its behind-the-scenes utilities. Django also supports publishing, which is why it’s no surprise that sites like The Washington Post and Smithsonian Magazine are developed with Django.”
Why Django:
Django was designed to help developers take applications from idea to completion as quick and easy as possible.
Django has “right spices, ingredient for every project”
Right spices, ingredient I mean comes with all the libraries tools such as Django ORM, Middlewares, Authentication, HTTP libraries, Multi-site support, i18n, Django Admin, template engine etc which are required to make your development job easier, faster and more convenient,
Django Framework is built with Python:
Python is one of the most popular and growing languages in the world, easy to learn, developing with python allow you use libraries built in other languages such as Java, C/C++, programming in python is 2-5 times faster than programming in other languages.
DRY Principle (Don’t Repeat Yourself)
I’ve read and seen many frameworks boast about being “DRY” compliant, I’ve work some and read about others but none got it like django.
two command Line statements mode and Database migration
Oh yes you I’m not kidding, with just two simple statement you can create database migration and update your database
The validations and constraints are automatically checked on each CRUD operation — be it in Django Admin or Django REST Framework. You don’t need to write validations ever again.
oh I see you smiling now,
finally django is Open Source, it’s also Well Documented, has Huge Community
Django’s comprehensive official documentation is more than enough for anyone interested in using django be you a novice, intermediate or an advance developer, You can easily find solutions if you get stuck. also, Stack Overflow oh yea that platform is flooded with questions & answers related to Django, so whenever you feel you’re stuck on a project, you answers are just one click away
When Not to Use Django
So I discussed most of what you need to know about django so lets get started:
we'll be engaged in developing a full fleshed blog, that allow users to download music, videos, read news drop their comments in the comment section and share any post of their choice, so chill grab your favorite drink and snacks and lets get started
Requirements: Laptop, Python, 3.6 and above, pip, and django2.0 and above
N:B when I use the word ls to the window operating system users its the same as dir
Steps on installing django:
congrats you have successful installed django on your system, now lets get started with our project.
Next on our series We will start our blog project
Comments
fagorola5
Sun, 01/19/2020 - 15:24
Permalink
Wow