[TYPO3-extbase-kickstarter] Suggestion for checking naming conventions during modeling in extension_builder

Frank Mey - NEW.EGO mey_mailings at newego.de
Wed Jul 13 09:55:31 CEST 2011



> -----Original Message-----
> From: typo3-project-extbase-kickstarter-bounces at lists.typo3.org
> [mailto:typo3-project-extbase-kickstarter-bounces at lists.typo3.org] On
> Behalf Of Sonntag, Christian (FTI Germany)
> Sent: Monday, July 11, 2011 4:01 PM
> To: typo3-project-extbase-kickstarter at lists.typo3.org
> Subject: [TYPO3-extbase-kickstarter] Suggestion for checking naming
> conventions during modeling in extension_builder
> 
> Hi.
> 
> Is it possible to do some name checking in the extension_builder?
> 
> + Propertynames with autocorrect to lowercase.
> (Propertyname with capitals whould be corrected from extension_builder
> from "eXample" to "e_xample" in the database)
[Frank Mey] 
As a serious programmer you should know the framework you are dealing with
and its naming conventions. 
Afaik the kickstarter already checks for mis-spelled or mis-named
properties, but the "eXample" case should be added to 
the fail-rule before saving the extension I guess.
> 
> + Checking for critical names of the model
> (in my case the model "Interface" drives me crazy till i choose another
name,
> i dont know if there are other names that could be critical)
[Frank Mey] 
 - as a serious programmer you should know some basic naming conventions of
he language u are coding in... naming a model "Interface" or "Class" 
is just an absolute nogo in every object-oriented language since the 1970s.
> 
> Ciao
> Christian Sonntag
> _______________________________________________
> TYPO3-project-extbase-kickstarter mailing list TYPO3-project-extbase-
> kickstarter at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-extbase-
> kickstarter



More information about the TYPO3-project-extbase-kickstarter mailing list