This is the first installment of YUI Blog’s new In the Wild column. It’s an experiment; I’ll point to stories and discussion about YUI, to community-written examples, tutorials, feedback and commentary, and to cool uses of YUI across the Web. Please help me out by sending tips and links for this column — as well as comments and constructive criticism — to me: natek at yahoo-inc dot com. Thanks!
On his Muffin Research Labs site Stuart Colville shows how to re-write HTTP request so you can quickly toggle between localhost and online resources. He uses the “fantastically useful cross-platform http debugging proxy” Charles to do the magic: “Through this method we can use some simple regex to re-write a request [pointing to] yui.yahooapis.com to [instead] point at YUI files in your localhost development environment. … Now when you hop on the train or flight you can simply turn on the charles and your yui dependent js will still work as expected.”
Dave Dash on his Spindrop blog shares a TextMate snippet for YUI
em calculations. Because of the way YUI Fonts preserves font zoomability for IE users, the size of an em in IE is slightly different than in other A-Grade browsers. The conversion math for EMs in YUI is part of YUI Grids documentation, but he’s right that tools to do the math for us are nice. His snippet keeps Grids’ em units but gives control to “people like us who want to be super precise down to the pixel.”
The Web 3.0, 6 Bladed Razors, 7 Minute Abs blog has been the destination for a string of great posts from Zach Leatherman. Most recently he’s penned “YUI DataTable and You: Making the Marriage Work” as well as “Wash your mouth out with SOAP and the YUI Connection Manager.” Thanks, Zach, for contributing this good stuff (and bonus points for funny titles and writing.) You’ve been sharing your insights and thoughts about YUI for a while now, and I really appreciate it and am listening.
The Cheerful Curmudgeon noticed the nice things Dr. Dobb’s Journal had to say about YUI last week and chimed in with his observations on YUI and the process of choosing a library:
The key difference between Turner and Wang’s evaluation technique and my own is simple: I skipped the technical evaluation. The existence of the Yahoo! web site (and several other YUI-based sites) was sufficient for me. I felt no need to spend any time actually writing code to “see if it worked.” I looked only for the differentiators between the toolkits and the YUI documentation immediately leaped to the fore.
And finally, though it’s not big news that countless projects at Yahoo! use YUI, it’s been awhile since we’ve explored YUI use at Yahoo! in any depth. But we were thrilled to see that YUI had been a part of the new Yahoo! Green site. In addition to Yahoo! as a company pledging to go carbon neutral, Yahoos put together this new site to aggregate environmental news, create calls to action, and track progress. As part of the launch, Yahoo! co-founder David Filo announced that Yahoo! is going to donate a fleet of hybrid taxis to the greenest city in the country. Green is the new purple! Good stuff – corporations can’t always enact the best values of their employees, and on a personal level it’s gratifying that Yahoo! continues to do so with respect to environmental issues.