Jump to content

Module naming convention question


valan
 Share

Recommended Posts

I'm developing few custom module classes derived from WireData and WireArray. They are neither Fieldtype (as do not work with db) nor Inputfield (as not used in rendering). Later they may be used in Fieldtypes and Inputfields.

Is there  "PW way" to name such type of modules?

 

Link to comment
Share on other sites

If I understand you right, the only convention is to use CamelCaseClassnames and use the same name for the File- & optional Foldername:

site/modules/ValanCustomModule

site/modules/ValanCustomModule/ValanCustomModule.module

The first part is used for grouping modules in the table view of modules list, so you may want to use something meaningful for that part (?)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...