atravotum Posted April 19, 2008 Share Posted April 19, 2008 I have recently been introduced to the wonder that can be AJAX. As is I am a preferred php coder, and would like to keep it that way. From everything I read php can do anything asp.net can do. I'm not going to get into that whole enlarged debate, but point being I prefer php. This being said I would very much like to stick to php. My complication lies in support for AJAX. Now I know AJAX does work with php. However when looking for examples of what AJAX can do I was able to find very lush visual examples that only seemed to be in asp.net. The php examples I found in theory could do the same I suppose, but I was unable to find any of those lush examples using php to work with AJAX. ??? So the question came up is php equivalent in terms of power to asp.net when using AJAX. Or to restate can php do everything in AJAX that asp.net can do? If anyone has any thoughts, or comments feel free to share, I want to soak in whatever I can get. Hopefully I can stick to my beloved php. Quote Link to comment https://forums.phpfreaks.com/topic/101821-solved-php-ajax-vs-aspnet-ajax-any-opinions/ Share on other sites More sharing options...
trq Posted April 20, 2008 Share Posted April 20, 2008 Ajax is simply a mix of server side (php, asp.net etc etc) and client-side (javascript). It really makes no difference at all what server side language your using. Quote Link to comment https://forums.phpfreaks.com/topic/101821-solved-php-ajax-vs-aspnet-ajax-any-opinions/#findComment-521819 Share on other sites More sharing options...
dptr1988 Posted April 20, 2008 Share Posted April 20, 2008 AJAX is just a way for a client-side JavaScript to communicate with a web server. It is totally independent from your server-side language. In fact you don't even need to use the XML format for data you transfer. Just plain text, simple list or CSV would do fine in most cases. The only tricky thing that you need to learn about AJAX is how to use the XMLHttpRequest API. Otherwise, it's just a (very) simple web browser requesting pages from the web server. Quote Link to comment https://forums.phpfreaks.com/topic/101821-solved-php-ajax-vs-aspnet-ajax-any-opinions/#findComment-521978 Share on other sites More sharing options...
atravotum Posted April 20, 2008 Author Share Posted April 20, 2008 Sweet thats what I needed to hear guys thnx. Quote Link to comment https://forums.phpfreaks.com/topic/101821-solved-php-ajax-vs-aspnet-ajax-any-opinions/#findComment-522258 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.