LoaderNamespacing standard.A class named ClassFile is located in class/file It can be : class/file.php Respecting the namespacing means respecting the class name according to the file structure.
Joomla exceptions:The generated component contains various exceptions.
Coding conventionsThe class name is singularisated : Class prefix can search both in 'class' and 'classes' directories Example : ClassIris
Joomla issue (still in 3.2)The namespacing is not working correctly in the discover function: Even with 'recursive', a class located in class / file / upload will be registered as ClassUpload instead of ClassFileUpload. Cook is offering an override to the Joomla loader and the discover function. VERY IMPORTANT for Joomla 1.6 Or by alternative (not recomendated) :
Dump the loader.Your component handle a small script to dump in HTML the JLoader object. use: MycomponentClassLoader::dump() |
|
Merci d'avoir présenté ce service web générateur de composant joomla. L'interface est très conviviale on a le plaisir du drag&drop et c'est assez rare pour être signalé. Je souhaite que ce projet connaisse un fort succès votre réalisation est méritante.