Название: Django for Beginners, 5th Edition: Build Modern Web Applications with Python Автор: William S. Vincent Издательство: Still River Press Год: January 12, 2025 Страниц: 202 Язык: английский Формат: epub Размер: 12.7 MB
Build six real-world Django websites from scratch with authentication, content management systems, tests, permissions, and production-ready deployment.
Django for Beginners is the fifth edition of the leading guide to building real-world web applications with Python. It takes a practical approach, introducing concepts through six projects designed to simulate real-world scenarios. From a Hello World website to a message board application, a blogging platform, and a newspaper CRM, you'll learn about Django's architecture and how to add new functionality step-by-step. Coverage includes best practices, enhanced testing, and a detailed deployment guide to ensure you're ready for real-world web development challenges.
Django bills itself as “the web framework for perfectionists with deadlines,” an ode to its origins as a newspaper content management system (CMS) and its overriding approach of balancing features with practicality. From the beginning, Django was created for real-world developers who wanted a fast, elegant, and powerful way to build websites. It is hard to appreciate, almost twenty years after its first release, just how different the World Wide Web landscape is from back then.
Django’s abundance of features can feel overwhelming to newcomers. It doesn’t help that the official polls tutorial and the official documentation are targeted at intermediate-to-advanced level web developers, not beginners. The good news is that, as a “loosely coupled” framework, Django’s components work independently or together, allowing for a high degree of modularity. In other words, you only have to use (and learn) what you need. Even professional developers with years of experience will only utilize some of what the framework offers; it’s simply too big and too expansive for all its features to fit into a single project.
This book started as my personal notes on building Django projects. It took a long time before I had internalized and felt comfortable with Django’s structure. The best way to solidify my understanding was to create progressively more complex projects focused on a new concept or skill. Eventually, I published my notes as a series of blog posts and, based on their popularity, created this book, now in its fifth edition.
Django was initially created in the fall of 2003 at the Lawrence Journal-World newspaper and named after the famous jazz guitarist Django Reinhardt; it was released as a free, open-source project in July 2005. That makes it almost twenty years old now, quite mature in software terms, but it has continued to thrive and is arguably more vibrant today than ever before. Each week, double-digit new code submissions are accepted into the framework, monthly security and bugfix releases, and a major new release every eight months. A vast ecosystem of third-party packages provides additional functionality beyond the core framework.
Django is written in the wonderfully readable yet powerful Python programming language, arguably the most popular language in the world today. Python is the default choice in most undergraduate Computer Science curriculums, the dominant language for Data Science and Artificial Intelligence, and widely used in scientific research.
Key Features:
Updated for Django 5 and Python 3.12 Master Django fundamentals, including models, ORM, views, templates, URLs, settings, forms, and authentication Deploy your website into production and toggle between local and production environments seamlessly Write robust tests and utilize environment variables for enhanced security Implement custom authentication: signup, login, logout, password change, and password reset Integrate powerful third-party Django packages to improve key functionality
New to this edition: This fifth edition is completely revised to reflect the latest Django release and current best practices. New and updated coverage includes function and class-based views, a Company Website project to cover templates and template contexts in depth, an updated deployment guide, and the latest versions of all third-party Django packages.
About the Author: William Vincent is a former Django Software Foundation Board Member and the author of three books on Django. He hosts the Django Chat podcast, writes the weekly Django News newsletter, and is a regular conference speaker at DjangoCon events. He previously worked at multiple early-stage startups, including Quizlet, and taught Computer Science at Williams College.
"The perfect introduction to the Django web framework." - Carlton Gibson, Django Fellow and Django REST Framework co-maintainer
"My go-to recommendation whenever anyone asks how to learn Django. If you are looking for one book to master Django, this is it!" - Anna Makarudze, Django Software Foundation President
Скачать Django for Beginners, 5th Edition
|