ActionScript Developer's Guide to PureMVC (Paperback)
暫譯: ActionScript 開發者的 PureMVC 指南 (平裝本)

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

商品描述(中文翻譯)

獲得使用 PureMVC 的實作經驗,這是一個流行的開源框架,用於開發可維護的應用程式,採用模型-視圖-控制器(Model-View-Controller)架構。在這本簡明的指南中,PureMVC 的創建者 Cliff Hall 將通過帶領您構建一個完整的非簡單 Adobe AIR 應用程式,教您 PureMVC 開發的基本原則。

透過清晰的解釋和眾多的 ActionScript 代碼範例,您將學習在日常工作中使用該框架類別的最佳實踐。了解 PureMVC 如何使您能夠專注於應用程式的目的和範圍,而框架則以可維護和可攜帶的方式處理底層架構。

- 獲得 PureMVC 開發應用程式的詳細概述
- 通過設計架構無關的值物件來建模領域
- 實作架構無關的視圖組件,並暴露事件和屬性的 API
- 使用代理模式(Proxy pattern)來追蹤值物件並隱藏服務互動
- 促進視圖組件與應用程式其餘部分之間的雙向通信
- 在控制器中使用命令物件將模型和視圖層連接在一起
- 管理有問題的視圖組件生命週期,並學習如何重用模型層