concept server - side code in category javascript

appears as: The server-side code, server-side code, server-side code
Prototype and Scriptaculous in Action

This is an excerpt from Manning's book Prototype and Scriptaculous in Action.

The application has been implemented on the back end using PHP. We chose PHP because it’s a simple, ubiquitous language. The server-side functionality is relatively simple, so porting the app to other server languages should be straightforward. The server-side code for an Ajax app mostly relies on similar techniques to those found in non-Ajax apps. There are a few differences, though, and we’ve run through how to implement these techniques in the most popular sever-side languages (PHP, Java, .NET, and Ruby on Rails) in appendix E.

As you can see, porting the server-side code across to use Ajax is relatively straightforward. Before we decide that this whole Ajax thing is a piece of cake, though, let’s remember that we’ve only tackled one side of the problem so far. Our server knows how to send back XML to the browser, but we still need to write the JavaScript code to handle that response. In the next section, we’ll take a look at the changes we need to make to the client side.