3 ms·
After studying backbone and other such Javascript MVC frameworks, I realized that they are not necessary. JS has a wonderful MVC architecture built-in. all JS
by rushabh 15y ago
After studying backbone and other such Javascript MVC frameworks, I realized that they are not necessary.
JS has a wonderful MVC architecture built-in. all JS objects are models by defaults, all views (HTML elements) are models too, and JQuery has a lot of helper functions to simplify events.
These frameworks give you a good idea of how to organize your code better and help you standardize implementation, but if you know what you are doing, you can do it anyways.
Edit: typo
- Pewpewarrows 15y agoAttitudes like this are what cause giant, unmaintainable spaghetti-code front-end applications to be born.
- rushabh 15y agoCode becomes unmaintable when it is not object oriented, ESP for front end applications. Nothing to do with using slick looking syntax, IMHO