Archive for the ‘Know-how’ Category

What the hell is mon and mun?

Friday, September 18th, 2009

I've run across the following code in some of Ext 3.x examples: this.mon(toolsUl, 'click', this.onClick, this); Looks like event handler installation but what it really does anyway? So I delved into the code and remembered ExtJS Conference and now it is clear to me. Imagine you create a component and then you need to ...

Mastering Ext.Direct, Part 3

Thursday, September 17th, 2009



Mastering Ext.Direct, Part 2

Monday, September 7th, 2009



Mastering Ext.Direct, Part 1

Saturday, September 5th, 2009

Preface My first idea how to the name this article was "Ext.Direct for Dummies" just because I feel as a one as long as Ext.Direct is concerned. I've first heard about it during Ext Conference in April and I think that it is one of the brightest ideas of Ext 3.x ...

Factory Function File Pattern

Tuesday, March 17th, 2009

You know, I'm not very big fan of factory functions, nevertheless, I'm aware of the fact that they may be necessary in some situations. Here is the file pattern that works (briefly tested). Keep each factory function in a separate file name of which should be Namespace.Factory.functionName.js // vim: ts=4:sw=4:nu:fdc=4:nospell /*global Ext, MyNamespace ...

Writing a Big Application in Ext (Part 3)

Saturday, March 14th, 2009

Important If you have not already done so, study Writing a Big Application in Ext (Part 1) and Writing a Big Application in Ext (Part 2)before you read this article. It would be very hard, if not impossible, to understand concepts explained here before you fully understand the first and second ...

How to remove all children of a tree node

Wednesday, March 4th, 2009

Suppose we want to remove all children of the node node: while(node.firstChild) { node.removeChild(node.firstChild); } That's all there is to it

Writing a Big Application in Ext (Part 2)

Monday, February 2nd, 2009

Important If you have not already done so, study Writing a Big Application in Ext (Part 1) before you read this article. It would be very hard, if not impossible, to understand concepts explained here before you fully understand the first part. Introduction It has been almost one year since I have published ...

Which events are fired?

Sunday, May 18th, 2008

We need to know all events that are fired by a component and in which order sometimes. It is easy to find out. Let's say that the component in question has id my-comp. Load the page with the component, open Firebug, Console tab, and type: Ext.util.Observable.capture(Ext.getCmp('my-comp'), console.info) Now do some actions with the ...

Events Explained

Sunday, May 18th, 2008

Historical Background Most likely many of you who will read this article do not remember times of Fortran language and computers that were fed with tons of punch cards to have some some job done. The main purpose of computers at that time was to compute something really; that is not true ...