Welcome Guest, Not a member yet? Register   Sign In
Help me for Avoid Name Collision and Admin Panel
#3

I agree this is a preference thing.

I actually name things with a single letter suffix. So controllers are _C, models _M, libraries _L.

Otherwise I was ending up with a controller, model and library which all needed to be the same (or similar) name. So rather than have a Login controller, an Auth model and a User library - I can use the same name and know exactly which item I'm calling. And it's only two extra characters.

So now I can have Auth_C, Auth_M and User_L - suits my needs, but might not be the ideal way for everyone.
Reply


Messages In This Thread
RE: Help me for Avoid Name Collision and Admin Panel - by JayAdra - 04-27-2015, 02:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB