|
|
|
|
|
by pyeri
153 days ago
|
|
> I personally do not like the Javascript frontend ecosystem. It's hacks on top of hacks on top of hacks. But, do you know another way to deploy software that's cross-platform and basically free of gatekeepers? One way is what I call the "Modular MVC pattern" that involves pure js routing and manual DOM manipulation without using any framework at all. You handle complexity in two ways: by modularizing the "controller" parts into multiple js modules for each route, and "view" parts into multiple HTML partials - and using the event bus pattern if your app gets too complex (as alternative to modern reactive frameworks like react/vue). Shameless plug: I've tried to implement this exact pattern with limited success in Abhyasa Quiz App[1], a side project. [1]: https://abhyasa.pages.dev/ |
|