Closed jghibiki closed 9 years ago
Will we be using JQuery for this? The search should be performed server side, as it is querying the DB directly.
If we are to implement a search that will work client side (no postback) we will need to load the entire database onto the user's computer whenever they load the page
Honestly though, that wouldn't be too bad as long as we are loading the data after loading the page. At least until our database starts becoming larger, is that what you had in mind?
For each character that is typed, wait something like 400 milliseconds in case another character is typed, and then query our service for a list of results, display the results. Repeat. Immediately query the service if the return key is pressed to submit the form. All the calls should be done over ajax, i will work on getting a definite service uri to be used for querying the database.