• Home
  • Quick Start
    • Configurator
    • Download YUI 3
  • Documentation
    • User Guides
    • Examples
    • Tutorials
    • API Docs
  • Community
    • Gallery
    • Blog
    • Forums
    • YUI Theater
    • Calendar
  • Contribute
    • YUI on GitHub »
    • File a Ticket
    • View Tickets
    • Dashboard
  • Other Projects
    • YUI 2
    • YUI Compressor
    • YUI Doc »
    • YUI Builder
    • YUI PHP Loader
    • YUI Test
    • YUI Website

Blog: Archive for July, 2008

|
Newer Entries »

YUI Theater: Dion Almaer of Ajaxian and Google on Gears, App Engine, and More

Dion Almaer of Google and Ajaxian.

Google, of late, has been stepping up its public contributions to the world of frontend engineering: Gears, GWT, Doctype, and Google I/O are all manifestations of this assertive public disposition. And it’s no surprise that some of this engagement with the discipline stems from the hiring last year of Ajaxian cofounder Dion Almaer. You see Dion’s leadership in events like I/O, but you also see his philosophy in steps like Google’s hosting of major JavaScript libraries on Google’s CDN…not just Google’s library, but a cross-section of commonly used kits are freely hosted. (Note: YUI is not on this list yet, but Dion tells us it will be soon; in the meantime, YUI is freely hosted on Yahoo’s CDN.)

Dion joined us at Yahoo a few weeks ago for us for a special F2E-focused tech talk about what he and his colleagues are excited about these days — from front (Gears) to back (Google App Engine). As you’d expect from Google, these are smart teams taking on challenging problems and delivering in a big way.

Dion was kind enough to let us shoot video of his talk and share it here; thanks to Ricky Montalvo for handling the YUI Theater videography.

download (m4v)

In Case You Missed…

Some other recent videos from the YUI Theater series:

  • Dav Glass: “Rich Text Editing with YUI” (Yahoo! Video | .m4v download)
  • Julien Lecomte: "High Performance Ajax Applications" (YUIBlog | .m4v download)
  • Douglas Crockford: "The State of Ajax" (YUIBlog | .m4v download)
  • Nate Koechley: "The YUI CSS Foundation" (Yahoo! Video | .m4v download)

Subscribing to YUI Theater:

  • YUI Theater RSS feed
  • YUI Theater on iTunes
By Eric MiragliaJuly 7th, 2008

Graded Browser Support Update

Updated July 8th: The chart below has been corrected to include Safari 3.1†, replacing Safari 3.0†.

This post announces an update to Graded Browser Support. The GBS page on the YUI site always has the most current information. This post includes a list of primary changes, the updated chart of browsers that receive A-grade support, the GBS forecast, and notes specific to the YUI Library.

Primary Changes

These changes are included in this update.

  • A-grade support for Firefox 3 begins.
  • A-grade support for Firefox 2 is reduced to Win XP and Mac 10.5.
  • A-grade support for Opera 9.5 begins on Win XP and Mac 10.5.
  • A-grade support for Win 98 is discontinued, as previously forecast.
Win 2000 Win XP Win Vista Mac 10.4 Mac 10.5
Firefox 3.† A-grade A-grade A-grade A-grade A-grade
Firefox 2.† A-grade A-grade
IE 7.0 A-grade A-grade
IE 6.0 A-grade A-grade
Opera 9.5† A-grade A-grade
Safari 3.1† A-grade A-grade

The dagger symbol (as in “Firefox 3.†”) indicates that the most-current non-beta version at that branch level receives support. Put another way, † means “the most recent” instead of “all.”

GBS Forecast

In addition to the effective-immediately changes, we’re keeping our eyes on pending developments.

  • Internet Explorer 8

    GBS does not extend A-grade support to beta versions of browsers. (They receive X-grade support by definition.) However, it’s important to be aware of forthcoming releases, especially from established brands that enjoy rapid adoption once generally available (GA). We are currently watching the development progress of Internet Explorer 8.

    We made an exception to our “no-betas” stance during IE7′s beta phase in recognition of IE’s market share and ability to promote rapid adoption. The exception — committing development and QA resources to provide A-Grade prior to a GA release — gives us an opportunity to learn the new browser’s quirks and provide feedback while it is still being developed. And it means our sites are prepared when it goes GA. We will likely extend the same accommodation to IE8. Stay tuned.

Notes Specific to the YUI Library

  • YUI version 2.5.2

    YUI 2.5.2, released May 28, 2008, includes full support for Firefox 3.0 and Opera 9.5, even though those two browsers were just added to GBS in this update.

By Nate KoechleyJuly 3rd, 2008

Implementation Focus: AA | RF’s Redesign of the Pulte Homes Website

