Yii Application Development Cookbook, 2/e(Paperback)
暫譯: Yii 應用程式開發食譜,第 2 版(平裝本)

Alexander Makarov

  • 出版商: Packt Publishing
  • 出版日期: 2013-04-19
  • 售價: $1,750
  • 貴賓價: 9.5$1,663
  • 語言: 英文
  • 頁數: 408
  • 裝訂: Paperback
  • ISBN: 1782163107
  • ISBN-13: 9781782163107
  • 相關分類: PHP
  • 已過版

相關主題

商品描述

This book is the perfect way to add the capabilities of Yii to your PHP5 development skills. Dealing with practical solutions through real-life recipes and screenshots, it enables you to write applications more efficiently.

Overview

  • Learn how to use Yii even more efficiently
  • Full of practically useful solutions and concepts you can use in your application.
  • Both important Yii concept descriptions and practical recipes are inside.

In Detail

The Yii framework is a rapidly growing PHP5 MVC framework often referred to as Rails for PHP. It has already become a solid base for many exciting web applications such as Stay.com and can be a good base for your developments, too. This book will help you to learn Yii quickly and in more depth for use in for your developments.

"Yii Application Development Cookbook" will show you how to use Yii efficiently. You will learn about taking shortcuts using core features, creating your own reusable code base, using test driven development, and many more topics that will give you a lot of experience in a moderate amount of time.

The second edition fixes all errata found in the first edition and also features new recipes on the client side, HTTP caching, and using Composer with Yii.

"Yii Application Development Cookbook" will help you to learn more about the Yii framework and application development practices in general, showing shortcuts and dangerous things you shouldn’t do.

The chapters of the book are generally independent and since this book’s goal is to enhance a practical approach to Yii development, you can start reading from the chapter you need most, be it Ajax and jQuery, Database, Active Record, and Model Tricks, or Extending Yii.

With all the recipes grouped in 13 chapters, you will write your applications more efficiently using shortcuts and using Yii core functionality in a good way. The most interesting topics are; Yii application deployment, a guide to writing your own extensions, advanced error handling, debugging and logging, application security, performance tuning, and much more.

"Yii Application Development Cookbook" will help you to learn more about the Yii framework and application development practices in general. You will write your applications more efficiently using shortcuts and using Yii core functionality in a good way..

What you will learn from this book

  • Make use of internal Yii features, such as events and collections.
  • Get the maximum out of your controller and views and make them reusable.
  • Work with jQuery, JavaScript, and AJAX the Yii way.
  • Make your application error-free using TDD approach.
  • Use Active Record efficiently.
  • Utilize Zii components such as grids and data providers.
  • Implement, package, and share your code as a reusable extension.
  • Tune your application for better performance and also learn general performance principles and Yii-related settings.

Approach

This book is a collection of Yii recipes with chapters generally independent of each other. It is full of practically useful solutions and concepts explained with code and relevant screenshots and diagrams.

Who this book is written for

This book is for developers with good PHP5 knowledge who have tried to develop applications using Yii. An object-oriented approach and MVC knowledge will be a great advantage as Yii uses these extensively.

商品描述(中文翻譯)

這本書是提升您 PHP5 開發技能並增加 Yii 功能的完美方式。透過實際的解決方案、真實的範例和截圖,它使您能夠更有效率地編寫應用程式。

**概述**
- 學習如何更有效地使用 Yii
- 充滿實用的解決方案和概念,您可以在應用程式中使用。
- 書中包含重要的 Yii 概念描述和實用的範例。

**詳細內容**
Yii 框架是一個快速成長的 PHP5 MVC 框架,常被稱為 PHP 的 Rails。它已經成為許多令人興奮的網頁應用程式(如 Stay.com)的堅實基礎,也可以成為您開發的良好基礎。本書將幫助您快速且深入地學習 Yii,以便在您的開發中使用。

《Yii 應用程式開發食譜》將向您展示如何有效地使用 Yii。您將學習如何利用核心功能來縮短開發時間,創建可重用的代碼庫,使用測試驅動開發(TDD),以及許多其他主題,讓您在適中的時間內獲得豐富的經驗。

第二版修正了第一版中發現的所有錯誤,並新增了有關客戶端、HTTP 快取和使用 Composer 與 Yii 的新範例。

《Yii 應用程式開發食譜》將幫助您更深入了解 Yii 框架和應用程式開發實踐,展示應該避免的危險做法和捷徑。

本書的各章節通常是獨立的,因為本書的目標是增強對 Yii 開發的實用方法,您可以從最需要的章節開始閱讀,例如 Ajax 和 jQuery、資料庫、Active Record 和模型技巧,或擴展 Yii。

所有的範例分為 13 章,您將能夠更有效率地使用捷徑和 Yii 核心功能來編寫應用程式。最有趣的主題包括:Yii 應用程式部署、自訂擴展的寫作指南、高級錯誤處理、除錯和日誌記錄、應用程式安全性、性能調優等。

《Yii 應用程式開發食譜》將幫助您更深入了解 Yii 框架和應用程式開發實踐。您將能夠更有效率地使用捷徑和 Yii 核心功能來編寫應用程式。

**您將從本書中學到什麼**
- 利用 Yii 的內部功能,例如事件和集合。
- 充分發揮控制器和視圖的效用,並使其可重用。
- 以 Yii 的方式使用 jQuery、JavaScript 和 AJAX。
- 使用 TDD 方法使您的應用程式無錯誤。
- 高效使用 Active Record。
- 利用 Zii 組件,例如網格和資料提供者。
- 實現、打包並分享您的代碼作為可重用的擴展。
- 調整您的應用程式以獲得更好的性能,並學習一般性能原則和 Yii 相關設置。

**方法**
本書是一系列 Yii 範例的集合,各章節通常相互獨立。它充滿了實用的解決方案和概念,並用代碼和相關的截圖及圖表進行解釋。

**本書的讀者**
本書適合具備良好 PHP5 知識的開發者,特別是那些嘗試使用 Yii 開發應用程式的人。物件導向的方法和 MVC 知識將是很大的優勢,因為 Yii 在這方面的使用非常廣泛。