bereal
23 Oct 2008, 12:57 AM
Hello there.
Currently I am developing business application with the power of ExtJS framework under the Adobe AIR platform. Everything works just fine, I am very satisfied with the perfomance. But I am still not sure about one thing:
I have multi-window application, which means that there is a root window and other windows can also be opened. And I am talking about the really native windows, not ExtJS ones - they look very pretty but cant be dragged out of the area of containing nativeWindow. As my application will be used on multi monitor systems, I need to open new windows as nativeWindow instances.
The issue is in ExtJS (or even jQuery?) core code. The perfect situation which I was trying to get is to have all core code in the root window of the application and use it to manage other windows. It would make opening of new windows much faster and would eat less memory. But unfortunately it seems to be impossible in the current version of ExtJS (or jQuery?). Simple example - there is a lot of document.createElement calls without mentioning the window.
So I have to load all ExtJS code (500k+) and CSS in every opened window, which adds about 10-20 Mb of memory which is used by air application. Its not crytical for the moment but makes me think about this issue more and more.
Does anyone have any ideas or experience about this issue?
Currently I am developing business application with the power of ExtJS framework under the Adobe AIR platform. Everything works just fine, I am very satisfied with the perfomance. But I am still not sure about one thing:
I have multi-window application, which means that there is a root window and other windows can also be opened. And I am talking about the really native windows, not ExtJS ones - they look very pretty but cant be dragged out of the area of containing nativeWindow. As my application will be used on multi monitor systems, I need to open new windows as nativeWindow instances.
The issue is in ExtJS (or even jQuery?) core code. The perfect situation which I was trying to get is to have all core code in the root window of the application and use it to manage other windows. It would make opening of new windows much faster and would eat less memory. But unfortunately it seems to be impossible in the current version of ExtJS (or jQuery?). Simple example - there is a lot of document.createElement calls without mentioning the window.
So I have to load all ExtJS code (500k+) and CSS in every opened window, which adds about 10-20 Mb of memory which is used by air application. Its not crytical for the moment but makes me think about this issue more and more.
Does anyone have any ideas or experience about this issue?