valan Posted January 12, 2017 Share Posted January 12, 2017 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 More sharing options...
horst Posted January 12, 2017 Share Posted January 12, 2017 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 (?) 1 Link to comment Share on other sites More sharing options...
teppo Posted January 12, 2017 Share Posted January 12, 2017 You've probably seen this already, but this old post from Ryan includes some general tips: Like Horst pointed out above, the name doesn't really matter that much, as long as it makes sense to you. That being said, https://martinfowler.com/bliki/TwoHardThings.html 3 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now