We've come a long way. We have learned about how Ajax works and we've learned how to tie into jQuery and how to debug some JavaScript. We have also learned how to use PHP library classes with static functions in our plugins and how to tie into the WordPress application from the backdoor. In order to pull this off, we have created a total of nine files:
ajax_search_results.php
css/live-search.css
includes/dynamic_javascript.php
includes/LiveSearch.php
index.php
tests/Test.php
tpls/no_results.tpl
tpls/results_container.tpl
tpls/single_result.tpl
We have constructed a working Ajax search, but as you may have noticed, it was fairly complex to set up, and even after all that work, it is still fairly primitive. The goal here was to teach you how to construct a plugin that relied on Ajax; if you want a full-featured Ajax search for your site, try downloading an existing plugin. One example is Dave's WordPress Live Search (http://wordpress.org/extend/plugins/daves-wordpress-live...