YUI Hello World

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

+2


source to share


3 answers


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



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

+5


source


rwallace - It's not really "Hello World", but "Writing your first YUI application" might be worth your time:

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

Note that this was written a while ago and the dependency tree has changed a bit - grab the latest information from



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

Regards, Eric

0


source


You can do worse than checking out Douglas Crockfords' Javascript tutorials.

See this question

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

0


source







All Articles