When it comes to web development libraries, YUI is an incredibly mature option. It’s got a wide array of utilities, widgets, plugins, and it comes with suite of developer tools and rich documentation.
YUI has a lot to offer but for some, the size for the library may be a bit overkill. In cases where you’d rather have simple Ajax functionality or a less involved package structure, Simple YUI may be a good option.
Essentially, Simple YUI is a combination of basic functionality offered in the standard YUI toolkit that doesn’t require a lot of the boilerplate code for instantiating certain objects.
Instead, Simple YUI loads, instantiates, and binds all of the objects native to the Y namespace. Convenient, right? Here’s what you get:
- DOM Event functionality
- UI effects
- Basic Ajax IO
The developer also makes it really easy to include additional functionality through a custom use() method. This function will import any feature native to YUI3 on demand.
Of course, convenience often comes at an expense. If you’d rather separate portions of your objects into their own instances or want more control over the order in which components load, then Simple YUI may not be your best option.
Otherwise, I’d say it’s not a bad way to go.
Speak your mind...