Review: Sencha Touch 2 Up and Running by Adrian Kosmaczewski (O’Reilly Media)

I’ve taken a couple of web development courses which required the use of HTML, CSS, and JavaScript to create interactive web sites (no frameworks).  I also have experience in C# and C++.  The difference between procedural JavaScript programming and OOP is huge.

Sencha Touch 2 addresses this by wrapping JavaScript in an Object-Oriented framework.

Sencha Touch 2 Up and Running  by Adrian Kosmaczewski is “intended for mobile developers familiar with  either iOS or Android who have an intermediate or advanced level of knowledge of JavaScript”.  Check.

The first chapter walks the reader through a “HelloWorld” experience, and an auto-generated framework example. In order to run these in Windows 7, I had to:

Install Apache Server

– Copy the Sencha Library files to the root directory of the Server

– Install Sencha Cmd

– Install Ruby

– Code the .html and .js files as described in the example.

The initial experience wasn’t seamless, but I was able to run these demo apps from mobile Apple and Android devices, and my desktop (Chrome, Firefox and IE 11).

After the HelloWorld exercise comes the task of understanding how to use Sencha Touch 2 to do real work.  In Chapters 2 through 6, the author leads the reader through the architecture of the framework (Classes, Views, Data, Forms, Controllers) in order to implement a Model-View-Controller based Design.

Chapters 7 through 10 cover Styling, Debugging, Sencha Architect, and Deployment.

I’m currently working through Chapter 6, with the goal of implementing a MVC design.  The book has provided me with a good overall understanding of the the Sencha Touch 2 architecture.  Like every programming methodology, the devil is in the detail.


This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *