How To Develope Good Module

Hi all

I plan to write a module .my question is :

1-Can i use other classes in application inorder to develope a module.for example:





Categorie::getList() //categorie is a class in application




or a module should be completely seprated from the Application?

Tanks :)

In your module and out of your module you can reach and call whatever class’ method

Fabrizio Caldarelli is right. However, if you want your module to be an autonomic entity which can be moved between applications, then it may be a good idea to move your classes into the module. Of course that depends if these classes are used in other potentially movable parts of application like extensions.