News for hackers. Stuff that matters.
Re:Patterns for Managing Large Scale Backbone Applications by brunoc on Monday March 25, 2013 @09:19AM (#5436775)
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

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).

There are no comments on this comment yet.