Cloning Google Suggest With Ajaxac
First things first — we need to work out how to approach this whole thing.
We are going to create four files in this article:
- index.php — This is the frontend file that the user visits to use the application
- googlesuggestclone.css — This stores all of our stylesheet information
- GoogleSuggestCloneJax.class.php — This is our AjaxAC application, which pieces everything together.
We will be creating all four files simultaneously – building parts of one, then moving to the next, then going back, etc, until we are done. Additionally, there will be an SQL data file we will use to create our index of search suggestions.
Also, if you don’t already have a copy of AjaxAC, you will need to download it from http://ajax.zervaas.com.au
So let’s get started, first stop is creating the index.php file.