Ajax is a front-end tool that communicates with the back-end. The code is written in JavaScript and the corresponding handler code can be in any language that goes in your server-side implementation.