CakePHP 1.3 Application Development Cookbook
Mariano Iglesias
- 出版商: Packt Publishing
- 出版日期: 2011-03-12
- 售價: $1,810
- 貴賓價: 9.5 折 $1,720
- 語言: 英文
- 頁數: 360
- 裝訂: Paperback
- ISBN: 1849511926
- ISBN-13: 9781849511926
-
相關分類:
PHP
海外代購書籍(需單獨結帳)
相關主題
商品描述
Over 60 great recipes for developing, maintaining, and deploying web applications Create elegant and scalable web applications using CakePHP Leverage your find operations with virtual fields, ad-hoc queries, and custom find types Add full internationalization support to your application, including translation of database records Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible In Detail CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying web applications. While the framework has a lot of documentation and reference guides available for beginners, developing more sophisticated and scalable applications require a deeper knowledge of CakePHP features, a challenge that proves difficult even for well established developers. The recipes in this cookbook will give you instant results and help you to develop web applications, leveraging the CakePHP features that allow you to build robust and complex applications. Following the recipes in this book you will be able to understand and use these features in no time. We start with setting up authentication on a CakePHP application. One of the most important aspects of a CakePHP application: the relationship between models, also known as model bindings. Model binding is an integral part of any application's logic and we can manipulate it to get the data we need and when we need. We will go through a series of recipes that will show us how to change the way bindings are fetched, what bindings and what information from a binding is returned, how to create new bindings, and how to build hierarchical data structures. We also define our custom find types that will extend the three basic ones, allowing our code to be even more readable and also create our own find type, with pagination support. This book also has
商品描述(中文翻譯)
超過60個優秀食譜,幫助開發、維護和部署網頁應用程式
使用CakePHP創建優雅且可擴展的網頁應用程式
利用虛擬欄位、即時查詢和自定義查詢類型來增強查找操作
為您的應用程式添加完整的國際化支持,包括數據庫記錄的翻譯
本書為Packt的食譜系列之一:每個食譜都是一系列精心組織的指令,旨在以最有效的方式完成任務
詳細內容
CakePHP是一個快速開發的PHP框架,提供可擴展的架構來開發、維護和部署網頁應用程式。雖然該框架有大量的文檔和參考指南可供初學者使用,但開發更複雜和可擴展的應用程式需要對CakePHP功能有更深入的了解,這對於即使是經驗豐富的開發者來說也是一個挑戰。本食譜中的內容將為您提供即時的結果,幫助您開發網頁應用程式,利用CakePHP的功能來構建穩健且複雜的應用程式。按照本書中的食譜,您將能夠迅速理解並使用這些功能。我們將從在CakePHP應用程式中設置身份驗證開始。
CakePHP應用程式中最重要的方面之一是模型之間的關係,也稱為模型綁定。模型綁定是任何應用程式邏輯的核心部分,我們可以操縱它以獲取所需的數據和所需的時間。我們將通過一系列食譜來展示如何改變綁定的獲取方式、返回哪些綁定及其信息、如何創建新的綁定,以及如何構建層次數據結構。我們還將定義自定義查詢類型,擴展三個基本類型,使我們的代碼更加可讀,並創建自己的查詢類型,支持分頁功能。這本書還包含