Sencha Touch Best Practices for User Interface Development

sencha-touch-best-practicesIn this article I talk about Sencha Touch best practices, specifically for developing user interfaces. I use the following practices in my projects. I think they will help you when developing Sencha Touch UIs.

Continue Reading →

User Authentication in a jQuery Mobile and PhoneGap Application

User authentication in a PhoneGap application

This article shows you how to implement user authentication in a jQuery Mobile and PhoneGap application. We will use the Meeting Room Booking app as the sample application for this tutorial. User registration (which we added in the previous chapter of this series) and authentication are the door that users have to go into the application.

The authentication feature has two subsystems that work together. One lives inside the mobile application and captures the user’s credentials, performs a first round of validation, and sends the credentials to the server.

Continue Reading →

How Ext JS Many to Many Associations Work

model-many-many-15

In this tutorial I will show you how Ext JS many to many associations work. The tutorial is based on a sample Ext JS application that manages a digital music library.

The library has a collection of music Tracks and a collection of Playlists. Each collection is represented in the application with an Ext JS Model and a Store. The many-to-many relationship is formed by a Playlist having multiple music Tracks, and conversely, a Track being included in multiple Playlists.

Our goal is to learn how we can:

  • Retrieve a Playlist from the server and browse its Tracks.
  • Retrieve a Track from the server and browse the Playlists where it is included.

Continue Reading →