22.07.2013 Views

Sausalito Developer's Guide - Parent Directory

Sausalito Developer's Guide - Parent Directory

Sausalito Developer's Guide - Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3—8 Chapter 3: User Interface<br />

Beta Draft 11. Copyright ' 2001. Cobalt Networks, Inc. All Rights Reserved.<br />

description="This item says hello to the world"<br />

url="/sample/hello/helloWorld.php"><br />

<br />

<br />

web/helloWorld.php<br />

<br />

<br />

Hello, World! <br />

<br />

<br />

Putting all of these files together creates the web page shown in Figure 3—2 on page 3—9.Now,<br />

we can take advantage of the UI libraries. It might seem odd that the next example is, in fact,<br />

longer than the non-UIFC version, but for a use as trivial as this, the overhead of UIFC<br />

outweighs the benefits. When pages get longer and more complex, however, the benefits<br />

dwarf any overhead.<br />

web/helloWorld.php<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!