This post describes how to write an Ext extension using factory functions.
I have received very nice private message on Sencha Forums from the user new to ExtJS whom I helped to understand the basic concepts of Ext applications. Here is the full text of the message (with his permission).
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.
If you modify records of an editable grid with paging and if you then page-out, your changes are lost. This article shows easy implementation of keeping modified records while paging.
Recently I’ve been looking for a better way of inter-component communication in Ext so I’ve read a couple of posts with Message Bus implementations, I’ve skimmed over OpenAjax Hub page but I haven’t found anything suitable for my needs.
Event listeners are installed by calling
on method in Ext and Touch. However, there is also other possibility and that is calling
mon. Read the article to find out what is the difference and what are benefits of mon/mun.
You cannot use the return value of an API function call as result is not know at the moment of the call return. It is never stressed enough that Ext.Direct calls are ASYNCHRONOUS.
This part focuses on server side of Ext.Direct giving some examples that are good as a starting point written in PHP.
Rich Internet Applications (RIA) consist of two parts: client side and server side. Client cannot call server functions directly but sends requests, server processes them calling the appropriate functions and returns results back to client. Ext.Direct makes it look like we are calling server methods directly at client.