Whats better to use with PHP, JQuery or AJAX and why?
What would you consider better AJAX or JQuery?
Whats better to use with PHP, JQuery or AJAX and why?
What would you consider better AJAX or JQuery?
Asynchronous JavaScript and XML -- is AJAX. Jquery is a javascript library. Your question has no answer.
What would you consider better - a spicy warm aftershave lotion or a cuban cigar and scotch on the rooftop?
Jquery is javascript framework where Ajax is a mechanism to send data without page getting refreshed. You can not compare them
If you mean to use ajax with php, then you can either use ajax itself or jquery which has methods for that.
This question is absurd. Of course jQuery is better than AJAX, PHP, and Adobe Photoshop.
If you want to write your own framework for making ajax connections then it is an option for making asynchronous calls to PHP.
If you don't want to deal with the browser issues, then you may want to use jQuery, as it abstracts the developer from browser-related issues.
As others have mentioned, you can't compare ajax to jQuery, but you can compare writing your own ajax framework to a mature framework that MS includes now.
By the fact that you are asking the question, though, I would suggest that you use jQuery, as testing as various browsers and getting your own framework to work across IE6+, Chrome, Safari and other browsers is obviously doable, but there are some issues to deal with, so, unless you want to test on many browsers, and resolve the issues, go with the one that is already tested.
jQuery does AJAX. Your question should be:
Is it best to do AJAX with or without jQuery when working with PHP?
And the answer to that one, in my opinion, is "with." jQuery has a great set of functionality to help with AJAX-style behavior.
jQuery is a JavaScript Library as same as Mootools, etc...
Ajax Ajax (shorthand for asynchronous JavaScript and XML) is a group of interrelated web development techniques used on the client-side to create interactive web applications. [WikiPedia]
You can use Ajax in jQuery.
You can use Ajax in Mootools.
You can use Ajax in JavaScript.