3 ms·
Are there examples of this paradigm for another framework or in another language? We think of js as being of paramount importance in web development because it
by scarmig 15y ago
Are there examples of this paradigm for another framework or in another language?
We think of js as being of paramount importance in web development because it's the only way to interact with the DOM, so we've mostly come to terms with it and its flaws (which are manifold, even though I happen to think it's a nice language in lots of ways). But if we put all DOM manipulation on the server-side with a very thin client-side javascript communication and manipulation layer, this isn't necessary.
You could write your entire application in Ruby, Haskell, Forth, whatever floats your boat, against a standardized, cross-browser, and improved DOM.
This is powerful and intriguing.
- grncdr 15y agoIt looks like it's using Dnode and a hard-coded list of jQuery methods to expose RPC back and forth between the server and browser, so theoretically you could create a very similar binding in any language that has a Dnode binding.
- jimrhoskins 15y agoI could be wrong but I think ICEfaces [1] for Java does something like this. I remember seeing a presentation on it at a Rails vs Django vs Java "debate" a few years ago. It may not be quite the same thing, and I can't really parse the website very well for how it really works. I do remember it holds a copy of the DOM server side then manipulates it over HTTP. So if you want it in Java, there's that. [1]http://www.icefaces.org/main/home/ http://www.icefaces.org/main/home/