Welcome Guest, Not a member yet? Register   Sign In
Documentation problem: Naming of Controllers & Models
#2

[eluser]Pascal Kriete[/eluser]
The way it's usually done is that the model name comes from the table it describes. So if you have a 'Blog' controller, and a table called 'Entries', you would have a model called 'Entry', 'Entries' or 'Entry_model' (up to you).


Messages In This Thread
Documentation problem: Naming of Controllers & Models - by El Forum - 02-06-2008, 05:21 PM
Documentation problem: Naming of Controllers & Models - by El Forum - 02-06-2008, 05:30 PM
Documentation problem: Naming of Controllers & Models - by El Forum - 02-06-2008, 05:44 PM
Documentation problem: Naming of Controllers & Models - by El Forum - 02-18-2008, 03:23 PM
Documentation problem: Naming of Controllers & Models - by El Forum - 10-26-2008, 11:49 PM
Documentation problem: Naming of Controllers & Models - by El Forum - 10-27-2008, 02:56 AM
Documentation problem: Naming of Controllers & Models - by El Forum - 10-27-2008, 08:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB