PDA

View Full Version : Iframes question



dekely
15 Jul 2013, 5:43 AM
Hi,

I have an application with a lot of iframes.
each iframe includes extjs javascript.

The question:
Is there a difference between embedding Ext.Panel inside a main jsp or working with a lot of iframes.

Thanks in advance

slemmon
16 Jul 2013, 9:57 PM
I'm not sure I follow the question. Can you elaborate?

dekely
17 Jul 2013, 11:59 PM
Our web application contains a lot of iframes.
each iframe holds a jsp file that includes ext-all.js

The question is:
If I remove all iframes and develop everything in js, will it significantly improve performance and memory consumption.
Do you load the extjs engine for every iframe?

Thanks

slemmon
18 Jul 2013, 8:56 AM
I see. If you're loading the framework into each iFrame then I would think that you would see performance / memory management improvements by consolidating the application into a single page. Not only that, it should be much easier for different 'frames' of your application to communicate with one another. That is where the MVC design pattern for a single page app should really shine for you.