Автор: Ona Prado
Издательство: Independently published
Год: 2024
Страниц: 312
Язык: английский
Формат: pdf, epub
Размер: 12.2 MB
Python is one of the most versatile high-level programming languages ever developed. Rather than having to jump into strict syntax rules, Python reads like English and is simple to understand for someone new to programming. This allows you to obtain a basic knowledge of coding practices without having to obsess over smaller details that are often important in other languages.
Django is a Python-based web framework which allows you to quickly create web application without all of the installation or dependency problems that you normally will find with other frameworks. When you’re building a website, you always need a similar set of components: a way to handle user authentication (signing up, signing in, signing out), a management panel for your website, forms, a way to upload files, etc. Django gives you ready-made components to use.
Features of Django:
• The versatility of Django: Django can build almost any type of website. It can also work with any client-side framework and can deliver content in any format such as HTML, JSON, XML, etc. Some sites which can be built using Django are wikis, social networks, new sites etc.
• Security: Since the Django framework is made for making web development easy, it has been engineered in such a way that it automatically do the right things to protect the website. For example, In the Django framework instead of putting a password in cookies, the hashed password is stored in it so that it can’t be fetched easily by hackers.
• Scalability: Django web nodes have no stored state, they scale horizontally – just fire up more of them when you need them. Being able to do this is the essence of good scalability. Instagram and Disqus are two Django based products that have millions of active users, this is taken as an example of the scalability of Django.
• Portability: All the codes of the Django framework are written in Python, which runs on many platforms. Which leads to run Django too in many platforms such as Linux, Windows and Mac OS.
Here what you'll learn after downloading this book:
- Introduction to Django and Installation
- Django Project MVT Structure
- Create a Basic Project using MVT in Django
- Create an App in Django
- Django Forms
- Create a form using Django Forms
- Render HTML Forms (GET & POST) in Django
- Django form field custom widgets
- Initial form data – Django Forms
- Django ModelForm – Create form from Models
- Render Django Form Fields Manually
- Django Formsets
- Django ModelFormSets
- Django Templates
- The Django template language
- Django Template Filters
- Django Template Tags
- Views In Django
- Django CRUD (Create, Retrieve, Update, Delete)
- Create View
- List View
- Detail View
- Update View
- Delete View
- FormView
- Django Models
- Django ORM – Inserting, Updating & Deleting Data
- Django Basic App Model
- Uploading images in Django
- Render Model in Django Admin Interface
- Django News App
- Weather app using Django
- Word Counter app using Django
- Youtube video downloader using Django
- And more…
This Book Is Perfect For:
- - Total beginners with zero programming experience
- - Returning professionals who haven’t written code in years
- - Seasoned professionals looking for a fast, simple, crash course in Python
About the Authors:
Ona Prado was received Engineering of Computer Science from the American University. He has programmed computers for 10 years. Much of his experience has related to text processing, database systems, and Natural Language processing (NLP). Currently he consults on database applications for companies in the financial and publishing industries.
Скачать Python Django For Web Development: Build Web Applications in Python Using Django Frameworks