Archive for the ‘Know-how’ Category

How to add an IP address to loopback interface on Mac

Sunday, November 21st, 2010

Create file /Library/LaunchDaemons/yourname.plist with the following content: Label Your Label ProgramArguments /sbin/ifconfig lo0 ...

Experience: Ext Component loading can be slow

Sunday, September 12th, 2010

This spring I was contacted by one company with the request of consulting on their application developed in PHP and ExtJS Javascript Library. They wanted to come on site, stay with them one week and advise. I usually take such jobs but I always want to know what product is ...

Factory Functions in Ext Extensions (Abstract Classes)

Saturday, August 7th, 2010

I have recently run across one of the the Jay Garcia's excellent screencasts Abstract classes with Ext JS. (Thank you Jay for your effort of educating Ext JS community.) I've been consulting in a company at that time - developers of the client, after seeing the screencast, immediately asked me: "So ...

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

', { text:'Clear' ,handler:function(){win.items.itemAt(1).body.update('')} }] ...

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