473,769 Members | 2,345 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ajax library

I was looking at libraries for my project, and was thinking about using
Prototype, but I was seeing that people have reservations about it.
All I really need is some basic Ajax stuff, the basic XMLHttpRequest
stuff. I will probably add on to that with my own stuff as I need it.
I've seen one called advAjax, but the documentation is about as bad as
Prototype IMHO. I was having trouble figuring it out.
Are there other basic libraries that I could use? I could write my own
I guess, but as I am not that good at JavaScript yet, I would rather
use one and build on with my own stuff. Any ideas?

Oct 18 '06
14 2276

Yanick wrote:
[snip]
>
You could also look for Echo2 that is very impressive, but costly :
http://www.nextapp.com/platform/echo2/echo/
Not !! Sorry, I didn't read the whole thing right, EchoStudio cost
money ; the whole library is free under the GNU LGPL License. My
mistake !!

Oct 22 '06 #11
Yanick said the following on 10/22/2006 2:57 PM:
Matt Kruse wrote:
>halans wrote:
>>Look at what others are using (865 respondents)...
http://ajaxian.com/archives/ajaxianc...survey-results
Popularity is often not a good indicator of quality. Especially in the world
of javascript.

Perhaps Prototype lacks in clarity, but if you follow closely the
project, the library had some changes since v.1.4.0... (with backward
compatibilities ). Don't be so quick to discard something ; if so many
people use it, it's because it is stable in many browsers (even some
that I've never heard of)
The fact that "many people use it" doesn't mean anything. Many people
still use document.all and eval even though both are not that good to use.
So, the general idea is : do not only read what others say, try it
yourself, even if people don't agree with it. Besides, if Prototype is
so bad, why is it hosted (and included) in the Ruby on rails package ?
Because the Ruby on rails package doesn't know any better?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 22 '06 #12
So, the general idea is : do not only read what others say, try it
yourself, even if people don't agree with it. Besides, if Prototype is
so bad, why is it hosted (and included) in the Ruby on rails package ?
Prototype seems to be a interesting experiment in JavaScript
programming that I think was worth trying but it failed as pointed out
by the knowledgable regulars on this group. I don't think Prototype was
included in Rails because it was considered a model of incredible
JavaScript programming. I think it is there because DHH didn't want to
write client-side code because he didn't have the interest or time.
Sam's Prototype was around and available (legally or otherwise) for
inclusion. Prototype is the obvious weeping sore in the Rails world. I
like Rails and the RJS idea. But no Prototype for me.

Oct 22 '06 #13
This framework looks pretty nice, but the demo is damn slow, or isn't it?

Marek

Yanick schrieb:
Yanick wrote:
[snip]
>You could also look for Echo2 that is very impressive, but costly :
http://www.nextapp.com/platform/echo2/echo/

Not !! Sorry, I didn't read the whole thing right, EchoStudio cost
money ; the whole library is free under the GNU LGPL License. My
mistake !!
Oct 22 '06 #14
I mean AJAX, not UI widgets. I've been playing around with Matt's, and
it works well for what I need I think. I may play around with
Prototype, but it does more than I need. But it wouldn't affect me
because whatever I use is what I'll use, I really won't add on too much
other than my own stuff, or things that are compatable. Thanks for all
the input everyone.

TheBagbournes wrote:
pa***********@g mail.com wrote:
I was looking at libraries for my project, and was thinking about using
Prototype, but I was seeing that people have reservations about it.
All I really need is some basic Ajax stuff, the basic XMLHttpRequest
stuff. I will probably add on to that with my own stuff as I need it.
I've seen one called advAjax, but the documentation is about as bad as
Prototype IMHO. I was having trouble figuring it out.
Are there other basic libraries that I could use? I could write my own
I guess, but as I am not that good at JavaScript yet, I would rather
use one and build on with my own stuff. Any ideas?

Ajax, or UI widgets? Which are you inquiring about?

Someone needs to seperate these two!

For "Ajax" functionality - which I take to mean background calls to the server using XMLHttpRequests and incremental updates of the document, I'd recommend DWR if you have a Java backend. This enables you to export certain interfaces to the browser, and call methods on the server and process the return value (which may be a fully-fledged Object) in a callback. http://getahead.ltd.uk/dwr/

For well-documented, stable, capable UI widgets, I'd go for http://developer.yahoo.com/yui/ complemented by http://www.jackslocum.com/yui/index.php Other widget libraries I've seen are all flaky, slow, undocumented, and generally NOT usable in the real world!
Oct 24 '06 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2081
by: DartmanX | last post by:
Hi, Looking for recommendations for a decent API for AJAX work. I need it to be somewhat documented so I can figure out how to actually use it. My most critical need right now is clean code for a "triple" chained selector (state->county->city). Jason
0
1845
by: melledge | last post by:
Ajax Developers' Day added to XTech 2006 agenda XTech 2006 - 17-19 May - Hotel Grand Krasnopolsky - Amsterdam, The Netherlands
31
3162
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is the same "prototype.js" that is not well-liked around here? If so, do you know if Ajax.NET can be used without prototype.js? -- "The most convoluted explanation that fits all of the made-up facts is the most likely to be believed by conspiracy theorists. Fitting the
3
2775
by: BG Mahesh | last post by:
hi We are looking for a good Ajax library which has very good support for iframe. The ones we have considered so far are, Backbase.com - not happy with the speed Zapatech.com - it is good but doesn't have support for iframe openreco.org - it is good but doesn't support iframe Any pointers is appreciated. We are doing the development on Linux.
2
4281
by: Nathan Sokalski | last post by:
I am moving my website from my machine to my webhost, and need some help with what extra files I need to include due to the fact that I used AJAX in my site. Everything on the site is obviously functioning as desired when I test it on my machine using Visual Studio 2005. From what I have determined, the files I am forgetting are the JavaScript files from the Microsoft AJAX Library (See "To install Microsoft AJAX Library" at the bottom of...
1
1272
by: Valentin L | last post by:
I'm new to AJAX .. In my IIS5 web apps I'm using the old VBScript in .asp pages. I've tested an AJAX banner rotator and is OK. Now I'm looking "the" library that will spare me to "re-invent the AJAX wheel" I know how to use of the Browser's XMLHttpRequest and the
6
5482
by: Bart Van der Donck | last post by:
Hello, I'm presenting my new library 'AJAX Cross Domain' - a javascript extension that allows to perform cross-domain AJAX requests. http://www.ajax-cross-domain.com/ Any comments or suggestions are welcome. --
3
2406
by: NetWave | last post by:
Hi, For my next project I'm going to need Ajax, so I'm in about to read some books on ASP.NET Ajax. While reading Rick Strahl's blog I stumbled upon jQuery. I've been to the website and seen some examples, and it sure looks promising. However, I'm not sure how it relates to ASP.NET Ajax. Do they complement each other? Or are they concurrent products?
2
1744
by: Gufo Rosso | last post by:
example dragable obj start at 0,0 user move obj to 100,100 library send ajay request 100,100 other ex form user send a form to ajax
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10222
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10050
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9999
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.