[TYPO3-core] Idea to speed backend up

Kay Strobach typo3 at kay-strobach.de
Sat Feb 26 10:54:08 CET 2011


(Hope it's ok to post my idea here)
Hello Core Devs,

due i'm developing more and more ExtJS based Modules i have an idea how
to speed up modules if correctly prepared.

Currently there is a viewport which is like this one:

+-----+-----+----------------+
|                            |
+-----+-----+----------------+
|     |     |                |
|  1  |  2  |       3        |
|     |     |                |
+-----+-----+----------------+

The area 2 (pagetree) is hidden if the module doesn't need it - good.

But any module in 3 is loaded as normal html page.
If we would implement 3 as an extjs cardlayout [1] the following could
be possible:

1. classic modules load in card 0 as before (backwards compatibility)
2. every new JS module load in extra card (there must be an array to
   save the relation between module and cardnumber)

A cardlayout is similar to tabs, but without a userinterface.

Additionally type 2 modules may listen to the following events to update
their content:
1. page selected in area 2
2. page action applied (suply action name)
3. module visible
4. module hidden

Using this method modules like the extMgm are accessable very fast and
load only once.
A new listmodule can be build using ajax with the effort of a very fast
load.

Some users in the german list a complaining about loading times :(

Thanks a lot for all your great work.

Regards
Kay

[1] http://dev.sencha.com/deploy/dev/docs/?class=Ext.layout.CardLayout

-- 
http://www.kay-strobach.de - Open Source Rocks


More information about the TYPO3-team-core mailing list