ActionScript Developer's Guide to PureMVC (Paperback)

Cliff Hall

  • 出版商: O'Reilly
  • 出版日期: 2012-01-24
  • 定價: $990
  • 售價: 6.0$594
  • 語言: 英文
  • 頁數: 264
  • 裝訂: Paperback
  • ISBN: 1449314562
  • ISBN-13: 9781449314569
  • 相關分類: ActionScript & FLASH
  • 立即出貨

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

商品描述

Gain hands-on experience with PureMVC, the popular open source framework for developing maintainable applications with a Model-View-Controller architecture. In this concise guide, PureMVC creator Cliff Hall teaches the fundamentals of PureMVC development by walking you through the construction of a complete non-trivial Adobe AIR application.

Through clear explanations and numerous ActionScript code examples, you’ll learn best practices for using the framework’s classes in your day-to-day work. Discover how PureMVC enables you to focus on the purpose and scope of your application, while the framework takes care of the plumbing in a maintainable and portable way.

  • Get a detailed overview of the PureMVC process for developing your application
  • Model the domain by designing the schema and creating framework-agnostic value objects
  • Implement framework-agnostic View components that expose an API of events and properties
  • Use the Proxy pattern to keep track of value objects and hide service interaction
  • Facilitate two-way communication between a View component and the rest of the application
  • Stitch the Model and View tiers together with command objects in the Controller
  • Manage problematic View component life cycles, and learn how to reuse the Model tier

商品描述(中文翻譯)

這本簡潔指南將帶領您透過構建一個完整的非平凡Adobe AIR應用程式,從而獲得使用PureMVC這個受歡迎的開源框架開發可維護應用程式的實踐經驗。PureMVC的創造者Cliff Hall通過清晰的解釋和大量的ActionScript代碼示例,教授PureMVC開發的基礎知識,讓您在日常工作中學習使用框架的最佳實踐方法。您將了解到PureMVC如何使您能夠專注於應用程式的目的和範圍,同時以可維護和可移植的方式處理框架的基礎設施。

本書內容包括:
- 詳細介紹PureMVC開發應用程式的過程
- 通過設計模式和創建與框架無關的值對象,對領域進行建模
- 實現與框架無關的View組件,並公開事件和屬性的API
- 使用代理模式來跟踪值對象並隱藏服務交互
- 促進View組件與應用程式的其他部分之間的雙向通信
- 通過命令對象將Model和View層結合在一起
- 管理問題View組件的生命週期,並學習如何重用Model層

這本書將幫助您深入了解PureMVC框架,並教您如何使用它來開發可維護和可擴展的應用程式。無論您是初學者還是有經驗的開發人員,這本書都將成為您的寶貴資源。