Slashdot Mirror


Yahoo! Releases OSS Ajax and Design Tools

Cocteaustin writes "Today Yahoo! released the Yahoo! User Interface Library. This library is comprised of a number of dynamic HTML utilities and controls for building rich web UIs and Ajax applications. They are made available under an open-source license. In addition, Yahoo! released the Yahoo! Design Pattern Library. This collection of design patterns for Web interaction is intended to provide Web designers prescriptive guidance to help solve common design problems on the Web. Both are free in both senses of the word."

37 of 164 comments (clear)

  1. I for one find that... by gd23ka · · Score: 2, Insightful

    awesomely generous. Hope there are no patent string attached.

    1. Re:I for one find that... by zenquest · · Score: 3, Informative
    2. Re:I for one find that... by AKAImBatman · · Score: 4, Informative

      I seriously doubt that there are any real patents or other strings attached. I think this is more of a publicity and goodwill stunt more than anything else. As far as I can tell, there are no sophisticated components here, just the basic stuff that most AJAX developers already have in their toolkits.

      The list of components is:

      * Calendar
      * Slider
      * TreeView

      That's a pretty small list, and all are components that are fairly common in AJAX circles.

      The core utilities portion of the library is just Yahoo's convenience methods that help abstract away browser differences. Nice if you don't have wrappers like these already, but not very useful if you do. Many AJAX programmers will probably choose to stick with their own libraries.

      A few things that come to mind that are missing from this library are:

      * A text editor components
      * DataGrid/Spreadsheet component
      * Scrolling viewports
      * Feature-rich DHTML replacements for buttons, lists, radio buttons, and other common controls.
      * Application layout engine

      I'm pretty sure that Yahoo! has these types of components, but isn't going to share as long as there is more value in keeping them secret.

      All in all, it's a nice gesture by Yahoo!. Just don't expect a complete library. :-)

  2. Yahoo is the new Google? by Teetow · · Score: 5, Interesting

    So, while Google is expanding its new evil empire, Yahoo is courting indie developers? Strange days on planet earth...

    --
    Teeworlds - it's Super Mario Quake!
    1. Re:Yahoo is the new Google? by hsmith · · Score: 2, Interesting

      more like, they are both competing for us to use their products. no matter what, we don't lose in the end. as long as the tools are free, i don't see a problem

    2. Re:Yahoo is the new Google? by m50d · · Score: 5, Insightful

      Yahoo has always been like this, it's just people didn't notice while google was the new hotness. Seriously, they seem to be doing the Right Thing, and it's about time they got some recognition.

      --
      I am trolling
    3. Re:Yahoo is the new Google? by stupidfoo · · Score: 5, Informative

      Very true. Their developer APIs are the best of any major offering.

      Check them out here

      Their stated goal is to have startups use their APIs as the foundation for new sites/tech.

    4. Re:Yahoo is the new Google? by m50d · · Score: 2

      Erm, BS. Yahoo got nothing but flames when the story about them doing it was posted. Google got 3/4 of people saying "they have no choice, it's better than not being accessible from China at all". Google gets as much love as Apple, and it just kills me when people try and claim they're being persecuted.

      --
      I am trolling
  3. Really good stuff by Vivek+Jishtu · · Score: 3, Informative

    I tried out some of the JavaScript code they are offering. It is a nice library of functions for web application development.

    --
    I lost my signature... help!
  4. show me the money by Douglas+Simmons · · Score: 3, Insightful

    With google's toys they all have mass appeal and drive traffic to the site, ultimately helping google's brokerage. This, while nice for some of us, doesn't. Why would Yahoo bother?

    1. Re:show me the money by generic-man · · Score: 4, Insightful

      Because they want to improve their image in the open source community, making people think better of Yahoo! when it comes time to choose between Yahoo!, Google, and Brand X for their next enterprise service purchase. I also imagine that they could release code in the future that makes it easy to incorporate Yahoo!'s ad technology so that Web 2.0 developers can contextually-advertise and make money from their efforts.

      Google's acts of "driving people to its site" do nothing for Google's bottom line. Google, like Yahoo!, is an advertising company which makes the vast majority of its income from other web sites besides their search engines / portals.

      --
      For more information, click here.
    2. Re:show me the money by Ilgaz · · Score: 2, Informative

      Large portion of FreeBSD and Opensource respect from industry (and end users) came from Yahoo.

      When people questioned seriousness of that OS, you could (and still) say "Yahoo runs on it". Conversation is over. :)

      I have no idea why Google is "good guy" and Yahoo gets amazing misinformed comments on each story. They even called Yahoo "wannabe" when they advertised (existing for years) http://search.yahoo.com/

      (robots.txt exclusion, it exists at least since 1999 if you look to archive.org)

  5. Very nice - great little library by us7892 · · Score: 4, Interesting

    Both pages are clear and the library actually looks very good. Usually, Yahoo is playing catch up to Google, or so it has seemed. This time, Yahoo gets the upper hand. Google is becoming Yahoo, and Yahoo is becoming what Google used to be. Good stuff!

    Not that any of this is ground-breaking, but it is a nice little package.

    Makes Google's download package from last month look pretty lame.

  6. Yahoo UIL and Google Code pages by digitaldc · · Score: 4, Informative

    The Yahoo UIL page and the Google Code pages are both useful and coincidentally look quite similar.

    --
    He who knows best knows how little he knows. - Thomas Jefferson
  7. BSD license by Rob+T+Firefly · · Score: 3, Informative

    Yahoo are releasing this stuff under the BSD License.

    1. Re:BSD license by Otter · · Score: 3, Funny

      It's a trick to avoid complaints from Richard Stallman -- this way he won't know what to denounce first, and he'll simply emit smoke.

    2. Re:BSD license by Ilgaz · · Score: 2, Interesting

      One of the reasons could be that Yahoo uses and advertises FreeBSD since they started.

      I know at least 1 giant company started using FreeBSD because of Yahoo. "It can handle entire yahoo userbase" is really a huge "selling" point.

      http://www.ictp.trieste.it/~cfonda/sudan/OSs/refer ences/freeBSD/Yahoo_and_FreeBSD.html

    3. Re:BSD license by Cocteaustin · · Score: 2, Informative

      Two separate things were released: a Javascript library under BSD, and a design pattern guide under Creative Commons.

  8. When is a design pattern not a Design Pattern? by BarryNorton · · Score: 2, Informative

    When it's a UI idiom...

  9. Nice Accessibility by aliens · · Score: 3, Insightful

    If you look through their Design Patterns you'll see that each has an Accessibility section. Very nice addition and often over looked.

    --
    -- taking over the world, we are.
    1. Re:Nice Accessibility by wk633 · · Score: 2, Insightful

      Very good point. There's absolutely no reason to not provide a keyboard interface to re-order modules. Drag and drop makes no sense to a blind user, but re-ordering the linear content sure does. Unfortunately, sometimes it takes a lawsuit to get anything done in this country. http://news.com.com/Blind+patrons+sue+Target+for+s ite+inaccessibility/2100-1030_3-6038123.html/

  10. Prototype still rocks by esconsult1 · · Score: 3, Interesting
    After using prototype.js for a while now, its hard to switch to a fatter library which is what the Yahoo library seems like. Each one has their good points, and pieces missing, but I think if you decide to use either, you can't go wrong.

    There are some good snippets in there though, and Yahoo has done a good job of introducing code and web services to the developer community, much much more that Google has.

    The design patterns are a very very good thing to expose. Although many of us might have been using similar standards, it sort of brings a number of them under one umbrella and into one place.

    1. Re:Prototype still rocks by at_18 · · Score: 2, Informative

      Prototype may rock, but the website (http://prototype.conio.net) sucks. It's only a page with a download link. So WTF is prototype? Where's the manual, or at least a quick overview of what it does? Not even the .tar.gz file with the library has anything resembling a function list.

      I had to google around to find documentation, such as this site).

    2. Re:Prototype still rocks by lukewarmfusion · · Score: 2, Informative

      My biggest complaint about prototype is the lack of clear documentation. I have the same problem with script.aculo.us, which has a wiki that is often useless to me.

      For a really lightweight effects library, check out moo.fx.

  11. Hurrah! Clap-clap! by SilentOneNCW · · Score: 2, Interesting

    I say, good show! As early comments have already noted it is indeed a strange month - in which Google is falling, losing popularity due to their stock prices and the whole China debacle, while Yahoo is rising, supporting OSS with a suprisingly useful package. I wonder if this is merely another bump in Google's ultimate victory or a shift in the paradigm, a potentially fatal one for Google. However, let this not take away from the original point of the article -- Congratulations, Yahoo!, and thank you. Your generosity will be remembered.

  12. "Library", are you kidding me? by rtilghman · · Score: 4, Insightful


    This is a collection of, count em, THREE main scripts folks. There are free libraries of javascript code out there with orders of magnitude more DHTML functions and scripts. Sure, Yahoo offers some derivatives of each of their primary functions, but one of the categories is a collection of "vented menuing" scripts that could have been written five years ago. Only a multi-national company bent on branding (and yes Google, you're in the same boad) could put up a page like that and call it a Library.

    To be honest, I'm consistently frustrated by the status of OSS code with regard to the DHTML components necessary to support open source RIA technology. If you want to do a vented menu, have a slider control, or YADDA you can find about 450 million scripts scattered across the javascript repositories of the web.

    What it comes down to is this; if you want to do a collapsible menu or drag and drop then you're in luck, we have the widgets in OSS for you! OSS RIA won't be feasible until SVG stabilizes and is as ubiquitous as the Flash plug-in.

    -rt

    1. Re:"Library", are you kidding me? by AKAImBatman · · Score: 3, Interesting

      "Library", are you kidding me?

      Indeed. Most of the posters obviously didn't do much investigation, or are not that familiar with AJAX development. This is the same stuff you've been able to get elsewhere for a LONG time. The Blueshoes and ActiveWidget collections are a lot more useful, albeit not entirely free.

      To be honest, I'm consistently frustrated by the status of OSS code with regard to the DHTML components necessary to support open source RIA technology.

      It's because the market is still young. For right now there's money to be made in DHTML controls. As long as that's true, programmers aren't going to be giving stuff away. (Hell, I've got my stash of super-secret components, and I'm willing to bet that you do too.) Once components become more commonplace, OSS libraries will begin appearing.

    2. Re:"Library", are you kidding me? by Anonymous Coward · · Score: 5, Informative

      I take it you haven't actually downloaded the code then. There are libraries for animation, DOM manipulation, drag and drop, XMLHttpRequest management and event handling (in addition to the slider, treeview and calendar widgets). That's 30 JS files, not including the examples. That's nearly 10,000 lines of code!

      It's fully documented as well.

  13. Re:Design Fixes. by aug24 · · Score: 2, Insightful

    Total Arse.

    Patterns are nothing to do with languages. Patterns are not meant to fix problems in languages, they are conceptual repeating patterns, like 'the need to store', 'the need to display', 'the need to pass data'.

    If your language of choice happens to implement one of these languages (roughly like struct or Object for the DTO pattern), then so much the better.

    Justin.

    --
    You're only jealous cos the little penguins are talking to me.
  14. Please don't use the drag and drop by slashkitty · · Score: 3, Insightful

    It breaks things on webpages and is really pissing me of on their my.yahoo.com site. If you don't need to drag and drop things, why have them? If you don't need to open a page in a new window, why do it? I'm starting to really hate some of this AJAX stuff.

    --
    -- these are only opinions and they might not be mine.
    1. Re:Please don't use the drag and drop by DarenN · · Score: 2, Insightful

      I hate the blink tag too, but don't knock HTML, I just want to go on a rampage and kill the developer and everyone involved in the site. The moral of the story is, blame the developers, not the framework/language. AJAX has some great ideas. It'll take time to mature, though!

      --
      Rational thought is the only true freedom
  15. this is not a widget library by Gopal.V · · Score: 5, Informative
    The important peices are *NOT* about widgets. This is about the ygPos,ygAnim and ygDom libraries which are invaluable to most people (at least me).
    The animation systems are actually pretty awesome. The cacheTween() functionality in there takes it very close to what I've been doing with flash previously.

    Morover, Y! has been using these for the past 6 months on different browsers before they open sourced. That part is really what most people look at.

  16. Comments interesting and appreciated... by ursabear · · Score: 4, Insightful

    I sincerely appreciate the comments of those who know (much more than me) about web UI, techniques, technologies, and patterns. As a server-side engineer and developer, I don't spend a lot of time on the front end. It's nice to see how /.ers digest this type of information and re-present it from lots of angles.

    With that said, I'd also like to say that the pages are pretty well done. It is obvious that a great deal of time and effort was spent conceiving, writing, and, producing these beginnings of libraries and instructions. I found the effort to be commendable and interesting.

    For someone like me, these types of efforts actually help me understand quicker and keep me interested.

  17. Re:Design Fixes. by samuel4242 · · Score: 2

    NP-complete problems are pretty easy (i.e. linear) when you encode them in unary. (Base 1). The size of the encodings become exponetially large so the computation time to solve the problem is now linearly related to input size. It's all a question of finding the right language.

  18. Re:Bloody Breadcrumbs by AKAImBatman · · Score: 2, Insightful

    * AKAImBatman thwacks nagora upside the head

    The back button doesn't work if you land directly on the page. Breadcrumbs also provide information to the user about their location independent from the ability to move to those locations. Pay attention, young padewon.

  19. Not all their APIs are the best by Wee · · Score: 2, Insightful
    Very true. Their developer APIs are the best of any major offering.

    Not really. Have you ever looked at their ads API? It can't even bgein to compare to what Google offers.

    It takes about 90 seconds to sign up and start getting access to advertising data via Google's API. It's SOAP, so pretty much every programming language besides BASIC and Forth are supported. Google has loads of documentation online regarding their ad API program. And it's free. You get to do what you want with the data that you get back.

    Yahoo has had an advertising API for 5 years now, but what does it do? What does it take to get access to it? We know it uses REST, but what data can you get back from it? How much does it cost? Where is the sample code? Is there a support forum where I can talk to other developers? What are the terms of service? Can I use it to get 3rd party access to others' data? Are there any other restrictions on using it?

    The API page linked above doesn't answer any of those questions. Hell, the ads API isn't even listed on the developer resources page you linked to. Why is that?

    So if I email xml-ysm@yahoo-inc.com and ask the above questions, how long before I get a response? Will all my questions be answered, or will I get more questions back then answers? Try it. I did last spring. It's an interesting response to say the least.

    You're right in that Yahoo has some very nice developer resources. But this is one area where Google substantially outshines Yahoo. Send a short email to the above address and ask to get access to the Yahoo ad API. Seriously. Just send a one-liner. Take a moment to read through the canned response you get back. And then ask yourself "Why don't they just put all that info on a web page somewhere out in the open?" That you even have to email someone to begin with is odd (and annoying). What is Yahoo hiding? Why are they being so cagey?

    Compare that email response to the AdWords API page at Google. Now step back and take in the Yahoo ads API page (and, I suppose the one other page regarding their API). Add in the email repsonse. Now take in all the info on Google's API. Notice a difference? Just a small one, maybe?

    There's just no comparison whatsoever. Google is open, free and easy with their ads/cost data sharing. Yahoo is, to be kind, not so much any of those things.

    Anyway, even if you DID manage to get API access, you better not hang your hat on that since access could get pulled for any number of spurious reasons. Take a look here for an interesting read. Yeesh.

    Yahoo itself might have a decent suite of APIs, but such notions haven't as yet affected the folks who came over from Overture.

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  20. Opera Users... by Egataes · · Score: 2, Informative

    ...can't access a number of Yahoo! pages (nearly anything apart from their search page) due to a browswer restriction on Yahoo's end. I wonder if this extends to their other material.