what library you advice me to master, for building ajax applications?
Goran Markovic
Ranch Hand
Joined: Sep 26, 2008
Posts: 399
posted
0
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: 15357
6
posted
0
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
posted
0
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?
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.
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: 15357
6
posted
0
Anuj, YUI3 is getting pretty close to jQuery with the chaining
Eric
Goran Markovic
Ranch Hand
Joined: Sep 26, 2008
Posts: 399
posted
0
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?
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
posted
0
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: 15357
6
posted
0
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
posted
0
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?
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.
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
posted
0
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
posted
0
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...
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
posted
0
Ok thanks a lot. I am starting with JQuery. Thanks once again.