Question:Which is not a CakePHP conventions? 

A Controller class names are plural, CamelCased, and end in Controller. 

B File names match the class names, which are CamelCased. So if you have a class MyNiftyClass, then in CakePHP, the file should be named MyNiftyClass.php 

C Model class names are singular and CamelCased. 

D Table names corresponding to CakePHP models are plural and underscored. 

E Field names with two or more words are underscored. 

F The basic pattern for view template file is /app/View/Controller/underscored_function_name.ctp 

G Variable name should be CamelCased. 

+ Answer
+ Report
Total Preview: 885

Copyright © 2024. Powered by Intellect Software Ltd