Progressive Enhancement and the Yahoo! User Interface Library (YUI)

Forums » Dev.Opera » Archived Article Discussions

This topic has been closed. No new entries allowed.

Reason: You can now post comments on articles on Dev Opera

Forum rules and guidelines

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

27. September 2007, 10:02:42

Opera Software

chrismills

Posts: 378

Progressive Enhancement and the Yahoo! User Interface Library (YUI)

As a web developer, you'll know exactly how annoying it can be getting your sites to work consistently across all browsers and devices. Yahoo! have had the same problem as you, which is why they developed the Yahoo! User Interface (YUI) to give you a solid set of solutions to cross browser issues. In this article, Yahoo! web developer Christian Heilmann discusses cross browser problems, how progressive enhancement helps you, and what the YUI has to offer.

( Read the article )

Chris Mills
Developer Relations Manager
Editor, dev.opera.com and labs.opera.com

27. September 2007, 17:59:27 (edited)

FataL

Opera freak

Posts: 1443

The other cool feature of the YUI is that it comes as a hosted version...

I would add to 3 already mentioned benefits a probability that some sites would link to the same library in the same place and then browser will use already cashed version of library. So, it's definitely can speed up loading of some pages.
Main browser and mail: 9.27 • Secondary: 10.63 (still has annoying UI regressions: inability to detach tab normally, passes source file w/o extension to external editors)
extendopera.orgReport bugs to public BTS

28. September 2007, 10:34:12

Opera Software

chrismills

Posts: 378

That's a good point - thanks FataL!
Chris Mills
Developer Relations Manager
Editor, dev.opera.com and labs.opera.com

29. September 2007, 11:58:11

Opera Software

dstorey

Posts: 237

Another benefit is that if there are bugs in YUI, with a hosted version, I can get Nate or someone else in the YUI team to fix the issue and it will be fixed for all sites using the script. Without using the hosted version, the sites will not be fixed until tey update to the latest version.
<q>Knowledge speaks, but wisdom listens.</q> - Jimi Hendrix

David Storey, Chief Web Opener, Product Manager Opera Dragonfly, Opera Software ASA

1. October 2007, 16:54:45

FataL

Opera freak

Posts: 1443

Introducing YUI - The Rising Giant (Smashing Magazine)
Main browser and mail: 9.27 • Secondary: 10.63 (still has annoying UI regressions: inability to detach tab normally, passes source file w/o extension to external editors)
extendopera.orgReport bugs to public BTS

22. November 2007, 11:00:46

jmudya

Posts: 9

Originally posted by chrismills:

That's a good point - thanks FataL!

'
It completely agree

28. December 2007, 21:06:59

Profesjonalna

Posts: 17

FataL - thank for Smashing Magazine link - it's really good article!
.............................
Regards

Tomasz Gorski

5. January 2008, 12:01:31

jonyellow

Posts: 7

FataL is absolutely right here, the hosted version of YUI can really speed up performance and page loading times.

17. January 2008, 11:06:56

JoFricks

Posts: 5

without a question an excellent article at smashing magazin. thank you FataL for the hint.

19. January 2008, 11:42:12

Jo-Hanna

Posts: 7

after the "dead" of the netscape navigator the cross-browser problems gonna be much smaller. anyway opera rock. btw. really good article but i don´t work much with the yahoo-thingy.

23. January 2008, 22:56:04

duncanbrown

Posts: 11

Thanx for the link FataL. Very useful article

25. January 2008, 11:30:44

JoFricks

Posts: 5

the introducing YUI is nice to read but how many of you have some experience with the Yahoo UI? is it worth to took some time to learn more about it? at time i´m going to learn more about the opera widgets thingy because it looks really interesting.

26. May 2008, 11:57:28

motorfest

Posts: 13

Thanks you very much for connecting of all of this information! good article!, influencing of potential in providing of compatibility of browser can not be underestimated.

29. May 2008, 11:59:39

evilopera

Posts: 10

I understood so, a site did a library, and then a browser will use already the prepared version of library and it will accelerate the load of pages. Very interestingly. Remained to know how these must use. Where to take it <js>and</css>

29. May 2008, 12:00:30

evilopera

Posts: 10

I understood so, a site did a library, and then a browser will use already the prepared version of library and it will accelerate the load of pages. Very interestingly. Remained to know how these must use. Where to take it <js>and</css>

1. August 2008, 21:28:02

deathshadow

Excitable Boy

Posts: 710

Advocating the use of YUI to anyone is a complete and miserable /FAIL/ in terms of accessability, cross browser compatability, clean semantic code and common sense. That steaming pile of bloated rubbish is filled with so much rampantly BAD code it makes the Opera forums look good. (No offense)

Between it attempting to disable (and often failing to) the system metric for large font/120 dpi users, use of confusingly cryptic PRESENTATIONAL classes, wasting time defining **** that 90%+ of websites would and often should never use - I cannot believe anyone could promote this as something new or even experienced coders should try to use.

Like most frameworks, the presentational classes and use of classes as styling (instead of to APPLY styling, there's a difference) pretty much defeats MULTIPLE POINTS of using CSS. (particularly restructuring the site without editing the HTML, and getting presentation the hell out of the markup).

GAH, taking web design advice from Yahoo is like getting abstinance tips from Paris Hilton. It's another fat bloated framework trying to be a shortcut - and like most shortcuts it causes more problems than it solves.

Yet again, another example of how Opera developers may know how to make a good browser, but from their HTML coding advice and the mere nature of their websites one questions their very competance. Though a simple view source of this page can prove that... 25k of markup for 5k of content - complete and miserable /FAIL/.

Forums » Dev.Opera » Archived Article Discussions