[TYPO3-project-4-3] ExtJS State Manager - help wanted
Steffen Kamper
info at sk-typo3.de
Wed Apr 15 22:14:56 CEST 2009
Hi,
Benjamin Mack schrieb:
> 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.
I also think that we should use our own Convention as we don't code
extJS Core.
I would like to differentiate between FE and BE, so my suggestion would be
TYPO3Backend.anything
TYPO3Frontend.anything
vg Steffen
More information about the TYPO3-project-4-3
mailing list