If you're not in my SharePoint Web Developer Experience class, you're missing out. This is just some of the sample code we're discussing in the February 2013 delivery. There's another one coming up in May. And you get even more code than is shared here to the public.
Feel free to poke around. Geek out a bit. And if your curiosity is piqued, sign up for the next one.