Generally, yes, I think you're heading in the right direction.
You can use AJAX to POST a JSON object to your server-side PHP, which can handle all your SQL reads/writes and then return JSON data via an AJAX response.
but I think parsing JSON is really nice and easy, so I would go that route unless you come up with a reason not to.
Let me know if this is helpful.
Cheers,
Sean