Django 2 Web Development Cookbook: 100 practical recipes on building scalable Python web apps with Django 2, 3rd Edition, Edition 3

· Packt Publishing Ltd
Ebook
544
Pages

About this ebook

Create unbelievably fast, robust and secure web apps with Django Web Framework and Python 3.6Key FeaturesDiscover solutions to a variety of web application scenarios, leveraging the power of the Django frameworkUnderstand URL routing, models, forms, templates, and RESTful services with Django 2.14Test, deploy, and scale your web applications efficiently with Amazon Web ServicesBook 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 learnGet started with the basic configuration necessary to start any Django projectBuild a database structure out of reusable model mixinsSecure web applications against malicious usage and address common performance bottlenecksIntegrate with, and extend, the Django CMSConstruct and manage complex and deep hierarchiesImport data from local sources and external web services and export it to third partiesWho 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.

About the author

Jake Kronika, a senior software engineer with nearly 25 years' experience, has been working with Python since 2005, and Django since 2007. Evolving alongside the web development space, his skillset encompasses HTML5, CSS3, and ECMAScript 6 on the frontend, plus Python, Django, Ruby on Rails, Node.js, and much more besides on the server side. Currently a senior software engineer and development team lead, he collaborates with skilled designers, business stakeholders, and developers around the world to architect robust web applications. In his spare time, he also provides full-spectrum web services as sole proprietor of Gridline Design and Development. Prior to this book, he has acted as a technical reviewer for several other Packt titles. Aidas Bendoraitis has been professionally working with web technologies for over a decade. Over the last 10 years at a Berlin-based company, studio 38 pure communication GmbH, together with a creative team, he has developed a number of small and large-scale Django projects, mostly in the cultural area. At the moment he is also working as software architect at a London-based mobile startup, Hype. Aidas regularly attends the meetups of the Django User Group in Berlin, occasionally visits Django and Python conferences, and writes a blog about Django.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.