AngularJS - A MVC/MVVM Framework to look at
The space of JS MVC/MVVM frameworks is quite cluttered and to stay up-to-date is a tough task. So in the case you've not taken a look at AngularJS yet, head over there now. Similar to Knockout or SproutCore, it uses data-binding to keep models and views in sync and therefore means less things for you to care about! It also appears to be a very robust framework, approaching version 1.0 soon and already being used for several internal projects at no other than your beloved friend Google.
We at Engine Yard definitively put down Angular on the list of things we have on our radar for any future projects.
Oh and of course AngularJS is also featured in the fabulous todomvc project. If you want to see how it compares to all the other MVC/MVVM frameworks out there, or just want to get a general overview of your choices, make sure to check that out.
and then use it like this:
This all and even more can be done with WebComponents!
Webkit pushed out support for the draft Shadow DOM API last June and I'm sure that as soon as the HTML Template part follows, we will see a lot of movement around WebComponents and a bunch of frameworks out there will make use of this leap in web technology.
You can find a detailed and well written rundown of everything they are here. It's the damn future, don't miss it!
It is funny that big chunks of the Front-end Guy's time at any start-up seem to be used up by including metrics and funnel and whatnot analytics scripts on the page to measure even the tiniest bit of available information and make sure no potential customers will be left behind. But when it comes to errors we do not measure, we do not track, we do not send them down a funnel; we are simply not aware that they even have happened as long as we or our QA folks don't see them. And just to make this clear: the odds are not bad that a single error in some script renders your whole page useless.
If you have gotten a bit nervous by now, don't worry. There are ways to cope with that and some of them are not even very hard.