Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,



how can we use AJAX controls in other technologies .
i.e other than .net.
Posted
Comments
Sergey Alexandrovich Kryukov 17-Oct-11 14:46pm    
Why do you think you know how to use it in .NET? The question makes me doubt you do.
--SA

Why not!
Ajax is independent.and Can be used with other technologies also like php,jsp.
I think you are not talking about ajaxtoolkit.
Ajaxtoolkit is specially designed for ASP.NET.
 
Share this answer
 
v2
Comments
Uday P.Singh 17-Oct-11 9:34am    
Agree 5!
RaviRanjanKr 17-Oct-11 10:10am    
My 5+
Sergey Alexandrovich Kryukov 17-Oct-11 14:46pm    
Correct, a 5.
--SA
Ajax was there way before the advent of ASP.net so the answer is "yes" one can use Ajax without ASP.net.
You can write HTML utilizing Ajax from scratch only using JavaScript, but there are some JavaScript frameworks out there that make the task so much easier:


These are only two frameworks, but there are others as well, which you can research using google. I even had a solution a way back that listed different JavaScript frameworks. If I find it again I'll post a link here. (Hang on! :) )

[Edit]
I'm sorry to say the question with my previous solution was deleted. Nevertheless a short google session turned up this little gem:
The most complete Ajax framework and JavaScript libraries list.html[^]

There are 124+ frameworks & libraries listed there.
[/Edit]

Regards,

—MRB
 
Share this answer
 
v2
Comments
Uday P.Singh 17-Oct-11 9:33am    
good answer my 5+
RaviRanjanKr 17-Oct-11 10:11am    
Nice answer, My 5+
Sergey Alexandrovich Kryukov 17-Oct-11 14:46pm    
Sure, a 5.
--SA
Refer this site for using Ajax with PHP.
We can use Ajax with

PHP
JAVA
ASP.NET
JAVASCRIPT
JQuery


http://www.switchonthecode.com/tutorials/simple-ajax-php-and-javascript
 
Share this answer
 
v2
Comments
RaisKazi 17-Oct-11 9:48am    
Removed "pre" tag from Normal Text.
Sergey Alexandrovich Kryukov 17-Oct-11 14:48pm    
Looks like a good tutorial, my 5.
--SA
You can use AJAX – it's simply a buzzword term for Javascript which sends asynchronous HTTP requests back to your server and does things with the response, so any scripting language which can respond to HTTP requests can be used to be the server-side part. In fact, it can be easier to return pure data from less 'clever' environments than ASP.net.

There are various frameworks which purport to make it easier but honestly I recommend working out how it actually works at the base level. It is not hard and is only 50 lines of code or so to get a working AJAX implementation (and most of that is working out how to create the XmlHttpRequest object on your browser). JQuery, in particular, is really a framework for doing clever stuff with the DOM (which you may want to do in response to an AJAX server response, indeed, but it is not itself part of the AJAX process).

However, you ask about 'AJAX controls', and tag your post C#. If you are asking about the ASP.net controls with AJAX behaviour included, no, you can't use those on another platform. There are good sources for JavaScript client-side controls on the net, but the somewhat peculiar blend of client- and server-side functionality that you might be asking about is an oddity of ASP. (It's what makes ASP and to a lesser degree ASP.net websites such a pig to use, because lots of things cause page reloads or AJAX requests that really should be pure client side.) If that's all you've known, you'll have to learn how HTTP really works to effectively use AJAX on another platform.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 17-Oct-11 14:47pm    
Good points and explanation, my 5.
--SA
In addition to what has been given as solutions, Dojo javascript framework[^] is also another option to work with Ajax.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 17-Oct-11 14:48pm    
Never heard of this thing; thanks for sharing, get my 5.
--SA
Wonde Tadesse 17-Oct-11 14:50pm    
You're most welcome.
Yes we can use Ajax with many other technologies like

PHP
Javascript
Java
JQUERY

JQUERY, AJAX and PHP is a very good combination
refer this
http://www.9lessons.info/2008/08/jquery-ajax-and-php-projects-9lessons.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900