Forum Moderators: open
1. Which ones do you like.(dojo,jQuery, ExtJs, ProtoType,etc)
2. What are they good at?
3. What are they NOT got at?
I have been creating custom scripts per site/app or even per page if it is not going to be needed elsewhere. I can understand some advantages of the toolkits for visual enhancements and such but each site seems to require different needs so I provide custom solutions per need.
How have the toolkits made it easier or better for you?
What is the Yahoo UI Library good at? Lots. But I especially love its Event handling and DOM Utilities. While some other utilities will give you the ability to add an effect quickly, the YUI will give you the ability to create your own effects and customize them much more.
What is it not good at? If you just want a quick drop in animation effect, this might require more work than some of the other libraries. But ultimately, I think you'll have more control over the effects with the YUI.
On the other hand, if your developer's javascript leaves much to be desired, a toolkit will enable the production of good looking functional code which he would have otherwise struggled to produce robustly.
what about the attached code, isn't there quite a bit of linked code for the initial download with Yahoo?
[edited by: Fotiman at 1:39 pm (utc) on Sep. 21, 2007]
1) EVERYTHING I write is XHTML 1.0/Strict or 1.1. I also validate WAI AAA on EVERYTHING. To add insult to injury, I like to ensure that dynamically rendered content validates (I use iCab [icab.de], and make sure every page "smiles.") Very few libraries out there produce code that meets these standards. Even Scriptalicious and Google Maps set off warnings.
2) I don't usually get fancy, and when I do, my site has to degrade extremely well for less capable browsers, including ones with JS and cookies disabled. This means that I write code that either does not depend on the JS Framework for the majority of the content, or I provide a robust HTML alternative.
3) The "Iceberg Syndrome." You need capability B, but you need to load all the supporting code for A-Z. Since so many of these frameworks were not written by professional software engineers, they can be a bit, shall we say, "crufty." I really don't like Rube Goldberg devices running my critical sites.
To be fair, you are starting to see JS and PHP libraries that have been developed according to real Software Engineering standards, but these are often developed by people who are used to writing with compiled [research.att.com] and semi-compiled [java.com] languages, and they seem to be under the illusion that JS is the same as these languages.
No, it's not. [webmasterworld.com]
It has both things that are better than these languages, and things that are worse. The rules change. Even though it looks like Java or C++, it's way different. I've spent the last couple of years running into these differences. It has been an education.
I have been using the Google Maps API [google.com] extensively lately, and it seems to be a pretty well-written implementation of a large-scale "Web 2.0" JS framework. ScriptaLicious [script.aculo.us] is also pretty nice. I use it to add some "zing" to some of my stuff.
Just my $0.02.