Monday 24 February 2014

Book Review: Sencha Touch 2 Mobile Javascript Framework by John Earl Clark and Bryan P Johnson


I got a chance to review this eBook Sencha Touch 2 Mobile Javascript Framework  by John Earl Clark and Bryan P. Johnson. This book is published by Packt Publishers.

I am really impressed after reading initial chapters and this book starts explaining about Sencha Touch Frameworks, its various components and configurations, how to attach event listeners (initialize, tap, itemtap etc) to those components, data management using models and stores and finally explains about consuming data from Flickr API. Also this book covers advanced topics on Sencha Touch 2 Framework.

Thursday 20 February 2014

CakePHP: How to check user loggedIn or not in View Helper

For past few days, i am working on CakePHP Projects. I need to to verify whether user loggedIn or not in the CakePHP view files. In order to achieve this, i need to access Auth Component in View Helper. But CakePHP doesn't have AuthViewHelper Class by default. So i added an helper method  isLoggedIn() which will check whether User loggedIn or not. Here is the implementation code.

Monday 17 February 2014

Sencha Touch: Expense Tracker app development tutorial - Part6

If you haven't read my previous post, please read first and proceed furthur. Today we are going to see the final post for this post series - how to build the Expense Tracker App using Phonegap build for Android Platform.

I refered the Android Platform Guide in Phonegap API Documentation in order to build my app. This page contains Android SDK installation instructions for windows and linux operating systems.  Following are the project setup and build instructions specific for Android Platform.

Wednesday 12 February 2014

Sencha Touch: Expense Tracker app development tutorial - Part5

If you haven't read my previous post of this post series. please read first and proceed this post. today we are going to see the about controllers, how we can attach events for the views in controllers and creating utility singleton class in order to store configuration settings for Expense Tracker app.

Utility Singleton Class:

I created an singleton utlity class in order to store app configuration settings and common methods that will be accessed  throught my application. Following are the configurations

Tuesday 11 February 2014

Sencha Touch: Expense Tracker app development tutorial - Part4

If you haven't read my previous post of this post series. please read first and proceed this post. today we are going to see the source code for the remaining view pages in Expense Tracker app.

Add/Edit Category Page:

By clicking Add button in the category listing page, you will be redirected to the add new category page. This page contains two text fields Category Name and Category Price.

Monday 10 February 2014

Integrate Zend Framework into CakePHP application

Today, we are going to see how we can integrate Zend Framework version (1.12) into CakePHP Application. In order to achieve this, i created an autoloader script which will load the Zend Framework class at the time of accessing the class (creating object). I used spl_autoload_register() function which will register a function as the __autoload() function. Let's see the autoloader php class implementation.

Thursday 6 February 2014

Sencha Touch: Expense Tracker app development tutorial - Part3

If you haven't read previous posts of this post series, Please read first and proceed this post. today, we are going to see the source code for the view pages in Expense Tracker App.

HomePage View:

Home page displays Tab Panel with 3 tabs Categories, Expenses and Settings. Each Tab is a container with list component as the child item.

Monday 3 February 2014

Sencha Touch: Expense Tracker app development tutorial - Part2

If you haven't read Part1 of this post series, Please read first and proceed this post. Today, i am going to explain the view pages that i created using the sencha view components (Tab Pabel, FormPanel, List etc) for my Expense Tracker App.

Saturday 1 February 2014

Sencha Touch: Expense Tracker app development tutorial - Part1

In Part1 of this 'Expense Tracker app development tutorial' Post series, i am going to explain the list of models and stores that i created for the Expense Tracker App.  Totally i created two stores and two models here is the explanation.
Related Posts Plugin for WordPress, Blogger...