Ultimate Django for Web App Development Using Python: Build Modern, Reliable and Scalable Production-Grade Web ApplicationsКНИГИ » ПРОГРАММИНГ
Название: Ultimate Django for Web App Development Using Python: Build Modern, Reliable and Scalable Production-Grade Web Applications with Django and Python Автор: Leonardo Luis Lazzaro Издательство: Orange Education Pvt Ltd, AVA Год: 2024 Страниц: 347 Язык: английский Формат: pdf, epub (true) Размер: 10.1 MB
Craft Scalable and Dynamic Web Apps using Django and Python.
This comprehensive guide is an indispensable resource for developers seeking to elevate their web development skills in Django and Python. The book begins by establishing a strong foundation and understanding of Django's architecture, emphasizing the Model-View-Template (MVT) pattern and a pivotal service layer for creating scalable web applications. The book then progresses to practical aspects, guiding readers through the development of a Task Management App. This hands-on approach reinforces fundamental concepts and showcases Django's flexibility and efficiency in real-world scenarios.
The advanced sections of the book will help you tackle complex challenges, covering topics like preventing double-form submissions, implementing offline pessimistic and optimistic locking techniques, mastering API development with Django Ninja, and ensuring application reliability through exhaustive testing with pytest. The book culminates in practical insights for deploying Django applications with Docker and Kubernetes, this guide equips you to tackle real-world challenges effectively.
Who this book is for: Beginners will find comprehensive coverage of foundational topics, while more experienced programmers will delve into advanced subjects, such as preventing double-form submissions and implementing offline pessimistic and optimistic locking techniques.
This book guides readers through building a comprehensive web application using Django and Python. Each chapter builds upon the last, from setting up a development environment to deploying a fully functional application running in a Kubernetes cluster.
Chapter 1: Introduction to Django and Python This chapter introduces Python and the Django framework, detailing Django's philosophy, the latest features in Django 4.2, and the compatibility of Python's syntax and semantics with Django.
Chapter 2: Setting Up Your Development Environment This chapter guides you through establishing a reliable development environment, including Python installation, version management with pyenv, and creating isolated environments with poetry, equipping you for efficient Django development.
Chapter 3: Getting Started with Django Projects and Apps This chapter introduces you to the initial steps of starting Django projects and apps. You'll learn about the Django project structure, the role of each component, Django's MVT architecture, configuring Django projects, and a brief introduction to Django's development server. ... Chapter 10: Testing with pytest This chapter introduces pytest, guiding you through writing practical tests for Django apps. It covers testing views and forms, ensuring code reliability and maintainability.
Chapter 11: Deploying Django Applications with Gunicorn and Docker This chapter discusses deploying Django applications using Gunicorn and Docker. It includes insights into creating Dockerfiles, configuring Kubernetes clusters, and adding liveness and readiness probes for application scaling.
Chapter 12: Final Thoughts and Future Directions This concluding chapter reflects on building a Django task management app and looks ahead at Django's future. It discusses the Django ecosystem, additional tools, and staying updated with the community.
Скачать Ultimate Django for Web App Development Using Python: Build Modern, Reliable and Scalable Production-Grade Web Applications