madhadron/mvc_for_the_web
View on GitHub ↗ ★ 36 HTML
Example programs explaining the techniques of Model-View-Controller implemented as web applications.
8 mentions on Hacker News by 2 people: 0 stories, 8 comments · first 2017-02-24 · latest 2025-10-29
20082026
-
…how MVC applies to programs with graphical interfaces. It's JS and HTML, so it's easy to follow. https://github.com/madhadron/mvc_for_the_web/tree/master
comment by dsego · 2025-10-29 · in UIs Are Not Pure Functions of the Model – React.js and Cocoa Side by Side (2018) -
…is bound to UI events and communicates those from the view to the model objects. (1). (1) https://github.com/madhadron/mvc_for_the_web
comment by dsego · 2025-09-07 · in The key to getting MVC correct is understanding what models are -
…There is also a github repo that has examples of MVC patterns adapted to the web platform. https://github.com/madhadron/mvc_for_the_web
comment by dsego · 2025-04-19 · in JavaScript Views, the Hard Way – A Pattern for Writing UI -
…GUIs with the DOM and the MVC approach. It builds up step by step to introduce all the concepts. https://github.com/madhadron/mvc_for_the_web
comment by dsego · 2021-09-21 · in Show HN: 7GUIs in Vanilla HTML, CSS, JavaScript -
Another good guide to mvc with js is this one https://github.com/madhadron/mvc_for_the_web The neat thing is that it starts from scratch and adds things, like pub/sub, then models, controllers and so on.
comment by dsego · 2020-10-27 · in Vanilla-todo: A case study on viable techniques for vanilla web development -
…it, what its label should be, and if it is enabled. You can do strict MVC in JavaScript just fine ( https://github.com/madhadron/mvc_for_the_web ). React has one major win that MVC can't give you: if you have lots of teams all putting…
comment by madhadron · 2020-02-18 · in MVC is dead, it's time to MOVE on (2012) -
…of MVC serves quite nicely in most cases. I wrote a few introductory programs to clarify it ( https://github.com/madhadron/mvc_for_the_web ).
comment by madhadron · 2019-05-19 · in Virtual DOM is pure overhead (2018) -
…much cleaner code by not mixing HTML and JavaScript. My original explorations of doing this are at https://github.com/madhadron/mvc_for_the_web . When you understand this, React's shadow DOM and JSX are completely unnecessary. Combine it…
comment by madhadron · 2017-02-24 · in Using Neutrino to jump-start modern JavaScript development