Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
10
Newest
 Informed
Impact
~3k people reached

  • 0 posts edited
  • 1 helpful flag
  • 23 votes cast
Apr
2
awarded  Commentator
Apr
2
comment Is the 'C' in MVC really necessary?
@Abyx - "The programming construct that combines data with a set of methods for accessing and managing those data is called an object." The model should hold a definition of data, not how to manipulate that data nor how to send it up the line. It should only have data to offer and the logic should be elsewhere.
Apr
2
comment Is the 'C' in MVC really necessary?
@dreza - I feel badly for your code. Your model should contain data. The controller should manipulate that data through design patterns such as factories, adapters, mediator, etc. All three should be lean, the model, the controller, and the view. Most of the code should be in these design patterns which deal with generics in order to reduce redundancy.
Mar
29
comment Is the 'C' in MVC really necessary?
@Dime - The model should contain no logic whatsoever. The Controller will be the one holding logic, hence "controlling".
Mar
28
awarded  Peer Pressure
Mar
28
awarded  Student
Mar
28
awarded  Teacher
Mar
28
comment Is the 'C' in MVC really necessary?
Three words..."Separation Of Concern".
Mar
28
awarded  Supporter