YUI你好世界

发布于 2024-08-04 16:37:42 字数 154 浏览 1 评论 0原文

我正在尝试做一些实验性的事情,YUI 看起来是最好的解决方案。入门文档都是在假设您已经知道如何使用 YUI 并且只需要了解如何使用特定组件的情况下编写的。是否有任何可用文档告诉您如何从空的 public_html 目录转到 YUI 中的某种 Hello World 等效目录(最好是版本 3)?

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)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

尬尬 2024-08-11 16:37:42

YUI 的使用就像使用任何 javascript 一样:您需要在 html 的 head 部分中包含相关的 js 文件,然后编写一些 javascript 将它们连接在一起(调用 yui 方法)。

最简单的yui按钮示例的页面源码
http://developer.yahoo.com/yui/examples/button/btn_example01_clean。 html
可能是最好的起点:显示头部的外观以及您可以使用按钮执行的操作。

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.

街角迷惘 2024-08-11 16:37:42

rwallace ——这不完全是“Hello World”,但“编写你的第一个 YUI 应用程序”可能值得你花时间:

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

请注意,这是不久前写的,并且依赖树发生了一些变化 - 从

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

问候,
埃里克

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

乖乖 2024-08-11 16:37:42

你可能会比查看 Douglas Crockfords 的 Javascript 教程更糟糕。

请参阅此问题

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

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文