101 reputation
2
bio website
location
age
visits member for 2 years
seen Dec 6 at 2:27

Dec
6
comment In MVC should a model contain subview models?
There are also other rules which dictate how things should be written: DRY, SOLID, KISS. They're not conflicting with MVC, and should certainly be applied as much (if not more).
Dec
6
comment In MVC should a model contain subview models?
You, coming from Haskell, should relate to the following: I think that MVC is just an abstract model of relationships between parts of a program, but which parts should play the role view, model or controller depends on the problem you're confronted with. Likewise, Category Theory is just a set of rules to help formalize relationships between objects, but there's no rigid definition of which actual objects may be used with these rules. CT itself can be formalized with CT. HMVC is a good example of that idea, as you can use MVC within MVC (though it's not the same kind of recursion).
Jul
21
comment Difference between REST and CRUD
Your answer is correct, but the example isn't optimal: a comment can boil down to a single db row, and isn't it possible to implement dynamic changes to related objects with db triggers? I feel there's a little more than just crud operations in restful api though, and your answer clearly carry that feeling well.
Dec
10
revised Using PDO with MVC
added 261 characters in body
Dec
10
revised Using PDO with MVC
added 261 characters in body
Dec
10
revised Using PDO with MVC
added 261 characters in body
Dec
10
answered Using PDO with MVC
Dec
10
awarded  Supporter
Dec
10
awarded  Editor