4 ms·
I recommend anyone getting into building web apps (regardless of framework) to read Mixu's "Single page apps in depth" http://singlepageappbook.com/single-page.
by brunoc 14y ago
I recommend anyone getting into building web apps (regardless of framework) to read Mixu's "Single page apps in depth" http://singlepageappbook.com/single-page.html http://singlepageappbook.com/single-page.html
It's a short read, it's opinionated and will make you think, especially if you're a novice / intermediate programmer. In particular, the "Writing maintainable code" chapter.
Focusing on things like namespacing is not necessarily a bad thing, but it doesn't address the real goal - writing modular, testable, maintainable code. If your components know where other components are in the namespace and depend on them internally, the namespace hierarchy does nothing to help your design.
The main difficulty in designing complex web applications is managing dependencies between objects, just like any large object-oriented piece of software (assuming that is the paradigm you choose).