Why bother having one language for the client and one for the server? Why do I have to write code in the web page in JavaScript but when I move to the server I have to switch to PHP or something else?