BUILT IN AJAX SYSTEM
<font color=#003366>Built-In Ajax System
The Gantry framework comes with a built-in Ajax system which acts as a bridge between the client and the Gantry framework. Every Ajax call is directed to an "Ajax Model" that receives in the Ajax parameters and after its operations is able to return a response with what the original Ajax Call request is expecting. Below you can see a schematic sum of the process.
The real power of the Gantry framework built-in Ajax system are the models. Every developer can create its own custom Ajax Models and use the Ajax calls client-side to retrieve specific types of data.
There are 2 Ajax systems in the Gantry framework that actually work exactly the same with one exception: restrictions. In fact the first can be used for everything regarding the theme while the second can only be used admin side. The restriction makes it so that even by error you cannot use the admin Ajax System on the frontend.
What differs about the two are the URI to call and a "template" parameter that needs to be passed in the admin Ajax System only.