Question

I'm trying to do some experimental stuff for which YUI looks like the best solution. The Getting Started documentation is all written on the assumption that you already know how to use YUI and only need to find out how to use specific components. Is there any documentation available that tells you how to go from an empty public_html directory to some kind of Hello World equivalent in YUI (preferably version 3)?

Was it helpful?

Solution

YUI is used like you would use any javascript: you need to include the relevant js files in the head section of your html and then write some javascript to tie them together (call the yui methods).

The page source for the simplest yui button example http://developer.yahoo.com/yui/examples/button/btn_example01_clean.html is probably the best place to start: shows how the head section would look like and what you can do with the button.

OTHER TIPS

rwallace -- It's not exactly "Hello World," but "Writing Your First YUI Application" may be worth your time:

http://www.insideria.com/2008/05/writing-your-first-yui-applica.html

Note that this was written a while back, and the dependency tree has changed a little -- grab the latest info from

http://developer.yahoo.com/yui/articles/hosting/?animation&autocomplete&get&json&MIN&norollup

Regards, Eric

You could do worse than to check out Douglas Crockfords tutorials on Javascript.

See this question

https://stackoverflow.com/questions/11246/best-resources-to-learn-javascript

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top