Answer the question
In order to leave comments, you need to log in
fetching json or mysql?
Let's say the user enters a letter and a list of cities is displayed via ajax. How will the selection be faster - through json or mysql?
Answer the question
In order to leave comments, you need to log in
It will be faster through MySQL, since you can immediately make a search query for the letter entered by the user, and if you use json, you will need to open the entire file and then search.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question