In the Wild for February 19, 2009
It's been a big week in the YUI world, with YUI 2.7.0 being released and our third birthday coming up. But, as usual, most of the news is coming from the YUI community, with new implementations, articles, and adaptations emerging every day. Here's some of the YUI news we've noticed in the past few weeks:
- YUI Sightings — Flurry, Real-time Mobile Anlaytics: According to VentureBeat: "San Francisco-based Flurry has launched a new mobile application analytics tool that works across a variety of mobile platforms, including the iPhone and Google’s Android. Today, the company is announcing that more than 300 developers have used its free service since the beta launched in October... The program also works with BlackBerry and Java ME platforms (though not Palm). Flurry lets developers see exactly how consumers use their applications, and provides information on which features of the application are used and for how long." Flurry uses a third-party charting library and a wide assortment of YUI components in its Google Analytics-style dashboard. (Original source.)
- YUI Sightings — WeUseCoupons.com: New site WeLoveCoupons.com adopts YUI while availing you of a frugal selection of links.
- Sarah Gray of DevChix on Using YUI DataTable with Rails: Writes Sarah: "I am currently working on an Rails app that integrates the YUI DataTable, and in going through the tutorials I noticed they are all assume a PHP back-end. I also saw a number of people asking how to get this to work with a Rails controller, so I thought I’d write up my experience in the hopes that it helps someone else." She provides detailed code samples and exposition in her post.
- YUI Sightings — Favicon Editor from Ed Eliot, Cyril Doussin, and Stuart Colville: Old friends Ed, Cyril and Stuart have formed Project Fondue, and one of their new creations is a web-based favicon editor. The frontend is built with YUI, including YUI Loader and a fantastic implementation of YUI Color Picker. (Original source.)
- YUI Sighting — Diddit, a Social Lifelist for the Web: diddit is a new experience-sharing site that makes your best life experiences sharable in a checklist format. Check out TechCrunch's coverage of their launch. TechCrunch writes that diddit "is looking to help you check off all the things you’ve done with your life, and discover new things that you’d like to do. The site allows users to browse through thousands of activities in categories ranging from the bars you’ve visited to 'Bizarre Retro Candies' you’ve eaten at one time or another. To coincide with the launch, Ludic Labs, the company behind Diddt, has also announced that it has closed a $5 million funding round led by Accel Partners with KPG Ventures also participating." They're launching with a frontend laced with more than a dozen YUI components.
- YUI Sighting — MyMathMind, a New Math-learning App: MyMathMind is a new math-learning application that leverages YUI to create a varied set of math challenges. From the site's description: "Master basic mathematics by completing addition and multiplication challenges. Challenges are presented in table format to help reinforce a pattern of understanding." Progress is depicted graphically as you go.
- YUI Sightings — StanfordAlumni.org: Good to see YUI being used on the alumni website up at The Farm, where, many years ago, Yahoo was founded in a trailer by two grad students. YUI Core (Yahoo, DOM, Event), TabView and Containers are all in use.
- Matt Snider on Augmenting YUI Cookie: Matt Snider of Mint is back with more built-on-YUI innovation in his exploration of Nicholas C. Zakas's YUI Cookie Utility. Cookie is robust, Matt writes, but "there are a few methods that were missing: ‘getNumberOfCookies’, ‘getCookieSize’, and ‘isCookiesEnabled’. The ‘getNumberOfCookies’ function returns the number of cookies currently set; simply splitting around ‘;’ seems to work in the browsers I tested. Let me know if there is a better way or browser issues I missed. The ‘getCookieSize’ method does a pretty good estimation of the cookie size, by assuming all alpha-numeric characters are not escaped and thereby stored as 1 byte and all non-alpha-numeric characters are escaped and thereby stored as 3 bytes. Although, the later is not always true, it is a fairly accurate assumption; I am open to a better regex that considers the other characters which are not escaped. Lastly, the ‘isCookiesEnabled’ enabled function determines if Cookies are enabled, first by looking at the ‘navigator’ object, then by checking if there is a cookie set, and lastly by adding a test cookie." Check out Matt's blog for the full scoop and code samples.
- AutoComplete Inputs with PHP, Pear and YUI: Vikram Vaswani of DevZone writes about using YUI with PHP and PEAR, noting that YUI's AutoComplete provides all the frontend magic you need to create search-suggest and other innovative interactions. "Add a little bit of server-side glue, in the form of a PHP script that talks to a database to generate valid suggestions, and enabling this functionality in a Web application now becomes a matter of hours, rather than days. In this article, I'll show you how to do this using three different libraries: PEAR HTML_QuickForm, YUI, and Dojo. Come on in, and find out more!"
- Bret Levy's Dialog-with-Confirmation Demo: Bret Levy of Levycode is back with a new demo "showing how to setup a dialog submission with a confirm step... We have a sample form which accepts some fields and has save, delete and cancel buttons. The form itself 'blocks' submission by normal means -- that is, there is no submit button and the <form> tag contains code to block any browser's 'standard' or 'default' submissions (such as when the enter key is pressed)." Check out his post for full code and the working demo.
- YUI Sighting — SeatHound: Looking for tickets for Springsteen at the HP Pavillion? Check out SeatHound, a richly YUI-based site for comparing aftermarket ticket prices. DataTable, Slider, and a bevy of other YUI components are in play.
- Mmutham's Wiki on Using YUI and DWR Together: Interested in adding YUI to your existing DWR project (or vice versa)? mmutham's Wiki has a new article out walking you through some of the key steps. (Original source.)
- YUI-Shed on YUI and Google Gears Data Sets: YUI-Shed helps you get up to speed using YUI DataTable with data from a Gears dataset. (Original source.)
- Easy YUI Compressor for Windows: User hani on the YUILibrary.com developer forums has released a Windows app that wraps YUI Compressor. This is one of several YUI Compressor UIs that we've seen lately, all of which are helping to make YUI Compressor accessible to an even wider developer base. (Original source.)
- YUI Sighting — SpinCloud: SpinCloud is an intriguing maps/weather mashup making use of a wide swath of YUI components -- including AutoComplete, Button, TabView, Cookie and much more. (Original source.)
- Using YUI Uploader with CakePHP:
Thanks to everyone who wrote in with tips for this column. Let us know in the comments if we missed something big, and we'll get it into the next post.