I'm starting to get into jQuery, and just wondering what some of you like and use the most. I'm talking general purpose JavaScript frameworks. Is there one that is a clear winner for you, and how so?
__________________
- George
- JavaScript Kit- JavaScript tutorials and 400+ scripts!
- JavaScript Reference- JavaScript reference you can relate to.
I'm starting to get into jQuery, and just wondering what some of you like and use the most. I'm talking general purpose JavaScript frameworks. Is there one that is a clear winner for you, and how so?
I don't find one I like. Oat seams to be somehow my winner,
I've yet to look at Prototype closely, mainly because of its relatively large size. Just wondering, compared to jQuery, how is it "better" or more robust, given it's much larger footprint?
__________________
- George
- JavaScript Kit- JavaScript tutorials and 400+ scripts!
- JavaScript Reference- JavaScript reference you can relate to.
So what's the primary lure of jQuery for these people versus Prototype?
jQuery focus is heavily on DOM manipulation and traversal. So that is the big draw for a of people that do not want prototypes "Ruby" syntax of doing things.
I'm a big fan of Prototype, it just seems to make the most sense to me. Pretty much everything I do now makes use of it's Class and inheritance system which makes code so much easier to follow for other people, and much easier to modify.
Looking at the updated bit of the zebra-tables example shows that prototype's CSS selection and manipulation is pretty much the same as jquery's.
Once you're gzipping your javascript, the filesize of the libraries becomes pretty insignificant, so whichever fits your programming style (and in a team environment makes it easy for others to pick up) should probably be more of a concern.
I recently discovered jQuery and I've become a big fan. It's just amazing how much you can do with very little code. The syntax is very elegant and the chaining of statements is a big time saver.
Yahoo User Interface, gives plenty of sample code and documentation. As a beginning javascript developer that is exactly what I need. If you are experienced in programming techniquest (from other languages) and are now taking on javascript, YUI is excellent for practicing and developing your javascript skills.
I chose for jQuery because the code is so compact, the community is great and the framework is just unbelievable awesome (perhaps slightly exaggerated).
I suppose what's need is speed, not interpretation. Would it really matter with these scripts - if they able to be precompiled and run in IE, FF, Safari, etc?
Compare to Apress ebooks. They sell theirs - for $10. I'm not even sure if they check for receipts, just that you have an ISBN and a copy of the book nearby (don't quote me on that).
None. I don't trust libraries or frameworks. I code everything by hand and using my own "subroutines" tested as crossbrowser (which I try to keep up-to-date). Thus I am able to create exactly what I need for the designed custom purpose. No more, no less. In short time. That saves my time, my money and my nerves.