Naming convention.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
mariostg
Forum Members
Forum Members
Posts: 12
Joined: Wed Apr 08, 2020 12:10 pm

Naming convention.

Post by mariostg »

I am working on my first module, and I am trying to be consistent with naming files.
I see different prefixes: action., method., function., method.,. Probably others exist.

Is there a convention? Is this documented somewhere?

Thanks.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Naming convention.

Post by velden »

Maybe you already did else I'd advice you to read this document: http://docs.cmsmadesimple.org/uploads/M ... torial.pdf
mariostg
Forum Members
Forum Members
Posts: 12
Joined: Wed Apr 08, 2020 12:10 pm

Re: Naming convention.

Post by mariostg »

@velden
I indeed read the document you referenced. I used it as a model I followed. It's a very good starting point, but does not elaborate on best practices although it touches on directory structure.
Thanks.
Post Reply

Return to “CMSMS Core”