Nick Sabalausky Wrote: > The only problem now is that that would rule out the possibility of > sharing code between both server and client - Which is *NOT* something I > want to give up...
What kind of code is it? The main reason for the javascript api thing in my web.d is to help minimize the pain of duplication, by keeping it all on the server, but still having easy client side interface. Then basically your js is just event glue to various server side functions. Of course, it keeps the JS down to size... but doesn't actually let you run code on the client written in D.