In addition to each object or interface, the client-driven part of the application may have to issue more server requests – such as checking of data entries, receiving parameters depending on a field filled in by the client or other scenarios. To create such a request, the software developer would usually write a client code for the request first (most probably using the XmlHttpRequest object) and then write the necessary matching code of the server to return a result. For the majority of cases, Elements executes the whole process alone , saving the developer all this work– e.g. AutoComplete in forms, server data validation, sorting, paging, filtering or navigation through lists, reloading of a part of a form and other typical cases. For the other part of possible scenarios, the developer will only have to point the method for each object that is to be called, using the JS classes of CXmlHttpRequest or CBusinessObject (they hide the whole process of creating a request, formatting of parameters, encoding or decoding of texts) and implements the necessary method from the server class (which should however have the necessary signature, so that Elemenets could call it).
The result of all this is that in the rare cases when the developer himself needs to write the code of calling through AJAX to the server, the platform will greatly simplify and facilitate his work.