PDA

View Full Version : Getting started with YUI



ssmith
8 Mar 2007, 10:04 AM
Is there a "how to get started" document that takes you through some basics of how to use the YUI library?

Even though I understand Javascript (and am willing to dig much deeper), I am having trouble envisioning diving straight into the API docs and making something basic happen.

I just need to see how to get a simple, single-page using the libraries. I think the libraries are so well documented that I can run quite a distance with a little getting started help.

Thanks.

tryanDLS
8 Mar 2007, 10:21 AM
I would suggest you start by looking at the examples in the download - they will give you a good starting point for learning some of the different widgets. Also on the new site (this is still in dev and not complete) there is a tutorial for how to build some simple things http://www.extjs.com/tutorial/introduction-ext. I would also suggest that you read some of blog posts at jackslocum.com for further background on some of the components. Also, you might read some of the sticky posts in all the forums, as they tend to point to some of the more common things you might run across and check out the wiki http://www.yui-ext.com/manual/doku.php

BernardChhun
8 Mar 2007, 10:22 AM
take a look here : http://www.ensatfms.com/ext/test/

ssmith
8 Mar 2007, 11:24 AM
Thank you.

After downloading the YUI source and the EXT source, I went to http://www.yui-ext.com/deploy/yui-ext/docs/ and picked the code out of one of the dialog samples, changed each *.js and *.css uri to my local machine, and got myself started.

Thank you for the references and suggestions.

Animal
8 Mar 2007, 11:28 AM
I suggest you download the latest Ext 1.0 Alpha package from the deploy directory, unzip it to your drive, and use the docs locally, AND the latest code. It's slightly different from the library downloaded through the DOWNLOAD dialog.

Ext 1.0 comes bundled with YUI (and in fact other foundation classes), so you don't need to go anywhere else.

ssmith
8 Mar 2007, 2:15 PM
Is there anything that ties YUI or YUI-ext to PHP?

I see a lot of PHP, including this page. I assume the YUI and YUI-EXT are independent of the development environment, and that all the features of the YUI and YUI-ext do not depend using PHP.

Is this right?

Thanks.

JeffHowden
8 Mar 2007, 4:01 PM
That is absolutely correct. In fact, future revs will most likely include ColdFusion files with complimentary functionality to the already included php files. So, those that have the ability to run ColdFusion files, but not PHP can simply alter the examples to use the cfm files and see working examples.