I just finished hacking my way through the extensive “Todos” Sproutcore tutorial.
Sproutcore is entirely a client-side technology and is ‘backend-agnostic’ (which sounds kinda like it swings both ways, but I digress), so the only tricky part of the tutorial comes when you want to persist things somewhere on a server. At that point, the tutorial veers off down a couple options (mostly Ruby variants) but I didn’t want to use any of those. I wanted to use Java. Specifically Java for App Engine (built on Jetty).
So, unlike most tutorials, I actually had to do some thinking and original coding. It actually wasn’t too bad, and here is the lovely result, the Sproutcore todos tutorial living happily, and working (hopefully) on Google App Engine.
I should probably be a good open-source community member and write up my steps and submit them to Sproutcore. But in the meantime, I’ll at least post my source code. It’s very poorly tested, has some repeated code, and in general was hacked together for the tutorial. In fact this was my first time using Sproutcore or any Java Servlet stuff. But it’s much better than nothing. Here’s the zip.
For completeless, here’s the zip of the sproutcore client code source, though you can get that all off the sproutcore wiki.