Django 3 By Example: Build powerful and reliable Python web applications from scratch, 3/e (Paperback)

Antonio Mele

買這商品的人也買了...

商品描述

Key Features

  • Learn Django 3 by building real-world web applications from scratch in Python, using coding best practices
  • Integrate other technologies into your application with clear, step-by-step explanations and comprehensive example code
  • Implement advanced functionalities like a full-text search engine, a user activity stream, or a recommendation engine
  • Add real-time features with Django Channels and WebSockets

Book Description

If you want to learn the entire process of developing professional web applications with Python and Django, then this book is for you. In the process of building four professional Django projects, you will learn about Django 3 features, how to solve common web development problems, how to implement best practices, and how to successfully deploy your applications.

In this book, you will build a blog application, a social image bookmarking website, an online shop, and an e-learning platform. Step-by-step guidance will teach you how to integrate popular technologies, enhance your applications with AJAX, create RESTful APIs, and set up a production environment for your Django projects.

By the end of this book, you will have mastered Django 3 by building advanced web applications.

What you will learn

  • Build real-world web applications
  • Learn Django essentials, including models, views, ORM, templates, URLs, forms, and authentication
  • Implement advanced features such as custom model fields, custom template tags, cache, middleware, localization, and more
  • Create complex functionalities, such as AJAX interactions, social authentication, a full-text search engine, a payment system, a CMS, a RESTful API, and more
  • Integrate other technologies, including Redis, Celery, RabbitMQ, PostgreSQL, and Channels, into your projects
  • Deploy Django projects in production using NGINX, uWSGI, and Daphne

Who this book is for

This book is intended for developers with Python knowledge who wish to learn Django in a pragmatic way. Perhaps you are completely new to Django, or you already know a little but you want to get the most out of it. This book will help you to master the most relevant areas of the framework by building practical projects from scratch. You need to have familiarity with programming concepts in order to read this book. Some previous knowledge of HTML and JavaScript is assumed.

商品描述(中文翻譯)

主要特點


  • 使用最佳編碼實踐,通過使用Python從頭開始構建真實世界的網絡應用程序,學習Django 3

  • 通過清晰的逐步解釋和全面的示例代碼,將其他技術集成到您的應用程序中

  • 實現高級功能,如全文搜索引擎、用戶活動流或推薦引擎

  • 使用Django Channels和WebSockets添加實時功能

書籍描述

如果您想要學習使用Python和Django開發專業網絡應用程序的整個過程,那麼這本書適合您。在構建四個專業的Django項目的過程中,您將學習Django 3的功能,如何解決常見的網絡開發問題,如何實施最佳實踐以及如何成功部署應用程序。

在本書中,您將構建一個博客應用程序、一個社交圖片書籤網站、一個在線商店和一個電子學習平台。逐步指導將教您如何集成流行技術,使用AJAX增強應用程序,創建RESTful API,並為Django項目設置生產環境。

通過閱讀本書,您將通過構建高級網絡應用程序來掌握Django 3。

您將學到什麼


  • 構建真實世界的網絡應用程序

  • 學習Django的基礎知識,包括模型、視圖、ORM、模板、URL、表單和身份驗證

  • 實現高級功能,如自定義模型字段、自定義模板標籤、緩存、中間件、本地化等

  • 創建複雜功能,如AJAX交互、社交身份驗證、全文搜索引擎、支付系統、CMS、RESTful API等

  • 將Redis、Celery、RabbitMQ、PostgreSQL和Channels等其他技術集成到您的項目中

  • 使用NGINX、uWSGI和Daphne在生產環境中部署Django項目

適合閱讀對象

本書適用於具有Python知識並希望以實用的方式學習Django的開發人員。也許您對Django完全陌生,或者您已經有一些了解,但希望從中獲得最大的收益。本書將幫助您通過從頭開始構建實用項目來掌握框架的最相關領域。閱讀本書需要對編程概念有一定的熟悉。假設您具有一些HTML和JavaScript的基礎知識。

作者簡介

Antonio Melé is Chief Technology Officer (CTO) at Nucoro, a London-based fintech company that provides a leading technology platform to build digital wealth management solutions. Antonio has been developing Django projects since 2006 for clients across several industries. In 2009, he founded Zenx IT, a development company specializing in building digital products. Antonio has worked as a CTO and technology consultant for multiple technology-based start-ups and managed development teams building projects for large digital businesses. Antonio holds an MSc. in computer science from Universidad Pontificia Comillas. His father inspired his passion for computers and programming.

作者簡介(中文翻譯)

Antonio Melé 是倫敦金融科技公司 Nucoro 的首席技術官(CTO),該公司提供領先的技術平台,用於構建數字財富管理解決方案。Antonio 自 2006 年以來一直在為多個行業的客戶開發 Django 項目。2009 年,他創辦了 Zenx IT,一家專門建立數字產品的開發公司。Antonio 曾擔任多家以技術為基礎的初創公司的 CTO 和技術顧問,並管理開發團隊為大型數字業務建立項目。Antonio 擁有 Universidad Pontificia Comillas 的計算機科學碩士學位。他的父親激發了他對計算機和編程的熱情。

目錄大綱

  1. Building a Blog Application
  2. Enhancing Your Blog with Advanced Features
  3. Extending Your Blog Application
  4. Building a Social Website
  5. Sharing Content on Your Website
  6. Tracking User Actions
  7. Building an Online Shop
  8. Managing Payments and Orders
  9. Extending Your Shop
  10. Building an E-Learning Platform
  11. Rendering and Caching Content
  12. Building an API
  13. Building a Chat Server
  14. Going Live

目錄大綱(中文翻譯)

- 建立一個部落格應用程式
- 進階功能增強您的部落格
- 擴展您的部落格應用程式
- 建立一個社交網站
- 在您的網站上分享內容
- 追蹤使用者行為
- 建立一個線上商店
- 管理付款和訂單
- 擴展您的商店
- 建立一個電子學習平台
- 渲染和快取內容
- 建立一個 API
- 建立一個聊天伺服器
- 上線