Re: sharing code on the server and client sides
Joshua Paine <[email protected]> Mon, 21 Jan 2008 07:20:47 -0500
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
Peter Michaux wrote: > writing everything in another language like Java and compiling down > to JavaScript like GWT does Don't trust a product a company releases for developers but doesn't actually use themselves. Google doesn't build anything with GWT--why should you? (They acquired it whole from some other company and then released it with a new name.) Google *is* using JavaScript on Rhino in a Rails-like framework in some places (probably not released yet?) though. > I'm curious what other bits of common (or uncommon) client-side > functionality that Helma developers have been able to share with the > server-side. That's all I've thought of as well, except that for any AJAX-type stuff it's trivial to pass around JSON, since everything's JavaScript. But you can do more elaborate versions of what you've described: try Showdown (JavaScript port of Markdown) for humane text formatting or write something to abstract form member access so you can share [almost?--depends] your entire form validation logic between client and server. -Joshua