Sencha MVC Architecture
暫譯: Sencha MVC 架構
Ajit Kumar
- 出版商: Packt Publishing
- 出版日期: 2012-11-11
- 售價: $1,010
- 貴賓價: 9.5 折 $960
- 語言: 英文
- 頁數: 126
- 裝訂: Paperback
- ISBN: 1849518882
- ISBN-13: 9781849518888
海外代購書籍(需單獨結帳)
相關主題
商品描述
A practical guide for designers and developers to create scalable enterprise-class web applications in ExtJS and Sencha Touch using the Sencha MVC architecture
Overview
- Map general MVC architecture concept to the classes in ExtJS 4.x and Sencha Touch
- Create a practical application in ExtJS as well as Sencha Touch using various Sencha MVC Architecture concepts and classes.
- Dive deep into the building blocks of the Sencha MVC Architecture including the class system, loader, controller, and application.
In Detail
Sencha provides one of the most popular frameworks to build RIA applications (using ExtJS) and HTML5 compliant mobile applications (using Sencha Touch). Creating an application is always easy, but creating a highly maintainable and scalable application is challenging without having solid architectural practices in place.
"Sencha MVC Architecture" covers all the aspects, from project design to building and packaging, creating and delivering an enterprise-class application by applying Sencha MVC Architecture. Every concept is supported with a functional code, which you can quickly try out and also understand how it works.
The book presents the general MVC architecture and presents a case for the client-side MVC architecture and their importance. You will learn why we need to have client-side MVC architecture and how the concepts map to the Sencha MVC Architecture. You will then learn how to create an application in ExtJS as well as Sencha Touch by applying all the concepts and classes of Sencha MVC Architecture. The step-by-step approach helps you build a working application without getting into the detail of the constructs yet explains how things work. The later part of the book will explain the Sencha MVC Architecture constructs in detail – class system, loader, controller, etc. and the best practices introduced by the framework. The end of the book will walk you through the challenges that you will face when you model your application using the Sencha MVC Architecture and also show you how to overcome each one of them. You will learn how to make use of the tools to manage your project beginning from the project creation to delivery.
What you will learn from this book
- Master the general MVC architecture concept
- Learn how the server-side and client-side MVC architecture work their purpose
- Understand the importance of client-side MVC architecture
- Use Sencha MVC Architecture to map the architectural concept to different classes
- Implement a functional ExtJS based application and a Sencha Touch application using the Sencha MVC Architecture
- Understand the internal functioning of the Sencha MVC Architecture classes – view, model, store, controller, and application
- Learn how the new class system works and what best practices are implemented by it, including the coding guidelines such as naming convention, accessor methods, etc.
- Discover the tools available and how to use them to create projects based on MVC architecture, build and package them
Approach
This is a step-by-step tutorial with plenty of example code for easier and quicker pick-up.
商品描述(中文翻譯)
一個實用的指南,幫助設計師和開發人員使用 Sencha MVC 架構在 ExtJS 和 Sencha Touch 中創建可擴展的企業級網頁應用程式。
概述
- 將一般的 MVC 架構概念映射到 ExtJS 4.x 和 Sencha Touch 中的類別
- 使用各種 Sencha MVC 架構概念和類別,在 ExtJS 和 Sencha Touch 中創建一個實用的應用程式
- 深入探討 Sencha MVC 架構的基本組件,包括類別系統、加載器、控制器和應用程式
詳細內容
Sencha 提供了最受歡迎的框架之一,用於構建 RIA 應用程式(使用 ExtJS)和符合 HTML5 的行動應用程式(使用 Sencha Touch)。創建應用程式總是很簡單,但如果沒有堅實的架構實踐,創建一個高度可維護和可擴展的應用程式則具有挑戰性。
《Sencha MVC 架構》涵蓋了所有方面,從專案設計到構建和打包,通過應用 Sencha MVC 架構來創建和交付企業級應用程式。每個概念都有功能性代碼支持,您可以快速試用並理解其運作方式。
本書介紹了一般的 MVC 架構,並提出了客戶端 MVC 架構及其重要性的案例。您將學習為什麼我們需要客戶端 MVC 架構,以及這些概念如何映射到 Sencha MVC 架構。接著,您將學習如何在 ExtJS 和 Sencha Touch 中創建應用程式,應用 Sencha MVC 架構的所有概念和類別。逐步的方法幫助您構建一個可運行的應用程式,而不深入細節,同時解釋事物的運作方式。本書後半部分將詳細解釋 Sencha MVC 架構的組件——類別系統、加載器、控制器等,以及框架引入的最佳實踐。本書的結尾將帶您了解在使用 Sencha MVC 架構建模應用程式時所面臨的挑戰,並展示如何克服每一個挑戰。您將學會如何利用工具來管理您的專案,從專案創建到交付。
您將從本書中學到的內容
- 精通一般的 MVC 架構概念
- 學習伺服器端和客戶端 MVC 架構的運作及其目的
- 理解客戶端 MVC 架構的重要性
- 使用 Sencha MVC 架構將架構概念映射到不同的類別
- 使用 Sencha MVC 架構實現一個基於 ExtJS 的功能性應用程式和一個 Sencha Touch 應用程式
- 理解 Sencha MVC 架構類別的內部運作——視圖、模型、存儲、控制器和應用程式
- 學習新類別系統的運作及其實施的最佳實踐,包括命名約定、存取方法等編碼指南
- 探索可用的工具以及如何使用它們來創建基於 MVC 架構的專案,構建和打包它們
方法
這是一個逐步的教程,提供大量示例代碼,以便更輕鬆和快速地學習。