• 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
  • YUI
  • Blog

Blog

YUI Weekly for May 17th, 2013

By Derek GathrightMay 17th, 2013

Welcome to YUI Weekly, the weekly roundup of news and announcements from the YUI team and community. If you have any interesting demos or links you’d like to share, feel free to leave a comment below.

  • This week saw two new releases for YUI projects. First up was YUI 3.10.1, a patch release to resolve a vulnerability detected in the .swf files used in the IO utility and Uploader components. Please see this security bulletin for more details on the issue and steps to ensure your applications are secure. Also released this week was YUICompressor 2.4.8, which includes improved compression results as well as general fixes.

  • At this week’s Open Roundtable (YouTube) we invited our friends at Wells Fargo to join us. After some quick intros, we began a discussion about their products and interest in YUI, then dove a bit deeper into some talking points regarding DataTable, Skinning, and Tooling. If DataTable development is something interesting to you, you’ll find quite a bit of discussion in the video about details of the component and its upcoming roadmap.

  • YUI’s Shifter build tool got a version bump to v0.4.0 this week and you can upgrade via npm -g install shifter. This update fixes an issue that was discovered after our migration to Grunt for building releases. The version bump is a minor version (as opposed to a patch version, e.g. v0.3.9) because this does introduce a backwards incompatibility. If you are using a copy directive in any of your component build.json files, the 2nd parameter is now relative to your component’s build path as opposed to the source path, so you’ll need to make the appropriate update when you upgrade your copy of Shifter. An example of this change can be seen in commit 609f7d, which includes updates to /src/io/build.json and /src/uploader/build.json.

  • Thanks to the AlloyUI crew for our awesome new t-shirts! If you are unfamiliar with AlloyUI, it’s a self-described “UI framework built on top of YUI3 that provides a simple API for building high scalable applications.” Their website is full of goodies, such as examples, Tutorials, and API docs. Check it out!

  • Do you have experience with JavaScript, Java, Internationalization, and love solving complex problems at massive scale? Yahoo’s internationalization team is hiring!

  • New and updated Gallery modules include: debounce, dd-momentum-plugin, task, scrollspy, io-utils, and affix.

  • Links of the Week (thanks to JavaScript Weekly )

    • Draft Specification for ES.next (Ecma-262 Edition 6)
    • Introducing Augmented JavaScript
    • Introduction to Map and Reduce in Javascript
    • JavaScript Regular Expression Enlightenment
    • … and more
Posted in: YUI Weekly | Place a Comment »

Yahoo’s International Team Is Hiring!

By Jenny DonnellyMay 17th, 2013

Job Description

We’re looking for an experienced and passionate front-end engineer to join the Internationalization team at Yahoo! You must have demonstrable mastery of and passion for JavaScript and be well-versed in various front-end technologies. You love solving complex problems at massive scale, have built robust and intuitive APIs that have withstood the test of time, and embrace the best practices of performance, security, maintainability, code reuse, and usability. You also have excellent communication skills, possess great attention to detail, and are independent and resourceful. The position is located in Sunnyvale, CA.

Interested candidates should send a resume and cover letter to yui-jobs (at) yahoo-inc.com

Minimum Job Qualifications

  • Absolute mastery of JavaScript.
  • Expert in YUI.
  • Skilled in HTML/CSS.
  • Demonstrated experience building reusable JS components that are modular, performant, and maintainable.
  • Strong Java skills using Struts or other MVC framework.
  • Experience with Linux/Unix dev environments.
  • Knowledge of Maven.

Preferred Job Qualifications

  • Knowledge of internationalization processes and platform development desirable.
Posted in: Development | Place a Comment »

YUICompressor 2.4.8 Released

By Joey SmithMay 16th, 2013

We are pleased to announce the the immediate availability of version 2.4.8 of YUICompressor. The first YUICompressor release to come forward since the project moved to the new Contributor Model, 2.4.8 includes a number of improvements submitted by members of the YUICompressor community.

Special Thanks

In addition to the community at large, special thanks goes out to following individuals for sticking with us during this period of transition and shepherding their pull requests through the new process: @danbeam (Dan Beam), @faisalman (Faisal Salman), @killsaw (Steven Bredenberg), @ademey (Andrew Demey), @sbertrang (Simon Bertrang), @danielbeardsley (Daniel Beardsley), @bmouw, @bandesz, @ryansully (Ryan Sullivan), @apm (Adam Moore), @nlalevee (Nicolas Lalevée), and @tml (Joey Smith).

