News for hackers. Stuff that matters.
Re:Riot.js – A 1kb client-side MVP framework by tipiirai on Friday November 01, 2013 @09:14AM (#6653410)
I'm sure people study the source code of the frameworks a lot these days. Most of the things are related to structuring code in an understandable way. MVC and MVC are design patterns and do not necessarily need a framework.
Re:Riot.js – A 1kb client-side MVP framework by rubiquity on Friday November 01, 2013 @09:45AM (#6653638)
MVC is not a design pattern or an architecture. It's just a way of organizing code. Inside the individual implementations of the model, view and control you may have varying design patterns, which is why we have so many different MVC frameworks/implementations.

Another quick note: what you're calling a View in riot.js is actually a Template and your Presenter is probably more of a View than a Presenter.

Re:Riot.js – A 1kb client-side MVP framework by tipiirai on Tuesday November 05, 2013 @08:56AM (#6675023)
DOM/HTML represents the "passive view": http://martinfowler.com/eaaDev/PassiveScreen.html in MVP and the Presenter layer makes all the manipulation of the view & widgets.

This is almost identical to Backbone which can also be interpreted as MVP, see:

http://lostechies.com/derickbailey/2011/12/23/backbone-js-is...