Free Sample
+ Collection

Sencha MVC Architecture

Ajit Kumar

A practical guide for designers and developers to create scalable enterprise-class web applications in ExtJS and Sencha Touch using the Sencha MVC architecture with this book and ebook.
RRP $9.99
RRP $19.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849518888
Paperback126 pages

About This Book

  • 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

Who This Book Is For

If you are new to ExtJS or Sencha Touch, this book will help you model your application using good architectural practices so that your application is enterprise-class from day one. If you have already been building ExtJS or Sencha Touch based applications, this book will show you how to apply the client-side MVC architecture and benefit from it. It will show you how you can leverage Sencha’s MVC Architecture and the Sencha Tools to manage your projects in a better way.

Table of Contents

Chapter 1: Sencha MVC Architecture
Why Client-side MVC architecture
Why Sencha MVC architecture
Sencha MVC architecture
Chapter 2: Creating an Application
Application design
Chapter 3: Building Blocks
Routing and history
Dependency management with loader
Chapter 4: Class System
Class system
Class loader
Chapter 5: Challenges and Solutions

What You Will Learn

  • 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

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.


Read More