Tag Archives: YUI
Selecting XML Nodes with JavaScript (Peril of getElementsByTagName)
Parsing XML in the browser can be a tricky beast. There are many different wrong ways to do it, which can leave you cold and naked in a snowstorm if you're not careful. So, let's put on the metaphorical electric one-sie of standards based code and let the power of Edison heat our JavaScript code like the innards of a tauntaun.
Rethinking JavaScript Grids and DataTables
In the world of front end engineering, one must consider the end-user of the interface first, and above all other things. The priorities should not start with development ease, nor external library preference. The priorities should start with the needs of the consumer of your end product. Evolution of your engineering skill is also a [...]
Posted in Interface Design, JavaScript Also tagged Conservative Design, Dojo, ExtJS, jQuery, linkedin 4 Comments
Faster YUI DataTable with 5 Lines of Code
Holy Reflows Batman! The typical usage of a DataTable in the Yahoo User Interface JavaScript library involves passing a string into the constructor signifying the ID attribute of the container you want to attach the DataTable to. However, the YUI DataTable loves the DOM and creating nodes individually using DOM methods. Normally that’d be fine, [...]
Write More Efficient Javascript in YUI with CSS Selectors
This is an updated version of a previous article entitled Using DOM Query Libraries in YUI for the new version of YAHOO.util.Dom included with YUI 2.3.0 as well as including support for passing context nodes into Dom functions. Here we are again. I just love those CSS Selectors. If you haven’t read Part One of [...]
Namespacing outside of the YAHOO Namespace
YAHOO.namespace(). A lovely little utility function subject that I’ve written about before. If you’ve never heard of YAHOO.namespace or aren’t even familiar with namespacing, I’d read that article first. I’ll be honest, using the YAHOO namespace to store my own code makes my bunghole tighten just a little bit. What if I had written code [...]
YUI Code Review: YAHOO.namespace
This is the first in a one+ part series of posts (the + is optional) reviewing the actual code contained in the YUI library. This series is not intended for advanced JavaScripters, so if you’re insulted by reading things you already know, you probably aren’t a very good student. YAHOO.namespace. This is a great little [...]

Subscribe
Follow
Faking Onload for Link Elements