Django 2 Web Development Cookbook: 100 practical recipes on building scalable Python web apps with Django 2, 3rd Edition
Jake Kronika, Aidas Bendoraitis
- 出版商: Packt Publishing
- 出版日期: 2018-10-31
- 售價: $1,970
- 貴賓價: 9.5 折 $1,872
- 語言: 英文
- 頁數: 544
- 裝訂: Paperback
- ISBN: 1788837681
- ISBN-13: 9781788837682
-
相關分類:
Django、Python、程式語言、JVM 語言
-
其他版本:
Django Web Development Cookbook, 4/e (Paperback)
相關主題
商品描述
Create unbelievably fast, robust and secure web apps with Django Web Framework and Python 3.8
Key Features
- Discover solutions to a variety of web application scenarios, leveraging the power of the Django framework
- Understand URL routing, models, forms, templates, and RESTful services with Django 2.14
- Test, deploy, and scale your web applications efficiently with Amazon Web Services
Book Description
Django is a framework designed to balance rapid web development with high performance. It handles high levels of user traffic and interaction, integrates with a variety of databases, and collects and processes data in real time. This book follows a task-based approach to guide you through developing with the Django 2.1 framework, starting with setting up and configuring Docker containers and a virtual environment for your project.
You'll learn how to write reusable pieces of code for your models and manage database changes. You'll work with forms and views to enter and list data, applying practical examples using templates and JavaScript together for the optimum user experience. This cookbook helps you to adjust the built-in Django administration to fit your needs and sharpen security and performance to make your web applications as robust, scalable, and dependable as possible. You'll also explore integration with Django CMS, the popular content management suite.
In the final chapters, you'll learn programming and debugging tricks and discover how collecting data from different sources and providing it to others in various formats can be a breeze. By the end of the book, you'll learn how to test and deploy projects to a remote dedicated server and scale your application to meet user demands.
What you will learn
- Get started with the basic configuration necessary to start any Django project
- Build a database structure out of reusable model mixins
- Secure web applications against malicious usage and address common performance bottlenecks
- Integrate with, and extend, the Django CMS
- Construct and manage complex and deep hierarchies
- Import data from local sources and external web services and export it to third parties
Who this book is for
This book is designed for Python developers working on fast and secure web apps that can scale over time. You'll also find this book useful if you want to upgrade to latest Django framework. A background in Python 3 along with basic knowledge of the Django framework will be useful.
Table of Contents
- Getting Started with Django 2.1
- Database Structure and Modeling
- Forms and Views
- Templates and JavaScript
- Custom Template Filters and Tags
- Model Administration
- Security and Performance
- Django CMS
- Hierarchical Structures
- Importing and Exporting Data
- Bells and Whistles
- Testing and Deployment