JavaScriptr

A blog about JavaScript and other web development technologies

Avatar

PureJSTemplate - A pure javascript templating engine for jQuery

Most templating languages suck Ok, if your like me then you hate all templating langauges- they suck, they really suck. I hate them because I hate the rules they enforce upon me, they are slow, and they slow me down. Because of this, usually I end up making code that looks like this: UGLY: function display(data) { var output = "<div>" + data.text + "</div>"; ...

GWT + Grizzly + Comet

Ok, so you're probably looking for a simple example of GWT + Grizzly + Comet. Jean Francois and his buddies at JavaOne screwed us with their vague PDF. Bastards! I gotta say this, though, Jean was right, its not too hard to figure out. This implementation uses XHR long polling, glassfishv2.ur2 and grizzly comet 1.0.9. The problem: RemoteServiceServlet GWT loves POST. All RPC calls made back to your subclass of RemoteServiceServlet ...