Faster to display results from php or via jquery using ajax and json? -


i have list of results im displaying database using php. query database based on search options user uses , return results in table layout. im thinking using jquery , ajax call php script instead can use loading icon know working instead of page hanging waiting results.

my question is, faster call php script jquery using ajax , have php script results, build view return view , have jquery display view output of php script? or faster request php page jquery/ajax, have php script return json object of results , have jquery loop through , build view inside jquery function instead?

this question has been addressed: creating html: php server-side vs. jquery client-side


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -