Most of the sites I've developed have some sort of content submission somewhere in them. Posting data to a php file and loading the resulting page is a little bit old tech. This is where ajax comes in. It allows you to submit data using javascript and then load any returned data dynamically into your page without the need for reloading it.
Xajax is a php project that simplifies the use of ajax by removing the need to write much of the javascript needed for submissions.
This is a re-write of the Xajax 0.6 beta 1 tests to show a possible integration with the dingo framework.
by mungushume@monkeyr.com
Download the latest version of Xajax 0.6 (currently beta 1) from the xajax-project.org download pages.
Extract the contents of the \xajax_core folder to the following path in your dingo setup \system\library\xajax_core
Extract the \xajax_js folder to the root of your dingo installation (root of the website).
Extract the following files from the zip to their equivalent locations in the dingo project.
\application\controller\*.*
\application\view\*.*
\system\library\basicPluginTest.php
\system\library\preFunctionTest.php
\xajax_js\myExternalFunction.js
Update the following files in your dingo/xajax installation from the zip.
\application\config\development\route.php
\system\library\xajax_core\xajaxArgumentManager.inc.php \\There are two changes in this file from the one in Xajax 0.6 beta 1 to fix magic quote and field type in request bugs.
\.htaccess \\There is one change in this file to fix the dingo 0.7.1 input::get failure bug and the addition of a token to stop redirects for the xajax_js folder.)
Browse to the root of your dingo installation and you should be presented with a list of tests