Not sure if I'm describing this correctly. At present, how to handle the ajax request is as follows:
An Ajax request is made, for example: / store / car /: ProductID / add to wit:
The product is added to the shopping MySQL users through
The data is returned new car and wrapped in a view in html
Javascript receiving the correct node and updates the page.
What's wrong with this approach? Seems pretty simple and effective. My partner tells me that is considered "old school" I am "2 years of delay" and saying that it is very slow compared to handle JSON leave.
Its methodology, if I understand correctly, it works as follows:
An Ajax request is made, for example: / store / car /: ProductID / add to wit:
The product is added to the shopping MySQL users through
New car data is returned and is encoded in json format
And it seems that JS is doing all the processing of HTML manipulation and data before updating the correct node.
I have little experience with their method, so do not really have an opinion on it that looks like a lot of unnecessary work that PHP can do so fast and with half the code. Does someone recognize or have experience in how to do this?
........................................
online thumbnail generator...........................................