Changes

  • Fixes for “important” and conditional comment processing
  • Fixes a bug in the support for JS 1.7 style getters/setters
  • Better compliance and improved compression in CSS results
  • Many improvements to parameter parsing and batch mode

Join the YUICompressor Community

As we continue to expand our adoption of the new Contributor Model, we invite any who are interested in the progress of YUICompressor to join us on the mailing list, file issues or PRs on the GitHub repo, or just help us spread the word: YUICompressor lives!

If you know of systems that have integrated YUICompressor into their projects or codebases, please drop us a line or add a comment here so we can help push new versions of YUICompressor deeper into the community.

Release Links

  • Compare v2.4.8 source code to v2.4.7
  • Download the 2.4.8 release
  • Download the 2.4.8 source archive
Posted in: Development | 2 Comments »

YUI 3.10.1 Released to Fix SWF Vulnerability

By Andrew WooldridgeMay 14th, 2013

Details

Due to a recently discovered SWF vulnerability, we are releasing YUI 3.10.1. Any project which is self-hosting YUI 3 .swf files should read the security bulletin and take action to resolve potential vulnerabilities on your servers.

YUI 3.10.1 is identical to 3.10.0, with the vulnerable .swf files replaced with patched files. YUI 3.10.1 also reflects fixes in our build system that prevented some files from being included in the release. No other code changes have been included with this release.

You can find YUI 3.10.1 on the CDN, as a download, and on npm.

Special thanks to Aleksandr Dobkin and Sebastian Roschke of the Google Security Team for reporting the issue.

Development continues against our current Development Schedule. Please check out the Change History Rollup for this release.

Deprecated Modules

In accordance with our Deprecation Policy, we are taking this opportunity to announce the deprecation of Simple YUI, and our intention to deprecate all .swf-related features in a future release. Stay tuned to the Contributor Mailing List for ongoing discussion on these topics.

Posted in: Development, Releases | Place a Comment »

YUI Weekly for May 10th, 2013

By Derek GathrightMay 12th, 2013

