News for hackers. Stuff that matters.
Re:Rethinking web API development by MatthewPhillips on Wednesday June 13, 2012 @02:27PM (#4107560)
Is MVC really equipped for this new world? When you write a single page app there's really no need for the V server side, so you left with "MC" and its heavy handed conventions or a Sinatra-like method that more directly maps to RESTful resources.
Re:Rethinking web API development by masklinn on Wednesday June 13, 2012 @02:51PM (#4107724)
MVC never worked for regular web pages, it needs bindings and direct feedback to make sense, all the purported MVC web framework were basically full of shit. To "do MVC" on the web, you either do it all on the client, or you split the C across server and clients, with M on the server and V on the client. Something like that.

Or you use different meta-patterns, and you stop lying to yourself (and to everybody else). That's fine, regular web interactions work and work well and they have structural advantages. They just can't do MVC in any sensible manner.

Re:Rethinking web API development by icebraining on Wednesday June 13, 2012 @05:16PM (#4108489)
Agreed; there's essentially zero correlation between real MVC (as described in papers about the original Smalltalk implementations) and web "MVC frameworks".