Archive

Posts Tagged 'Code'

ExtJS: Use several times Ext.onReady

Recently using the Javascript framework comprehensive to ExtJS (3.2.1) to work in a fairly complex PHP application (based on Zend Framework), one of the first questions that came in the team was: "Is Can I make multiple calls to the function Ext.onReady? "

The answer was not so easy to find. On different forums, opinions were divided (Some advised against multiply Ext.onReady calls, but never explained why).

Finally, I found this document , in which it is written that the Ext.onReady function saves only the methods to execute when the DOM elements on the page are loaded. These functions are then stacked in the order in which you call them. Question: By calling several times Ext.onReady, all functions will they be added to the same stack?

Answer: yes.

I tested a page where 100 calls (let's be crazy) to the Ext.onReady function were performed, each of these calls a manager object. No problems reported, and the page seemed as fast as loading the 100 objects in a single function Ext.onReady.

This can be good to know if you plan to use ExtJS in MVC applications to multiple modules. :)

Where to download Real Video Codec 9 (RV9)

Just a note because I have too much hassle 20 minutes to find the damn codec!

RV9 Real Video ...

It is actually included in the K-Lite Codec Pack!

And be careful NOT ¡K-Lite Codec Pack is actually less complete!

You can download it here:

http://www.clubic.com/telecharger-fiche35535-k-lite-mega-codec-pack.html

Edit of 23/05/2009: Note that this codec pack includes aussile Real Video 10 (RV10).

Tags: , , , , Categories: Uncategorized Tags: , , , ,
Easy AdSense by Unreal