Web-Services
Yahoo User Interface is one of the known JavaScript libraries. It has been well-developed by Yahoo so that it can be adapted in different ways. One of the adaptations of YUI is to create an Ajax based program. It has the asynchronous function that enables Ajax to perform well under any conditions and in most browsers. It has a known set of libraries that can easily be used by any developers and slowly create not only web based programs but widgets that can easily be implemented in a desktop.
The Good:
Great Documentation – Yahoo has moved to greater lengths to ensure that the library is understood and well documented. From method signatures to parameters and APIs…everything is well thought of by Yahoo.
Good Support – the name Yahoo is more than enough to convince any developer about the program. Of course it’s not Google but being a multi-million company that invests so much online, you can be sure there enough support to a development program that you need using YUI.
DOM Event Handling – DOM can easily be implemented as it uses element IDs. Usually DOM could be seen passing through the node but not in YUI. This is a good thing since it prevents different activities from mixing up. It can be considered as a straightforward command. No need for different nodes which could be confusing for different browsers.
The Bad:
Issues with Opera – apparently YUI has trouble implementing its programs in this browser. If you’re thinking of developing a widget or an Ajax based program for Opera, better think of other libraries or at least use it as a program. Different developers have reported YUI’s inefficiency in Opera especially when running a widget.
Additional <div> required – this situation is applicable especially in widgets. I happen to categorize this as bad since programs can easily be created in different libraries. Creating widgets using YUI needs additional customization. Although it gives you a freehand in developing widgets up to the last minute, it’s going to be a challenge for starting developers. Better have a good knowledge in JavaScript if you’re interested in building widgets from YUI.
HTML Modification – In relation to <div> requirements, HTML should be further configured so that it could work well in different browsers (except Opera). That’s another challenge considering HTML should still be configured to work with <div>.
The Judgment
Backed by powerful Yahoo, there’s no doubt that this library will perform well. Amid the arrays of libraries, Yahoo has apparently created a great library that could help any developer. I was thinking of creating mash-ups using the libraries of Yahoo. The documentation of the program is noteworthy catering even to the budding developers. However, it does require more than ordinary experience in JavaScript. It’s complications with <div> is the main reason why an advanced knowledge of JavaScript. HTML might be an additional challenge but as long as the developer is familiar with JavaScript, that shouldn’t be a concern. With full customization, any experienced JavaScript developer could easily create powerful widg