Sencha MVC Architecture


Sencha MVC Architecture
eBook: $9.99
Formats: PDF, PacktLib, ePub and Mobi formats
$8.49
save 15%!
Print + free eBook + free PacktLib access to the book: $29.98    Print cover: $19.99
$19.99
save 33%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 126 pages [ 235mm x 191mm ]
Release Date : November 2012
ISBN : 1849518882
ISBN 13 : 9781849518888
Author(s) : Ajit Kumar
Topics and Technologies : All Books, Web Development, Mobile, Open Source
Sorry, the table of contents for this book is not yet available.

Ajit Kumar

Ajit Kumar started his IT career with Honeywell, Bangalore in the field of embedded systems and moved on to enterprise business applications (such as ERP) in his 13 years' career. From day one, he has been a staunch supporter and promoter of open source and believes strongly that open source is the way for a liberal, diversified, and democratic setup, such as India. He dreams, and continuously strives to ensure, that architecture, frameworks, and tools must facilitate software development at the speed of thought.

Ajit holds a Bachelor's degree in Computer Science and Engineering from the Bihar Institute of Technology, Sindri. He co-founded Walking Tree, which is based out of Hyderabad, India where he plays the role of CTO and works on fulfilling his vision.

Prior to writing this book, he worked on the following titles by Packt Publishing:

  • ADempiere 3.6 Cookbook
  • Sencha Touch Cookbook
  • Sencha MVC Architecture
Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 3 submitted: last submission 08 May 2014

Errata type: Code related | Page no. : 30

It is: fields: Ext.define('AM.model.User', {

                    extend: 'Ext.data.Model',

                     fields: ['id', 'name', 'email','department'],

                  });

It should be: Ext.define('AM.model.User', {

                    extend: 'Ext.data.Model',

                     fields: ['id', 'name', 'email','department']

                  });

Errata type: Typo | Page no : 71

It is: We used the requires ,  controller,  views, models, and  stores properties to list out the dependencies.

It should be: We used the requires ,  controllers,  views, models, and  stores properties to list out the dependencies.

Errata type: Layout | Page no: 28

It is:

° model
° User.js
° Department.js
° store
° Users.js
° Departments.js
° view
° user\List.js
° user\Edit.js
° department\List.js
° Viewport.js
° controller
° Users.js
° Departments.js
•  data: This contains the JSON datafiles
•  extjs-4.1.0-rc1: This contains the ExtJS framework
•  app.js: This contains the entry point code for the application
•  index.html: This is the HTML for the application

It should be:

  • app: This is the main application directory. This will have the model, view, controller, and store directories

    • model

      •  User.js

      •  Department.js

  • store

    • Users.js

    • Departments.js

  • view

    • user\List.js

    • user\Edit.js

    • department\List.js

    • Viewport.js

  • controller

    • Users.js

    • Departments.js

  • data: It contains the JSON datafiles

  • extjs-4.1.0-rc1: It contains the ExtJS framework

  • app.js: It contains the entry point code for the application

  • index.html: It is the HTML for the application

Sorry, there are currently no downloads available for this title.

Frequently bought together

Sencha MVC Architecture +    ASP.NET 4 Social Networking =
50% Off
the second eBook
Price for both: $30.50

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

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

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.

Approach

This is a step-by-step tutorial with plenty of example code for easier and quicker pick-up.

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software