Although Sencha Cmd is a very useful tool for application scaffolding, creating view, controllers and models, sometimes it is faster to use a single-file app. It is especially useful for fast testing, prototyping or concept proof. Read how to do it.
Imagine that you have a one-to-many relationship in your database, for example, you have table person in which you keep personal data (first, middle, last names, etc.) and you have table phone where you keep phone numbers (phone type, phone number).
It is quite common to have person:phones, company:phones, order:items, invoice:items, etc relationships.