This is a project used to demonstrate a simple single page application which uses ajax to POST a form and load the result using ajax. The results can be loaded using json or html. Additionally, the application falls back to traditional POST-reload behavior if javascript is disabled.
git clone https://github.com/robap/ajaxdemo.git
cd ajaxdemo
curl -s https://getcomposer.org/installer | php
php composer.phar install