Django Project Blueprints

Asad Jibran Ahmed

  • 出版商: Packt Publishing
  • 出版日期: 2016-05-31
  • 售價: $1,700
  • 貴賓價: 9.5$1,615
  • 語言: 英文
  • 頁數: 264
  • 裝訂: Paperback
  • ISBN: 1783985429
  • ISBN-13: 9781783985425
  • 相關分類: Django
  • 海外代購書籍(需單獨結帳)

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

商品描述

Key Features

  • Build six exciting projects and use them as a blueprint for your own work
  • Extend Django's built-in models and forms to add common functionalities into your project, without reinventing the wheel
  • Gain insights into the inner workings of Django to better leverage it

Book Description

Django is a high-level web framework that eases the creation of complex, database-driven websites. It emphasizes on the reusability and pluggability of components, rapid development, and the principle of don't repeat yourself. It lets you build high-performing, elegant web applications quickly.

There are several Django tutorials available online, which take as many shortcuts as possible, but leave you wondering how you can adapt them to your own needs. This guide takes the opposite approach by demonstrating how to work around common problems and client requests, without skipping the important details. If you have built a few Django projects and are on the lookout for a guide to get you past the basics and get you solving modern development tasks, this is your book.

Six unique projects will take you through the development process from scratch, leaving no stone unturned. In the first two projects, you will learn everything from adding ranking and voting capabilities to your App to building geospatial queries and APIs. In the third project, we will build an e-commerce platform, complete with a payment processor, basic cart, checkout features, and more! Next, we will get into caching data asynchronously and create a real-time app capable of consuming live updates.

When you're done, you'll have consistent patterns and techniques that you can build on for many projects to come.

What you will learn

  • Share code between a client-facing application and Django's admin
  • Combine client and server-side code for enhanced functionality
  • Geo-enable your models to provide common functionality based on geography
  • Add a REST API to your models to allow other applications to interact with your code
  • Future-proof your code with unit and functional tests
  • Add e-commerce capabilities to your site, build a shopping cart, and issue refunds
  • Process information asynchronously using Web Sockets to provide a real-time user interface

About the Author

Asad Jibran Ahmed is an experienced programmer who has worked mostly with Django-based web applications for the past 5 years. Based in Dubai, UAE, he has worked with some of the biggest web properties in the region, including Dubizzle, the number one classifieds platform in UAE; Nabbesh, one of the top freelancing platforms in the MENA region; and Just Property, a hot and rising name in the property portal space of the region.

His experience with such big names has given him a keen insight into how to design performant, stable, and user friendly web applications, all the while using programming practices that make sure that the code base is maintainable for years.

Table of Contents

  1. Blueblog – a Blogging Platform
  2. Discuss – a Hacker News Clone
  3. Djagios – a Nagios Clone in Django
  4. A Car Rental App
  5. Multilingual Movie Database
  6. Daintree – an E-commerce Site
  7. Form Mason – a Monkey of your own
  8. Development Environment Setup Details and Debugging Techniques

商品描述(中文翻譯)

主要特點


  • 建立六個令人興奮的專案,並將其作為您自己工作的藍本

  • 擴展Django的內建模型和表單,以在專案中添加常見功能,避免重複造輪子

  • 深入了解Django的內部運作,以更好地利用它

書籍描述

Django是一個高級網頁框架,可以輕鬆創建複雜的、基於數據庫的網站。它強調組件的可重用性和可插拔性、快速開發以及不重複自己的原則。它讓您能夠快速建立高性能、優雅的網絡應用程序。

網上有很多Django教程,它們盡可能地簡化,但卻讓您想知道如何將它們適應自己的需求。本指南則採取相反的方法,演示如何解決常見問題和客戶需求,同時不忽略重要細節。如果您已經建立了幾個Django專案,並且正在尋找一本指南,以幫助您超越基礎知識,解決現代開發任務,那麼這本書就是您的選擇。

六個獨特的專案將帶您從頭開始進行開發過程,不遺餘力。在前兩個專案中,您將學習從為應用程序添加排名和投票功能到構建地理空間查詢和API的所有內容。在第三個專案中,我們將構建一個電子商務平台,包括支付處理器、基本購物車、結帳功能等等!接下來,我們將異步緩存數據並創建一個能夠接收實時更新的實時應用程序。

完成後,您將擁有一致的模式和技術,可供未來的許多專案使用。

您將學到什麼


  • 在面向客戶的應用程序和Django管理界面之間共享代碼

  • 結合客戶端和服務器端代碼,增強功能

  • 使您的模型具有地理功能,提供基於地理的常見功能

  • 為您的模型添加REST API,允許其他應用程序與您的代碼交互

  • 通過單元測試和功能測試使您的代碼具有未來可擴展性

  • 為您的網站添加電子商務功能,構建購物車並退款

  • 使用Web Sockets異步處理信息,提供實時用戶界面

關於作者

Asad Jibran Ahmed是一位有豐富經驗的程序員,過去5年主要從事基於Django的網絡應用程序開發。他位於阿聯酋杜拜,在該地區的一些頂級網絡項目中工作,包括阿聯酋頭號分類廣告平台Dubizzle、中東和北非地區頂級自由職業平台Nabbesh,以及該地區房地產門戶網站Just Property。

他在這些知名項目中的經驗使他對如何設計高性能、穩定且用戶友好的網絡應用程序有深入的見解,同時使用的編程實踐確保代碼庫在多年後仍然可維護。

目錄


  1. Blueblog - 博客平台

  2. Discuss - Hacker News的克隆版

  3. Djagios - Django中的Nagios克隆版

  4. 汽車租賃應用程序

  5. 多語言電影數據庫

  6. Daintree - 電子商務網站

  7. Form Mason - 您自己的猴子

  8. 開發環境設置詳細信息和調試技巧