• 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 May, 2007

« Older Entries

Douglas Crockford To Speak at the Yahoo! Widgets Conference on "JavaScript: The Good Parts"

The friendly folks at Konfabulator (the engine behind Yahoo! Widgets) are hosting their first ever Konfabulator Developer Day on Thursday, June 7, in Sunnyvale. See the Developer Day blog post on the Yahoo! Widgets Blog for more on this event and what will be covered.

Yahoo! JavaScript architect Douglas Crockford will be keynoting the conference with a talk entitled "JavaScript: The Good Parts." This brand-new presentation grows out of Douglas’s conviction that JavaScript is a muddle. Much of it is incredibly good; much of it is flawed. The standards bodies won’t fix JavaScript because they can only add to what’s there…they can’t remove the parts that are ill-conceived or harmful. Douglas advises that developers approach JavaScript the way Michaelangelo approached an unsculpted block of marble — that is, with an eye toward its intrinsic beauty. In this talk, he’ll try to guide you toward the intrinsic beauty of JavaScript.

The YUI Theater hopes to be there to record the talk, but if you’re a Yahoo! Widgets developer (or are interested in becoming one) and you’d like to hear Douglas’s latest thoughts about the language, this is a great opportunity to catch one of his lectures in person.

By Eric MiragliaMay 29th, 2007

YUI Theater — Grady Booch: “The Promise, the Limits, the Beauty of Software”

Grady Booch, IBM Fellow

Software development has been, is, and I believe will remain fundamentally very hard. We have been able to build things we could not have conceived of some years ago because we have improved in our practices and our processes and our tools and in our languages. But every time we’ve overcome those barriers we realize we want to build more and more complex things. And, for many economically interesting systems, the problem is now one of scale. Not just computational scale or platform scale but scale of the sheer amounts of software that we have.
— Grady Booch

Grady Booch is an IBM Fellow and the author of numerous books on software design and architecture as well as volumes on UML (which he co-developed with Ivar Jacobsen and James Rumbaugh). Last week, Grady stopped by Yahoo! to meet with Yahoo! software architects and, while here, he gave an open lecture for engineers. This is a version of a lecture originally given to the British Computer Society in honor of Alan Turing.

While Grady doesn’t look specifically at frontend engineering in this talk, the migration of software logic and complexity into the web browser in rich internet applications means that fundamental tenets of software architecture are increasingly relevant to the world of web development. For those of you who are working with YUI (or other UI libraries/technologies), I think you’ll find Grady’s insights about software unique, germane, and invaluable. Many thanks to Grady for allowing us to air the video here.

Video of Grady’s lecture is available in an embeddable and platform-agnostic Flash format (embedded below) and as an iPod-compatible download. (If your computer doesn’t recognize the .m4v file, try renaming it to .mp4).

In Case You Missed…

Some other recent videos from the YUI Theater series:

  1. Nicholas Zakas: "Maintainable JavaScript" (Yahoo! Video | .m4v download)
  2. Douglas Crockford: "Quality" (Yahoo! Video | .m4v download)
  3. Victor Tsaran: “An Introduction to Screenreaders” (Yahoo! Video | .m4v download)
  4. A Conversation with David Weinberger (Yahoo! Video | .m4v download)

Much more content, including Douglas Crockford’s series of lectures on JavaScript, is available on the YUI Theater website.

By Eric MiragliaMay 28th, 2007

YUI Theater — Nicholas Zakas: “Maintainable JavaScript”

We were fortunate in 2006 to convince Nicholas Zakas to come to Yahoo to be part of the My Yahoo! team (which with Nicholas’s help has rolled out several important releases recently). We knew Nicholas from his work on Professional Ajax and Professional JavaScript for Web Developers, the latter of which we’ve often used here in training sessions. We were lucky to get him — we had to trade several future first-round picks to the Patriots, but it was worth it. (Sorry, Nicholas, about your Pats this year…)

Since his arrival, Nicholas has been supporting engineers throughout Yahoo with a series of tech talks on JavaScript, and I’m happy to be able to share one of those with you here. In this talk on "Maintainable JavaScript," Nicholas walks through some of his common-sense guidelines as well as some more nuanced advice about how to engineer products that are both performant and maintainable.

