Recently I have been working on a web application. As a preference I have chosen to use php to develop it. It uses AJAX to retrieve data, and so I am wondering to myself, if I can use ajax in an html page and retrieve data that way, then aside from the backend pieces, is there a reason for me to use php in my app? Does anybody have an opinion or example of when and where they used php in an ajaxian application?
ajax is a technology to make requests to the server asynchronously. This means that you still need a backend technology that can provide the data for you. Most ajax technologies require the data in some format that it can deal with (common ones include xml and json). So your backend system needs to provide this data in that format. PHP is a backend scripting lang that you can use to fulfill that requirement. Other technologies include ruby, python, perl, java, and cgi to name a few.
-- ray _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
