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.
Old ExtJS Examples
Examples application from my old website. The code of examples was written in/for ExtJS 3.x therefore it won’t work without modifications in Ext 4.x. However, the principles and coding practices can still be very useful.
Factory Functions in Ext Extensions (Abstract Classes)
In essence, factory functions are class methods that manufacture items or other properties during the instantiation of the class. This article explains pros and cons of factory function and how to use them correctly.
Displaying 1:n Data in Grid
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.