Video of Nicholas’s lecture is available in an embeddable and platform-agnostic Flash format (embedded below) and as an iPod-compatible download. (If your computer doesn’t recognize the .m4v file, try renaming it to .mp4).

In Case You Missed…

Some other recent videos from the YUI Theater series:

  1. Douglas Crockford: "Quality" (Yahoo! Video | .m4v download)
  2. Victor Tsaran: “An Introduction to Screenreaders” (Yahoo! Video | .m4v download)
  3. A Conversation with David Weinberger (Yahoo! Video | .m4v download)
  4. John Resig: "Advancing JavaScript with Libraries" (Yahoo! Video | .m4v download)

Much more content, including Douglas Crockford’s series of lectures on JavaScript, is available on the YUI Theater website.

By Eric MiragliaMay 25th, 2007

YUI In the Wild #2

Based on positive feedback to last week’s post (thanks!), I’m going to keep writing these In the Wild columns. There’s tons of great YUI content created by the community but it can be time consuming to find, and so I hope this roundup continues to be useful. (Also new this week is a Features Job Opening sidebar module on this blog. We hope it’s unobtrusive over there, while still getting the word out about a few of our key opportunities.)

  • JavaScript Libraries: The Big Picture was presented at XTech in Paris last week by Simon Willison. Simon is the rare person who has real experience with multiple leading JavaScript libraries. Because of this he’s able to compare and contrast them with insight. He also gives great presentations, and this is no exception: the 52 slides provide an overview of leading libraries, their design choices, and his thoughts on the state of things.

  • Another Tabbed Interface, a new post from Yahoo! London’s Lawrence Carvalho’s personal blog, shares how he built Draggable/Reorderable Tabs and Closable Tabs by extending YUI Tabs and Aspect Oriented Programming (AOP) concepts.

  • Creating a fancy slider in JavaScript using YUI on 20bits.com has some helpful tips for understanding, creating, and extending sliders. In my personal opinion, sliders–in all their varied visual manifestations–can be powerful interface widgets but are too often underused.

  • Using the YUI Menu Control by Dan Wellman is a tutorial covering how to create a basic menu, how to render and display the menu, and how to change the menu’s styling. Thanks Dan!

  • Remote JavaScript includes without the performance penalty is a two-part series by Ryan Grove. Fast is good, so take a look.

  • ETags are not a panacea — Speaking of speed, IMB IBM Senior Technical Staff member Patrick Mueller writes on their developerWorks site about the role and impact of ETags and explores ways to make your sites and apps faster. In addition to the insights about ETags, he takes a look at YUI’s free hosting and has this to say (my emphasis):

    Good stuff! The Expires and Cache-Control headers render this file pretty much immutable, as it should be. When Yahoo! releases the next version of the toolkit, it’ll be hosted at a different url base, and so will be unaffected by the headers of this particular file; they will be different urls. This sort of behaviour is highly optimal for web 2.0-ey apps, which are wont to download a lot of static html, css and javascript files, which, for some particular version of the app, will never change. And thus, by having the files cached on the client in such a way that it never asks the server for them again, the app will come up all the quicker.

  • Beginning AJAX using the YUI Library is the perfect little-step-by-little-step guide to getting started with Ajax and YUI from Estelle Weyl on the CSS, JavaScript and XHTML Explained blog.

  • Planet Yazaar creates and maintains community-supported additions to YUI (Yahoo + Bazaar = Yazaar). One contribution to that site so far is a YUI Unobstrusive Javascript Validation from Jamie Curnow.

  • ASP.NET Web Controls for the Yahoo! User Interface Library by Luke Frost Foust looks to be a very promising effort. He writes:

    In order to make these controls work well in an ASP.NET environment, it is a useful exercise to create custom web controls which can make it easy to drop these controls onto any ASP.NET page. Currently, the following YUI controls are supported: Button, Calendar, Panel, Tooltip, Logger, Menu, and TabView.

  • When we put together this year’s internal front-end engineering summit at Yahoo! back in March — an annual event bringing together hundreds of our front-end specialists from across the globe — we invited Brad Neuberg to give the keynote. His speech was titled “Inventing the Future” and he blogged about the experience this week.

  • BarCamp in Charlottesville on June 15/16 lists YUI prominently on their agenda, so if you’re in the Virgina area you might want to check it out.

  • Molu – The Search Spider is a new search engine (in beta) that uses YUI extensively.

  • Scott Jungling, Web Apps developer at California State University at Chico, has been upgrading their templates with a nice dose of YUI CSS Grids (and Reset and Fonts).

  • Detailed steps to read data from a MySQL database and display it in a jMaki-wrapped Yahoo DataTable widget from Arun Gupta’s Blog.

