Building Django 2.0 Web Applications: Create enterprise-grade, scalable Python web applications easily with Django 2.0

Tom Aratyn

  • 出版商: Packt Publishing
  • 出版日期: 2018-04-27
  • 定價: $1,480
  • 售價: 6.0$888
  • 語言: 英文
  • 頁數: 408
  • 裝訂: Paperback
  • ISBN: 1787286215
  • ISBN-13: 9781787286214
  • 相關分類: DjangoPython程式語言JVM 語言
  • 立即出貨 (庫存=1)

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

商品描述

Go from the initial idea to a production-deployed web app using Django 2.0.

Key Features

  • A beginners guide to learning python's most popular framework, Django
  • Build fully featured web projects in Django 2.0 through examples.
  • Deploy web applications in quick and reliable fashion with Docker

Book Description

This project-based guide will give you a sound understanding of Django 2.0 through three full-featured applications. It starts off by building a basic IMDB clone and adding users who can register, vote on their favorite movies, and upload associated pictures. You will learn how to use the votes that your users have cast to build a list of the top 10 movies. This book will also take you through deploying your app into a production environment using Docker containers hosted on the server in Amazon's Electric Computing Cloud (EC2).

Next, you're going to build a Stack Overflow clone wherein registered users can ask and answer questions. You will learn how to enable a user asking a question to accept answers and mark them as useful. You will also learn how to add search functionality to help users find questions by using ElasticSearch. You'll discover ways to apply the principles of 12 factor apps while deploying Django on the most popular web server, Apache, with mod_wsgi. Lastly, you'll build a clone of MailChimp so users can send and create emails, and deploy it using AWS.

Get set to take your basic Django skills to the next level with this comprehensive guide!

What you will learn

  • Build new projects from scratch using Django 2.0
  • Provide full-text searching using ElasticSearch and Django 2.0
  • Learn Django 2.0 security best practices and how they're applied
  • Deploy a full Django 2.0 app almost anywhere with mod_wsgi
  • Deploy a full Django 2.0 app to AWS's PaaS Elastic Beanstalk
  • Deploy a full Django 2.0 app with Docker
  • Deploy a full Django 2.0 app with NGINX and uWSGI

Who This Book Is For

If you have some basic knowledge of HTML, CSS, and Python and want to build fully-featured and secure applications using Django, then this book is for you.

Table of Contents

  1. Building MyMDB
  2. Adding Users to MyMDB
  3. Posters, Headshots, & Security
  4. Caching in on the Top 10
  5. Deploying with Docker
  6. Starting Answerly
  7. Searching for Questions with Elasticsearch
  8. Testing Answerly
  9. Deploying Answerly
  10. Starting Mail Ape
  11. The Task of Sending Emails
  12. Building an API
  13. Deploying Mail Ape

商品描述(中文翻譯)

從最初的想法到使用Django 2.0部署生產網絡應用程式。

主要特點:
- 學習Python最受歡迎的框架Django的入門指南。
- 通過實例在Django 2.0中構建功能完整的網絡項目。
- 使用Docker快速可靠地部署網絡應用程式。

書籍描述:
這本以項目為基礎的指南將通過三個功能完整的應用程式,讓您對Django 2.0有一個扎實的理解。首先,通過構建一個基本的IMDB克隆,並添加可以註冊、對最喜歡的電影投票和上傳相關圖片的用戶,您將學習如何使用用戶投票來建立前10部電影的列表。本書還將指導您如何使用Docker容器將應用程式部署到Amazon的電子計算雲(EC2)上的生產環境中。

接下來,您將構建一個Stack Overflow克隆,註冊用戶可以提問和回答問題。您將學習如何使提問的用戶接受答案並將其標記為有用。您還將學習如何添加搜索功能,以幫助用戶使用ElasticSearch找到問題。您將發現在使用最受歡迎的Web服務器Apache和mod_wsgi部署Django時應用12因素應用程序原則的方法。最後,您將構建一個MailChimp克隆,用戶可以發送和創建電子郵件,並使用AWS部署它。

準備好通過這本全面指南將您的基本Django技能提升到更高水平!

您將學到什麼:
- 使用Django 2.0從頭開始構建新項目。
- 使用ElasticSearch和Django 2.0提供全文搜索。
- 學習Django 2.0的安全最佳實踐及其應用。
- 使用mod_wsgi在幾乎任何地方部署完整的Django 2.0應用程式。
- 使用AWS的PaaS Elastic Beanstalk部署完整的Django 2.0應用程式。
- 使用Docker部署完整的Django 2.0應用程式。
- 使用NGINX和uWSGI部署完整的Django 2.0應用程式。

本書適合對HTML、CSS和Python有一些基本知識,並希望使用Django構建功能完整且安全的應用程式的讀者。

目錄:
1. 構建MyMDB
2. 將用戶添加到MyMDB
3. 海報、頭像和安全性
4. 利用前10名的快取
5. 使用Docker部署
6. 開始Answerly
7. 使用Elasticsearch搜索問題
8. 測試Answerly
9. 部署Answerly
10. 開始Mail Ape
11. 發送電子郵件的任務
12. 構建API
13. 部署Mail Ape