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 →

Can I Pick Your Brain?

keyboard-mouse
I’d like to ask you three questions so I can understand how to help you better through this website. As a token of my appreciation for your answers, I will email you a free copy of my next book as soon as it’s published.

Please use the link below to take my 2-minute survey:

» Take the 2-minute survey

Thank you for helping!

Packaging a jQuery Mobile Application with Cordova / Phonegap

In this article we are going to learn the process of packaging a jQuery Mobile Application with Cordova / Phonegap. The application that we will use in the article is the Meeting Room Manager app that we’ve been building over the past months.

jqm-cordova-1

While we haven’t finished developing the Meeting Room Manager app (only the user registration features are completed at this point), I want to show you how to convert it from a mobile web app to a native hybrid app that you can deploy to a device.

Continue Reading →