|
|
|
|
|
by RyanMcGreal
6142 days ago
|
|
The client speaks one language (JavaScript), the server speaks another (usually not JavaScript). To cross the boundary between the client and the server, the code must be translated into a different language. What does that even mean? Javascript is a programming language, not a data format. To communicate with the server, all the client-side Javascript needs to do is exchange information with the server in a data format (e.g. JSON, XML) that both the client and server can parse. I can't imagine any architecture that would not require devices to communicate with each other using a common data format. |
|
This is not a problem if you are using GWT, or if you do serverside programming in JavaScript.