Hello.
Just a simple question: how are no-refresh web pages created, e.g. Facebook? That is to say when you perform a function (say, submit a comment form), the form submits on the page itself without reloading and then displays as a plain text entry uploaded into the database.
What scripting languages are required to build no-refresh applications? I can code in PHP, but it seems that PHP requires refreshing for functions to be performed.
Thanks a lot!
Originally posted by RETARDED_MORON:Hello.
Just a simple question: how are no-refresh web pages created, e.g. Facebook? That is to say when you perform a function (say, submit a comment form), the form submits on the page itself without reloading and then displays as a plain text entry uploaded into the database.
What scripting languages are required to build no-refresh applications? I can code in PHP, but it seems that PHP requires refreshing for functions to be performed.
Thanks a lot!
javascript? usually javascript is used in non-refreshable pages i think..
For the client side, it's Javascript in the form of AJAX (Asynchronous Javascript and XML).
For the server side, any server side language will do. Like PHP, ASP, ASP.Net, jsp, etc.
Originally posted by GIB:For the client side, it's Javascript in the form of AJAX (Asynchronous Javascript and XML).
For the server side, any server side language will do. Like PHP, ASP, ASP.Net, jsp, etc.
I'm pretty sure that you can't, say, submit a form without the page refreshing with PHP, unless an iframe is used. Correct me if I'm wrong.
Originally posted by RETARDED_MORON:I'm pretty sure that you can't, say, submit a form without the page refreshing with PHP, unless an iframe is used. Correct me if I'm wrong.
you can...
you don't technically say its not totally page refreshing, but its the javascript doing the freshing than doing a full page reload.
see this tutorial for e,g: http://nettuts.com/javascript-ajax/submit-a-form-without-page-refresh-using-jquery/
Originally posted by Y_Shun:you can...
you don't technically say its not totally page refreshing, but its the javascript doing the freshing than doing a full page reload.
see this tutorial for e,g: http://nettuts.com/javascript-ajax/submit-a-form-without-page-refresh-using-jquery/
AJAX! That's what I'm looking for. Thanks!
Originally posted by RETARDED_MORON:I'm pretty sure that you can't, say, submit a form without the page refreshing with PHP, unless an iframe is used. Correct me if I'm wrong.
I don't have to correct you because you have already corrected yourself.