Fred WelterlinAs a presentation layer architect, graphical alchemist, and Web Standards advocate for Avenue A | Razorfish, Frederic Welterlin‘s experience and areas of focus include designing, architecting, and programming client-side templates, providing interaction and technical recommendations, and developing standards and processes for best of breed Web development.

Frederic has eleven years experience working as a user interface designer and developer — responsible for conceptual and practical design development for a wide range of business and industry needs.

The new Pulte Homes website designed by Avenue A | Razorfish using a variety of YUI components.

Tell us a little bit about your site redesign for Pulte Homes.

The new Pulte Homes, Inc. web redesign was launched in May 2008 to help consumers find homes using a rich and interactive map-based search tool, learn about available homes using interactive multimedia, organize and save properties of interest using personalized notebooks, and finally connect with Pulte sales agents directly through a dynamic, context-specific contact form.

The project was scoped as an end-to-end design and implementation effort lasting approximately 18 months. We used the following and YUI components as part of the redesign:

  • Dom Collection
  • Event Utility
  • Element Utility
  • Animation Utility
  • Carousel Control (by Bill Scott)
  • Container Family
  • TabView Control
  • Slider Control
  • AutoComplete Control
  • Button Control
  • Grids CSS
  • YUI Compressor
  • Yahoo! Design Patterns Library

You chose YUI for the implementation of the Pulte Homes website. What factors went into that decision? You know and use other libraries on a daily basis (and choose them over YUI for some projects) — why was YUI the right choice in this instance?

The presentation layer JavaScript library decision was made based on the following factors:

  1. Time to Market: a need to have solid, pre-built functional components that can be quickly customized to match the desired interaction model and “look and feel.” The web standards based approach that YUI employs makes it easy to customize components while also addressing common development issues such as browser compatibility, performance and accessibility.
  2. Robust set of widgets: a desire to use a front end framework that fits with the client approved interaction specification (for example, our UX team’s use of the Auto Complete design pattern was accommodated using the YUI AutoComplete component). In the deadline-driven agency environment, integrated development practices help to reduce development time and improve continuity.
  3. Reliability: a sense of comfort/security in using products that are already proven on Yahoo! web properties. The YUI website, API, and supporting community are all excellent resources in providing help, feedback, and examples.

One aspect of AA|RF implementations of YUI that’s striking is the degree to which you customize the look and feel. When you use a component like Container, Slider or TabView, you do a full custom skin. How much effort is it for you to do so? What tips do you have for other designers or developers who are skinning YUI?

Pulte is a great example of the typical clients that hire AA|RF — they do so not only because of our end-to-end service capabilities, but also because of our reputation for design and UX excellence. Since branding and user experience are so important to many of our clients, we place considerable effort into building high quality interfaces.

For example, we designed a modular front-end architecture that would accommodate not only Pulte.com, but also two sub brands: DelWebb and DiVosta. All three web sites use the same back-end, content management system, and front-end HTML templates and YUI components. We then dynamically change the CSS reference, and therefore the skin, based on domain. This was accomplished using web standards based separation of the presentation layers (HTML, CSS, and JavaScript). Since YUI also follows web standards best practices, it was easy to integrate functional components with three different skins.

YUI components in use on the Pulte Homes site as designed by AA | RF.

In the image above, the Auto Complete, Slider, and Button Control modules use the same HTML and JavaScript, but different style sheets.

We recommend designers and developers consider using an integrated approach to web development, especially for large scale implementations involving interdisciplinary teams. For Pulte we used Yahoo! based interaction design patterns, functional components, styling guides and performance tools together to achieve the branding and user experience needs that our clients expect in world class products.

Pulte Homes is an ASP.Net site. What does a .Net developer need to know about YUI before getting started — any special tips and tricks?

YUI, like most client side JavaScript frameworks that we use, works well on any platform. The high level technical choices made at the beginning of a project are the factors that most affect developers on a day to day basis, especially in terms of integration pains. As more and more processing occurs on the browser due to demand for such technologies as AJAX and rich internet applications, architects must consider the implications of using end to end frameworks (for their standardized development patterns) versus using customized solutions. We could have used ASP.NET Ajax for most of the components, but we decided that YUI was a better fit for the level of customization and interaction that we wanted. So for this particular project, the most important “trick” was to have an architecture and development process that cleanly incorporates the customized features into the .NET environment.

In your Pulte implementation, we see a custom yui.js rollup that contains your selection of YUI components. You implement this instead of drawing the individual files off Yahoo! servers. Is it ever appropriate to use a third-party hosting service (as Yahoo would be in this case) on your customer’s sites?

