aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes what library you advice me to master, for building ajax applications? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "what library you advice me to master, for building ajax applications?" Watch "what library you advice me to master, for building ajax applications?" New topic
Author

what library you advice me to master, for building ajax applications?

Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
I want to start some ajax applications to build, so what could you advice me about libraries to use (considering their common usage in tasks, performance, and so on)?
I find this article 10-most-popular-javascript-frameworks , so please take a look and give me your opinion about it.
Is JQuery that one I should pay my attention, or else?
Thanks!

p.s

I found scriptaculous libraries interesting for animation effects
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Most of us here use jQuery. It is up to YOU to find one that fits YOUR needs and coding style.

Eric
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Ok, I have understand that. But as I could find out till now, JQuery, resolve most of "needs" and coding styles? Right? I mean, in the most situations JQuery will be good solution, or solution which will provide task resolving. Just as I said I am new, so as much as I could figure out, the best start is JQuery?
Srinath Gamage
Ranch Hand

Joined: Jun 19, 2008
Posts: 40

Cheers for jQuery


SCJP & SCMAD
http://srinathbugz.blogspot.com/
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42612
    
  65
As Eric said, that depends on your requirements (about which we know nothing, so we can't really advise about that). jQuery is a good start, but unlikely to be the best for ALL situations.


Ping & DNS - my free Android networking tools app
Anuj Rathi
Greenhorn

Joined: Sep 23, 2009
Posts: 4
You should consider YUI as well, which is pretty solid Javascript/Ajax library. If you look at the mail example on their site, you'll be amazed by the power of YUI. Of course, it doesn't have the scripting abillities of jquery, but it does have a very good documentation, and a vibrant community of developers to help you out.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Anuj, YUI3 is getting pretty close to jQuery with the chaining

Eric
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
well, till now I have no requirement of Ajax, but in future I will. So I need a good starting point for it, and as much as I conclude, JQuery is good one. Considering that I am new in Ajax could you also tell me little more about JSON? I know it is a format (object) which is sent from server to client. But how it fits into JQuery, for instance?
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,

JQuery is a good one to start with and I also quite like MooTools as well it's quite powerful.
JSON (JavaScript Standard Object Notation) is just a simple way to send structured data from the client to the server and vice-versa.

Sean


I love this place!
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Hehehe, I am little 'heavy' but what do you thnik? Should I go straight to the "JQuery in action", or to reach for "Ajax in action"? I have tehe two books on my mind?
Thanks once again!
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If you are going to work with the library, I would say read Bear's book.

Eric
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
As much as I saw, you are author of "Ajax in action". Can you describe be what is about that book, if that is not an overview of various libraries in practice (along JQuery)? Am I right?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61653
    
  67

Ajax in Action is a great book, but it predates jQuery. Its follow-on book, Ajax in Practice (which I was an author of), has a short section on jQuery, but uses Prototype for most of its examples.

jQuery in Action obviously focuses exclusively on jQuery, and dedicates the longest chapter in the book to Ajax.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61653
    
  67

P.S. Earlier you mentioned Scriptaculous. I am also the author of Prototype and Scriptaculous in Action, so I did extensive research into both. I cannot recommend either at this stage.
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
But what about Ajax in practice? Can we said that, it is up to date?
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
As much as I figure out googling and reading introductory content of these books, the best choice is JQuery in action AND Manning Prototype and Scriptaculous in Action
Am I right...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61653
    
  67

Slobodan Erakovic wrote:Am I right...

Only you can determine that for yourself. But personally, I see no need for both books unless you plan to use all three libraries. Which, I would venture to say, is insanity.
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Ok thanks a lot. I am starting with JQuery. Thanks once again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what library you advice me to master, for building ajax applications?