Welcome Guest, Not a member yet? Register   Sign In
Controllers...plural or singular?
#1

[eluser]jleequeen[/eluser]
Hi Everyone,

I know this is probably pretty individual, but is there a good rule of thumb when deciding whether to use plural or singular controller names? I've seen it done both ways. I don't really have an issue with naming my models and views. To me, a model should be singular, and views well, they are obviously singular based upon the action. I've always struggled with controllers though. I've read that since controllers tend to be "resources" within your application or a collection of objects, that they should be plural. But then I see examples where that isn't the case (ie. blog controller anyone?). Any thoughts on the subject?


Messages In This Thread
Controllers...plural or singular? - by El Forum - 08-24-2009, 08:53 AM
Controllers...plural or singular? - by El Forum - 08-24-2009, 09:21 AM
Controllers...plural or singular? - by El Forum - 08-24-2009, 10:11 AM
Controllers...plural or singular? - by El Forum - 08-24-2009, 11:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB