[TYPO3-project-4-3] ExtJS State Manager - help wanted
Martin Kutschker
masi-no at spam-typo3.org
Sun Apr 26 23:04:00 CEST 2009
Dmitry Dulepov schrieb:
> Hi!
>
> Martin Kutschker wrote:
>> The turials use Ext.ux.ClassName (at least for extensions of ExtJS
>> classes), but I don't like it because the package name gets dropped.
>
> They are created by the Ext team, therefore they use "Ext". In ExtJS you can use either your own namespace or a generic namespace, which is "Ext.ux" (ux = user extension). But if you use "Ext.ux", you can have conflicting names. This already happened with "Ext.ux.TinyMCE" classes.
Well, yes, I wouldn't suggest using ux, rather typo3 like in
Ext.typo3.ClassName. But for my development code I use now
TYPO3.<extPkgName>.<Classname> like TYPO3.data.ajaxConnection. If we
want to make it clear it is derived from Ext I suggest
TYPO3.ext.<ClassName> and TYPO3.ext_<extPkg>.<ClassName>. So the ExtJS
classes don't pollute the TYPO3 package namespace.
Masi
More information about the TYPO3-project-4-3
mailing list