Sencha MVC Architecture 9781849518895, 1849518890, 978-1-84951-888-8

This is a step-by-step tutorial with plenty of example code for easier and quicker pick-up. If you are new to ExtJS or S

442 46 5MB

English Pages 228 Year 2012

Report DMCA / Copyright

DOWNLOAD FILE

Sencha MVC Architecture
 9781849518895, 1849518890, 978-1-84951-888-8

Table of contents :
Content: Table of Contents
Sencha MVC Architecture
Sencha MVC Architecture
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Sencha MVC Architecture
Why Client-side MVC architecture
Why Sencha MVC architecture
Sencha MVC architecture
Ext JS 4.1
Sencha Touch
Summary. 2. Creating an ApplicationApplication design
ExtJS-based application
Folder structure
Model
User
Department
Store
Users
Departments
View
User List
User Edit
Department List
Viewport
Controller
Users
Departments
Application
index.html
Sencha Touch-based application
Folder structure
Model
User
Department
Store
Users
Departments
View
User List
User Edit
Department List
Controller
Users
Departments
Application
index.html
Summary
3. Building Blocks
Model
Store
View
Controller
ExtJS
Sencha Touch
Profile
Application
Ext JS
Sencha Touch. Routing and historyDependency management with loader
Summary
4. Class System
Class system
Naming convention
Class
File
Methods and variables
Properties
Defining a class
Configuration
Alias
Alternate class name
Extend
Statics
Inheritable statics
Mixin
Singleton
Uses versus requires
Error reporting
Class loader
Asynchronous loading
Synchronous loading
Hybrid loading
Summary
5. Challenges and Solutions
Challenges
Project creation
Debugging
Build
Minification
Solutions
Project creation
Debugging
User tag
Disable caching for loader
Build
Minification.

Polecaj historie