Learning Django 5: Program web apps with complete django capabilities, ORM, Template, MongoDB and Docker containerization
Stein, Clara
相關主題
商品描述
Beginning with a thorough introduction to Django 5, you'll learn how to install and configure Django on a Linux server, set up virtual environments, and create your first Django project, BookTech. The book walks you through the fundamentals of Django models and ORM, teaching you how to define models, perform database migrations, and interact with the ORM to optimize data querying. You will learn about Django views, including function-based and class-based views, URL mapping, and form handling.
Advanced topics are thoroughly covered, including user authentication, permission management, and extending the default user model. You'll also learn how to use essential features like site maps, RSS feeds, and SEO optimization to boost your app's visibility and user engagement. The book then goes over deployment and scaling, teaching you how to containerize your application with Docker, deploy to cloud platforms like AWS, and set up continuous integration and deployment pipelines in Jenkins. You will learn how to maintain and monitor your application with tools such as Amazon CloudWatch, New Relic, and Sentry, ensuring that it runs smoothly in production.
- Up and Running with Django 5Django Models and ORMViews and URL RoutingTemplates and Django's Template LanguageForms and ValidationUser Authentication and AuthorizationAdvanced Django CapabilitiesWorking with MongoDBSite Maps, RSS Feeds, and SEODeployment and Scaling
商品描述(中文翻譯)
從全面介紹 Django 5 開始,您將學習如何在 Linux 伺服器上安裝和配置 Django、設置虛擬環境,並創建您的第一個 Django 專案,BookTech。本書將引導您了解Django 模型和 ORM 的基本概念,教您如何定義模型、執行資料庫遷移,並與 ORM 互動以優化資料查詢。您將學習Django 視圖,包括基於函數和基於類的視圖、URL 映射和表單處理。
進階主題也將被徹底涵蓋,包括使用者身份驗證、權限管理和擴展預設使用者模型。您還將學習如何使用基本功能,如網站地圖、RSS 提要和 SEO 優化來提升應用程式的可見性和用戶參與度。接著,本書將介紹部署和擴展,教您如何使用 Docker 將應用程式容器化,部署到 AWS 等雲端平台,並在 Jenkins 中設置持續集成和部署管道。您將學習如何使用 Amazon CloudWatch、New Relic 和 Sentry 等工具來維護和監控您的應用程式,確保其在生產環境中順利運行。
目錄
1. 開始使用 Django 5
2. Django 模型和 ORM
3. 視圖和 URL 路由
4. 模板和 Django 的模板語言
5. 表單和驗證
6. 使用者身份驗證和授權
7. 進階 Django 功能
8. 與 MongoDB 一起工作
9. 網站地圖、RSS 提要和 SEO
10. 部署和擴展