I have been trying to learn a bit more about some back end technologies recently, and I have managed to create a search form which uses AJAX to perform a live search. The results from live search are all listed manually in an XML file.
Is this the way live search is normally done? If so, how do I ensure the XML file 'talks' to my database to constantly update itself with results? Or should the live search be looking at the database/tables instead of an XML file all together?