Liknande böcker
Django 2 web development cookbook : 100 practical recipes on building scalable Python web apps with Django 2 / Jake Kronika, Aidas Bendoraitis
Bok av Jake Kronika
Create unbelievably fast, robust and secure web apps with Django Web Framework and Python 3.6 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 DescriptionDjango 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 forThis 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.