OK, that’s it for now. If you have links for me to cover in the next installment (or feedback on the format) please add them to the comments, send them to me directly (natek at yahoo dash inc dot com) or tag them yui.blog on del.icio.us.

(Update: Note that I corrected two errors above: it’s Luke Foust not Frost, and Patrick Mueller works at IBM not IMB.)

By Nate KoechleyMay 23rd, 2007

YUI Theater — Douglas Crockford: “Quality”

“I’m going to cover the whole range of human emotion, from the heights of creative ecstasy all the way down to the depths of technical despair. And, as you’d expect, we’re going to start with the latter.”

That’s how Douglas Crockford began his talk on software quality as he concluded our annual (internal) frontend engineering conference in March, and things only got more interesting from there. With his penchant for setting the concerns of the moment in the longer context of software engineering and its history, Douglas starts with a discussion of the software crisis, a topic of deep concern to engineers in the early days of the industry when computers and their programs began to increase in complexity. The software crisis of the 60s was marked by software projects that went over budget, went over time, and were beset by failure. Douglas contends that the software crisis never went away; we just learned to live with it. After awhile, it was no longer news, but rather part of the software engineering landscape. Says Douglas: “It’s not reported [today] in the same way that we don’t report that the sun will exhaust its supply of hydrogen.”

If you want to know what San Jose’s Winchester House can teach you about software, if you want to know why software engineers are by necessity optimists, if you want to know why computer science has failed to teach us how to manage software projects (and what you can do about it), if you want to know why legacy software (“the crap we did before we knew how to do things right”) is a liability, this presentation is for you.

By Eric MiragliaMay 16th, 2007

The Inaugural “In the Wild” Post

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.

Lots of people are finding and loving Douglas Crockford’s JavaScript video series from the YUI Theater. Digg’s founder Kevin Rose wrote (receiving 1584 diggs) that “[The JavaScript Programming Language is an] excellent presentation and great insight on the history and basics. Douglas rocks, yahoo is real lucky to have him!”.

The same Crockford videos gave Philip Hofstetter “Newfound respect for JavaScript.” As he wrote after watching them, “[He] really managed to open my eyes… The day when I have seen those videos, I understood that I had the completely wrong ideas about JavaScript… If you are interested to learn a completely new, powerful side of JavaScript, I highly recommend you watch these movies.”

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.

By Nate KoechleyMay 15th, 2007

YUI Theater — Victor Tsaran: “Introduction to Screen Readers”

Picture of Victor from Video. Click here to watch video on Yahoo! Video.

YUI Theater‘s newest video is a 27 minute Introduction to Screen Readers by Victor Tsaran, an engineer here at Yahoo! and our Program Manager for Accessibility. He begins by showing us the core functionality of screen readers and how they interact with the desktop. In the second part he demonstrates how he uses them to explore and understand web sites, how sites are “linearized”, and how using semantic markup to build sites supports accessible navigation and usability.

If you haven’t had the opportunity to play with a screen reader firsthand this video is must-watch stuff. And for everybody, don’t miss the closing minutes of the video when Victor resets the screen reader’s voice setting from the super-slow (necessary for us mere mortals to understand) back up to the impossibly-fast (that he uses everyday).

Related URLs

  • YUI Theater — Doug Geoffray: “From the Mouth of a Screenreader”

Technical Notes

A downloadable and iPod-compatible MPEG version of this video is available for download. The .m4v file format we’ve used for this video (and many others in the YUI Theater) signifies that it is an MPEG-4 file with video; if you’re not downloading to view on an iPod, and/or are using a system that doesn’t recognize the .m4v extension, try renaming the file to .mp4.

By Nate KoechleyMay 14th, 2007
« Older 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