Welcome Guest, Not a member yet? Register   Sign In
Which HMVC library do you prefer? Why?
#15

[eluser]wiredesignz[/eluser]
A model is not an abstraction from a controller. They are designed for different purposes.

You can use any class to do any job, but you may violate the MVC design pattern if you do.

You can also do whatever you want to. It's your code. But don't try to justify poor design by saying "why not".

EDIT:
There is nothing stopping you from extending models from each other if you need to re-use some functionality. Simply add it to a model base class, and go from there.


Messages In This Thread
Which HMVC library do you prefer? Why? - by El Forum - 11-28-2010, 11:15 PM
Which HMVC library do you prefer? Why? - by El Forum - 11-28-2010, 11:29 PM
Which HMVC library do you prefer? Why? - by El Forum - 11-29-2010, 12:04 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-29-2010, 01:27 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-29-2010, 01:38 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-29-2010, 01:49 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-29-2010, 03:33 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-29-2010, 12:47 PM
Which HMVC library do you prefer? Why? - by El Forum - 11-29-2010, 12:52 PM
Which HMVC library do you prefer? Why? - by El Forum - 11-29-2010, 01:16 PM
Which HMVC library do you prefer? Why? - by El Forum - 11-29-2010, 11:50 PM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 12:49 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 02:16 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 02:23 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 02:38 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 02:44 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 02:47 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 03:00 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 03:03 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 03:08 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 03:12 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 03:21 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 03:30 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 03:37 AM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 10:31 PM
Which HMVC library do you prefer? Why? - by El Forum - 11-30-2010, 10:43 PM
Which HMVC library do you prefer? Why? - by El Forum - 12-01-2010, 01:36 AM
Which HMVC library do you prefer? Why? - by El Forum - 12-01-2010, 02:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB