Hey guys I have noticed many developers are starting to implement search filter forms that are using JS, here is a great example: motors.co.uk - Used car search
If you search vehicles it will automatically update their obviously using Ajax for that part though.
I need to create the same kind of search and filter form that lists vehicles for a local vehicle dealer I'm working with, at first I was going to use the conventional PHP form however the JSON method seems so much more flexible.
Motors.co.uk has managed to use this method and can list 100,000's of cars which is starting to make me wonder how they manage it? I only need to display about 120 vehicles which is nothing compared to motors.co.uk.
All my vehicle data is stored in MySQL I am thinking of creating a PHP script to turn all of that data into a JSON format, I will then display the data however I like from there.
Would you say this method would work, is there anything I need to be careful of?