Best practice where put custom class

Hi, All,

Where best place to put custom class that will be used by some modules. I think it is not good idea to put it in Ext folder of the specific module, because it will be used by many modules. It must be place like for utils function, but for classes.

Thank, you :slight_smile:

I don’t really know, it’s the first time I’m thinking about this, but I might place it directly under the “custom” folder.

There are also directories called “application” for extensions that aren’t part of modules.

./custom/application
./custom/Extension/application

1 Like

Can somebody explain example usecase this ability?

http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_6.5/Extension_Framework/Extensions/Extensions/#Example

I think it’s better explained here:

https://suitecrm.com/wiki/index.php/Developer_Guide#Extension_Framework

… but I never used it…