logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Brian Miller
    • Posted on Mon 26 Feb 2007 02:38 PM

    @Jake:

    1. Read this: {Link}

    In fact, the more time you spend reading quirksmode, the more this kind of thing will click. You might even consider buying a copy of PPK's book for reference.

    2. One of the simplest functions in YUI is the namespace function, which is there to save the Y folks some typing. They use multiple levels of objects for namespacing, so if they want to create a new sub-library, they can start with:

    YAHOO.namespace( 'foo.bar.baz' );

    instead of:

    YAHOO.foo = {};

    YAHOO.foo.bar = {};

    YAHOO.foo.bar.baz = {};

    I hope that explains things a bit.

    @Bill E:

    I've had some spirited discussions with people about the security issue. What it boils down to, in my mind, is that the information coming out of the server for this sort of thing is the same, on the wire, as what you're pulling down in a regular domino-generated web page. Having it in JS or JSON is no better or worse than plain HTML. If you're worried, use HTTPS. If you're still worried, pack the script before you send it.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: