F# Web Tools: Translates mixed client/server to Javascript
codeplex.com
codeplex.com
F# is becoming an officially supported Microsoft language which will let you convince your boss that this new fangled workflows (aka monads) powered system is safe to use.
http://www.erlang.org/pipermail/erlang-questions/2008-May/03...
In this case, code seems to be explicitly labeled as client, server, or both. Sometimes, you really do want both. Consider a calendar which is sent down as HTML from the server for mobile clients, but updated on the fly by javascript in full browsers. Typically, however, your client code is explicitly marked as such and calls into server code with the very proven success/failure ajax callback pattern.
Lack of a clearly defined protocol is a leaky abstraction.