My talk at the Yahoo! Frontend Engineering Summit in December 2007. It explains how you can embed the YUI component by component on demand rather than in one big chunk.
22. First Aid remedies:
– Use the minified YUI versions
– Cut down on included YUI
components by using the combined
component includes.
– Use the hosted YUI versions.
28. Use cases:
– We don’t want to make users load
things they don’t need.
29. Use cases:
– We don’t want to make users load
things they don’t need.
– Distribution (badges, banners) works a
lot better if it is one <script> and not 3.
30. Use cases:
– We don’t want to make users load
things they don’t need.
– Distribution (badges, banners) works a
lot better if it is one <script> and not 3.
– We can offer implementers to trigger
extra functionality with markup:
31. Use cases:
– We don’t want to make users load
things they don’t need.
– Distribution (badges, banners) works a
lot better if it is one <script> and not 3.
– We can offer implementers to trigger
extra functionality with markup:
“add an ‘animated’ CSS class for
smooth transitions”
40. YUI Loader:
– Knows about dependencies
– Automatically gets the newest
hosted versions
41. YUI Loader:
– Knows about dependencies
– Automatically gets the newest
hosted versions
– Works without yahoo.js
42. YUI Loader:
– Knows about dependencies
– Automatically gets the newest
hosted versions
– Works without yahoo.js
– Extendable with non-YUI
components(!)