21290 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 201 Views |
-
Naming Convention for Controller/Model

16 November 2011 at 10:05am
Hi, I have noticed that some people use "ClassnamePage.php" for their controller/model, yet some people use "Classname.php" only, without the Page word appearing at the end, but for these 2 naming, both their codes are similar that their Models both extend Page and Controller extends Page_Controller.
Technically, are they any differences for having the "Page" word for the file name?
-
Re: Naming Convention for Controller/Model

22 November 2011 at 11:00pm
No differences at all. More a personal preference and depends on the context. For example I use UserDefinedForm instead of UserDefinedFormPage which is a bit of a mouthful!
| 201 Views | ||
|
Page:
1
|
Go to Top |


