By the way, if anyone knows a good way to pass formatted data from server requests in a way that doesn't involve god-awful XSLT, I'd love to know. Some toolkits, I bet, already have that covered, but I'm not into details.
More specifically, let's say that you retrieve a list of names from the server, but of course, you want to format them with, say, CSS classes, as such:
Note: the "li" tags should be in the form 'li class="something"' but the phpBB editor ate those, sorry.
Passing the data around using JSON is very straightforward (I'd even describe it as "stupidly simple", but formatting the stuff is a problem, because if you do it server-side, you're going to end up with maybe a dozen templates for the same page, one for each dynamic bit, so I'm looking of better ways to do it on the client side.