[TYPO3-project-4-3] ExtJS State Manager - help wanted

Benjamin Mack benni at typo3.org
Wed Apr 15 22:05:31 CEST 2009


Hey Dmitry,

On 15.04.2009 20:29 Uhr, Dmitry Dulepov wrote:
> Neither of these because first uses "Ext" namespace and the second
> uses non–standard namespace convention. It should be
> "TYPO3.state.SessionProvider" (Vendor=TYPO3, package=state,
> class=SessionProvider). The last segment starts with capital letter
> according to ExtJS naming conventions.
Where do you get this standard namespace convention?

I suggest to introduce a general "TYPO3" object in JavaScript, and then 
every extension can use their own "namespace" like

TYPO3.tx_felogin = {}
TYPO3.FlashUploader = {}

And then we can have system-wide subobject in there like

TYPO3.Ext = {} // for ExtJS
TYPO3.LLL = {} // for Localization

What do you think?

Anyways: Masi, I like the TYPO3.Ext (I did it a similar way on the 
FlashUploader, where I extended the Ext.Window), so +1 from my side for 
this way.

All the best,
Benni.


More information about the TYPO3-project-4-3 mailing list