Welcome Guest, Not a member yet? Register   Sign In
Removing the main-controller's name from url

(09-01-2015, 04:39 AM)PaulD Wrote: I may be wrong, as I am certainly no expert, but is not the point of the MVC structure to not have one fat controller doing everything? I would suggest it would be best to make seperate out the functionality into relevant controllers like page, product, category etc. Alternatively you could simply rename the controller to something more appropriate, like 'Shop' or similar.

I agree with you my friend. But, in certain occasions, you might have few pages that you don't need to create a controller to have just one method.

I'm sure that in this case I would choose a framework for the job but, if you choose, a bunch of controllers with singles methods might only complicate the things.
The web is so cool! That you need to do cool stuff... Wink

Messages In This Thread
RE: Removing the main-controller's name from url - by JoelPiccoli - 09-01-2015, 05:11 AM

Theme © iAndrew 2016 - Forum software by © MyBB