Yes, absolutely. From a performance point of view, the advantages of geo-based file serving, caching, HTTP requests, etc, are compelling reasons to serve YUI from a content delivery network. We have actually referenced the Yahoo! Exceptional Performance site for best practices on how to improve performance. The new Pulte site, being a “Web 2.0″ feature rich experience, requires above average bandwidth requirements. We are planning on implementing a number of new performance enhancing tasks over the next several weeks based on information gathered using such tools as YSlow.

As for the use of third-party hosting services, we have found that some clients (and I am not talking about Pulte specifically here) are simply uncomfortable with having key components like JavaScript libraries served from a third party due to lack of SLAs (service level agreements).

What are you most proud of in the Pulte Homes project?

The new home search page is probably the coolest feature- it provides consumers with map-based searching for available homes, coupled with a rich set of filters around the most important criteria that people use to look for homes. This feature is a great mash-up of Microsoft technologies (ASP/.NET), Google technologies (Maps), and Yahoo! technologies (YUI). While the three companies are battling each other for market share, we have found a way to combine some of their best services to help people find homes. I like the symmetry of that…

What’s on the horizon for AA|RF as far as the front-end is concerned? Are there emerging technologies coming into the mainstream that you’re looking at for some clients? I’m thinking, of course, about things like AIR, Gears, HTML5, Silverlight, etc.

Since joining the Microsoft family last year, we have built a number of Silverlight applications to help bring this emerging technology into the limelight. In addition, we feel that mobile web application development is on the cusp of hitting the mainstream in the United States, especially with the advent of Apple’s iPhone and its associated SDK. We are working hard to find ways to bring value to our clients via the mobile channel.

We have always put business and user needs ahead of technology — and will continue to do so. All the new technologies that are emerging offer a lot of potential in terms of solving problems more effectively and elegantly under certain contexts. However, the reality is that many of our clients are yet to fully harness the power of the Web 2.0 technologies that have emerged in the last few years. They are looking for us to do that in the near-term before they can look ahead.

By Eric MiragliaJuly 3rd, 2008

A YUI Grids-based WordPress Theme — YUI Autogrid Minimal

As I had to upgrade my personal blog to the newest WordPress version (and my old theme had been hacked to death), I chose to start from scratch with a WordPress theme.

[You can download the new theme here.]

As I am a lazy person and I think blogging is first and foremost about content and availability, I wanted to re-use as much as possible the good stuff other people have done and then tweak it a bit to fit my needs.

Voilå! YUI autogrid minimal, a WordPress theme based heavily on YUI’s Grids CSS and Base CSS with a few changes to fit the HTML that WordPress creates for you.

To work around the issue of YUI Grids being optimized for a certain resolution, I used the autogrids trick blogged here previously.

This is what this WordPress theme gives you:

  • clean, simple markup
  • a grids layout that changes with the available browser space
  • a fixed right side menu for easy access of the search and pages
  • an hCard in the footer to download to Outlook or Mail
  • Nice, easy-to-read typography without any fancy distractions

What it does not give you (as I hadn’t had time to look into these):

  • Ajax that nobody really needs
  • the new WordPress enhancements like the dynamic sidebar
  • pop-up comments (come on, this is 2008!)

You can see a few messier, older versions of this theme at work on my personal blog and on Scripting Enabled, the event I am organising about accessibility hacking later this year.

By Christian HeilmannJuly 2nd, 2008

Bookmarklet for the YUI Logger Control

Rajat Pandit's YUI Logger bookmarklet.

Rajat Pandit has put together a bookmarklet for YUI Logger that allows you to pop open a logger console on-demand — a big convenience when you’re debugging. Check out Rajat’s blog and bookmarklet page for more on this project.

Keep in mind that the YUI Logger Control outputs messages logged via YAHOO.log; to see full YUI debugging messages, you’ll need to use the -debug version of YUI files. For example, to use the -debug version of the YUI Event Utility, use http://yui.yahooapis.com/2.5.2/build/event/event-debug.js.

By Eric MiragliaJuly 1st, 2008
|
Newer Entries »

Pages

  • About
  • Contribute
  • YUI Jobs

Recent Posts

  • YUI Weekly for May 17th, 2013
  • Yahoo’s International Team Is Hiring!
  • YUICompressor 2.4.8 Released
  • YUI 3.10.1 Released to Fix SWF Vulnerability
  • YUI Weekly for May 10th, 2013

Archives

Categories

  • Accessibility (25)
  • CSS 101 (6)
  • Design (51)
  • Development (590)
  • Frontend Jobs at Yahoo (13)
  • Graded Browser Support (8)
  • In the Wild (63)
  • Miscellany (11)
  • Open Hours (44)
  • Performance (23)
  • Releases (25)
  • Target Environments (11)
  • Yeti (3)
  • YUI 3 Gallery (29)
  • YUI Events (45)
  • YUI Implementations (55)
  • YUI Theater (146)
  • YUI Weekly (37)

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
© 2013 YUI Blog