News for hackers. Stuff that matters.
Re:Ask HN: Does your web app work with javascript off? by drostie on Thursday April 05, 2012 @08:54AM (#3802326)
Yeah, I should expand on this and say that, if you want your page to be bilingual, it helps to have a central gateway through which your data will pass. If you know that you're going to want to request X, Y, and Z as JSON later, then there should be an intermediate form of the data as something which you could easily serialize into JSON -- and your HTML pages are then just a particular loose-and-quick view of that data.

There are no comments on this comment yet.