5 ms·
Backbone and Marionette were MVC for the web, and they have basically died out. React is a child of the Flux architecture philosophy, also developed by Facebook
by phailhaus 4y ago
Backbone and Marionette were MVC for the web, and they have basically died out. React is a child of the Flux architecture philosophy, also developed by Facebook. [1]
[1] http://fluxxor.com/what-is-flux.html http://fluxxor.com/what-is-flux.html
EDIT: I lied, React came first. Still, they have a lot of similarities, being developed by the same company.
- wruza 4y agoMVC examples in this article do not represent MVC in Cocoa. E.g. last time I checked cocoa tables were bound to array controllers, which controlled filtering, available actions etc. Not to bare models. Older-style cocoa mvc rendering was also based on the view<->controller connection, which may act as a “store” or do something more sophisticated, depending on what you write in delegate methods. These comparison graphs always involve some “head & shoulders” vs “grey regular shampoo” style narrative.
- mpweiher 4y agoWell yes: Apple MVC also isn't really MVC. See: https://blog.metaobject.com/2015/04/model-widget-controller-mwc-aka-apple.html https://blog.metaobject.com/2015/04/model-widget-controller-... However, sufficiently MVC for the purposes of the post.
- acemarke 4y ago> React is a child of the Flux architecture philosophy FWIW, this isn't actually the case. React was first announced in 2013: - https://en.wikipedia.org/wiki/React_(JavaScript_library) https://en.wikipedia.org/wiki/React_(JavaScript_library) The "Flux Architecture" was first announced a year later, in 2014: - https://youtu.be/nYkdrAPrdcw https://youtu.be/nYkdrAPrdcw React's original influences were things like Facebook's internal PHP-based UI definition layers: https://reactjs.org/blog/2016/09/28/our-first-50000-stars.html https://reactjs.org/blog/2016/09/28/our-first-50000-stars.ht...