Welcome to YUI Weekly, the weekly roundup of news and announcements from the YUI team and community. If you have any interesting demos or links you’d like to share, feel free to leave a comment below.

  • YUI3 IO Utils is a new Gallery module by Juan Dopazo (@juandopazo) that includes extra utilities for doing IO request using promises.

  • Matt Parker (@Lamplightdb) attended Yahoo’s Hack Europe event and wrote up a nice review of the event for the YUI blog. Also in attendence was core team member Satyen Desai who gave a presentation on YUI for Hackers.

  • Yeti v0.2.22 was released this week and includes improvements for testing slower browsers. See the release announcement for more details.

  • For those interested in YUI’s Template component, Caridy Patino (@caridy) posted a template registration proposal with some ideas for discussion. Head on over the the discussion thread to chime in with any thoughts and feedback.

  • Getting started with YUI3 and AlloyUI was a presentation given by Zeno Rocha (@zenorocha) at the Jax Conference in Mainz, Germany. In this presentation, Zeno provides an introduction to front-end development tools, YUI, Alloy UI, and dispels some myths about front-end vs back-end development. Great stuff!

  • This week’s Open Roundtable (YouTube) featured discussion about a proposed date for YUIConf 2013 (Nov 6th-8th), the development schedule for the next release, a heads up on build snafus as a result of the migration to Grunt-built releases (addresses issues #704 and #718), and pull requests.

  • New and updated Gallery modules include: flyweight-tree, io-utils, itsadatetimepicker, itsaeditmodel, itsaformelement, itsamodelsyncpromise, itsatabkeymanager, itsaviewmodel, itsaviewmodelpanel, model-list-union, nmresizer, nmpjaxplus, and test-dom.

  • Links of the Week (thanks to JavaScript Weekly)

    • Use ECMAScript 6 Today
    • Debugging & Profiling Node.js
    • Grunt JavaScript Automation for the Lazy Developer
    • Hard Thresholds on JavaScript Code Coverage
    • “You Don’t Know JS” (book series)
    • … and more
Posted in: YUI Weekly | Place a Comment »

Yahoo Hack Europe 2013

By Matt ParkerMay 9th, 2013

IMG_1388I went down to Yahoo! Hack Europe 2013 in London this weekend. I’ve got to say, Yahoo! can put on a good show. The venue and creature comforts were all very impressive. Saturday morning was filled with tech talks from a bunch of Yahoo! and other speakers (like Twilio and Firefox OS) about their technologies and APIs we might want to use. It was nice to see Satyen bigging up YUI (and at the end to see some hacks that used it a bit).

The event itself was a solid 24 hours (although I went home to bed, I’m too old to pull all-nighters) and produced some nice hacks using a range of APIs. I enjoy these hack weekends for the chance to play with APIs that I would not normally have much reason to use, to work with new people, and to learn about new stuff I don’t otherwise come across.

Contextificator3 My own effort was the ‘Contextificator‘ – a bookmarklet that tries to make the ‘I wonder what/who/where that is -> select text -> new tab -> search -> read -> return to first page’ pattern I frequently find myself doing. It uses the Yahoo Content Analysis API to look at the page (or text selection), and then pulls out search results, images, wikipedia text, or a map from Yahoo! BOSS and other APIs, and puts it all in a sidebar on the page you’re reading.

I had resolved to try to do things reasonably properly, even though it was a hack. I didn’t want to end up with 24 hours worth of spaghetti code, which is usually what happens. So I did try to structure things properly, extending View and Model and Base where that seemed right, writing and loading them all as separate modules, and so on.

So after about 10 hours I’d done quite a lot of that set up, trying to get a reasonable structure for the code… and all I had to show for it was an empty iframe. At that point I was beginning to feel slightly dispirited. However, the next morning it paid off. It all came together very quickly, which left me enough time to tussle with CSS so that it looked vaguely presentable.

Now on reflection I’m sure that at least some of the overall code design decisions I made were wrong. That’s no surprise. But by the end I was struck again by the strength of YUI and that even in a 24 hour hack I reckon the investment in trying to structure your code properly (instead of a mess of callbacks and dubious hacks) was well worth it. That’s largely because YUI gives you such a strong base to build from and establishes good practices to follow.

So yay to hack weekends. Yay to YUI. And happily the Contextificator won second prize overall, and I got my giant cheque presented by Nick d’Alosio (of Summly fortune – though of course the cheque he got from Yahoo! is several orders of magnitude larger, [and I'm old enough to be your father, dammit])!

(If you’re wondering, it’s called ‘Contextificator’ mainly because my daughter uses a ‘stapleriser’ to make holes in paper.)

mattparker About the author: Matt Parker (@Lamplightdb) Matt is creator of Lamplight Database Systems, a powerful and affordable management system for charities. He is also a father of three, trombone and bazouki-ist in Albino, and a lapsed climber. Matt does not get to spend as much time as he would like writing JavaScript.

Posted in: Development, Miscellany | 1 Comment »

Yeti 0.2.22 Released

By Reid BurkeMay 8th, 2013

Today’s release of Yeti v0.2.22 includes improvements for testing slower browsers. In particular, we focused on the slow and sometimes flaky Android emulators hosted by Sauce Labs.

We continue to rely on Yeti in CI and we’ve fixed a few bugs along the way. Today, we run 17,202 tests in browsers on every YUI library commit using Yeti. An additional 45,665 tests run about once a day. We can easily reach 100,000 tests running daily with our setup (assuming 4 commits per day) and we still have more browsers and devices yet to come.

Changes

  • Automatically restart stalled browsers when using WebDriver.
  • Avoid Selenium proxy in Sauce Labs to support IE 6-9.
  • Maximum duration for sessions in Sauce Labs is now 2 hours.
  • Support for HTTP_PROXY and HTTPS_PROXY environment variables when installing Yeti dependencies. Thanks, @ryanvanoss!
  • Crash fix: prevent calling _launch twice when starting a browser.
  • Crash fix: properly close duplicate connection.
  • Bugfix: Yeti exits with code 1 when tests fail using the JUnit XML reporter.
  • Bugfix: Fix bug in Batch.disallowAgentId.
  • Bugfix: Uncaught exceptions are now reported in JUnit XML results.
  • Bugfix: Improve handling of browser-sent events on load.
  • Upgrade glob and request dependencies.

Get Yeti

You can upgrade now by running npm install -g yeti. Learn more about Yeti at yeti.cx.

Release Links

  • Compare v0.2.21 source code to v0.2.22
  • v0.2.22 documentation
  • Unit code coverage
  • Functional code coverage
Posted in: Development, Releases, Yeti | Place a Comment »
« 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