Django Project Blueprints
暫譯: Django 專案藍圖
Asad Jibran Ahmed
- 出版商: Packt Publishing
- 出版日期: 2016-05-31
- 售價: $1,840
- 貴賓價: 9.5 折 $1,748
- 語言: 英文
- 頁數: 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
- Blueblog – a Blogging Platform
- Discuss – a Hacker News Clone
- Djagios – a Nagios Clone in Django
- A Car Rental App
- Multilingual Movie Database
- Daintree – an E-commerce Site
- Form Mason – a Monkey of your own
- Development Environment Setup Details and Debugging Techniques
商品描述(中文翻譯)
關鍵特點
- 建立六個令人興奮的專案,並將其作為您自己工作的藍圖
- 擴展 Django 的內建模型和表單,將常見功能添加到您的專案中,而無需重新發明輪子
- 獲得對 Django 內部運作的深入了解,以便更好地利用它
書籍描述
Django 是一個高階的網頁框架,簡化了複雜的資料庫驅動網站的創建。它強調組件的可重用性和可插拔性、快速開發以及「不要重複自己」的原則。它讓您能夠快速構建高效能、優雅的網頁應用程式。
網上有許多 Django 教學,這些教學盡可能地走捷徑,但讓您不知如何將其調整為自己的需求。本指南採取相反的方法,展示如何解決常見問題和客戶請求,而不跳過重要細節。如果您已經建立了一些 Django 專案,並尋找一本指南來幫助您超越基礎,解決現代開發任務,那麼這本書就是為您而寫的。
六個獨特的專案將帶您從零開始經歷開發過程,沒有遺漏任何細節。在前兩個專案中,您將學習從為您的應用程式添加排名和投票功能到構建地理空間查詢和 API 的所有內容。在第三個專案中,我們將建立一個電子商務平台,配備支付處理器、基本購物車、結帳功能等!接下來,我們將進入異步緩存數據,並創建一個能夠消耗實時更新的應用程式。
完成後,您將擁有一致的模式和技術,可以在未來的許多專案中進行擴展。
您將學到的內容
- 在面向客戶的應用程式和 Django 的管理介面之間共享代碼
- 結合客戶端和伺服器端代碼以增強功能
- 使您的模型具備地理功能,根據地理位置提供常見功能
- 為您的模型添加 REST API,以允許其他應用程式與您的代碼互動
- 使用單元測試和功能測試使您的代碼未來可持續
- 為您的網站添加電子商務功能,建立購物車並發放退款
- 使用 Web Sockets 異步處理信息,以提供實時用戶介面
關於作者
**Asad Jibran Ahmed** 是一位經驗豐富的程式設計師,過去五年主要從事基於 Django 的網頁應用程式開發。他居住在阿聯酋杜拜,曾與該地區一些最大的網路平台合作,包括阿聯酋第一的分類廣告平台 Dubizzle;中東和北非地區頂尖的自由職業平台 Nabbesh;以及在該地區房地產門戶網站中迅速崛起的 Just Property。
他與這些大品牌的經驗使他對如何設計高效、穩定且用戶友好的網頁應用程式有了深刻的見解,同時使用確保代碼基礎在多年內可維護的程式設計實踐。
目錄
1. Blueblog – 一個部落格平台
2. Discuss – 一個 Hacker News 克隆
3. Djagios – 一個基於 Django 的 Nagios 克隆
4. 一個汽車租賃應用程式
5. 多語言電影資料庫
6. Daintree – 一個電子商務網站
7. Form Mason – 您自己的猴子
8. 開發環境設置細節和除錯技術