Going to Ajax Experience

I’ll be standing in the Google booth at the Ajax Experience conference on Friday afternoon.

I guess it is time for me to figure out what all this Ajax hype is all about.

10 Responses to “Going to Ajax Experience”

  1. Hakan Bilgin Says:

    “…I guess it is time for me to figure out what all this Ajax hype is all about…”

    haha…”may fools day”?

    Why aren’t you among the speakers?

  2. Erik Arvidsson Says:

    I don’t know jack about ajax. I know a few things about JS and DHTML but those are not cool any more ;-)

    Seriously I’m not a good speaker and I’m way too shy.

  3. Brad Neuberg Says:

    Erik, it was great meeting and talking with you at the show!

    Best,
    Brad

  4. Mark Williams Says:

    Sorry that this has nothing to do with the post.

    I’m trying to find an answer to a problem and can’t seem to find one - I’m guessing you might be able to help.

    I use a number of prototyped methods in FF to simulate IE methods, which I’m sure you’ll be familiar with. For instance this one

    // to simulate IE’s .selectNodes
    Document.prototype.selectNodes = function(sExpr, contextNode) {
    var oResult = this.evaluate(sExpr, (contextNode? contextNode : this), this.createNSResolver(this.documentElement), XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
    var nodeList = new Array(oResult.snapshotLength);
    nodeList.expr = sExpr;
    for(i=0;i

  5. Hakan Bilgin Says:

    Mark, this is one way of doing it:

    Document.prototype.selectNodes = function(XPath, XNode) {
    if(!XNode) XNode = this;
    this.ns = this.createNSResolver(this.documentElement);
    this.qI = this.evaluate(XPath, XNode, this.ns, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
    aResult = [];
    for(i=0; i 0)? this.xI[0] : null ;
    }
    Element.prototype.selectNodes = function(XPath) {
    return this.ownerDocument.selectNodes(XPath, this);
    }
    Element.prototype.selectSingleNode = function(XPath) {
    return this.ownerDocument.selectSingleNode(XPath, this);
    }

    /hbi

  6. Hakan Bilgin Says:

    Mark, unfortunatelly the brackets messed it up…a new try:

    Document.prototype.selectNodes = function(XPath, XNode) {
    if(!XNode) XNode = this;
    this.ns = this.createNSResolver(this.documentElement);
    this.qI = this.evaluate(XPath, XNode, this.ns, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
    aResult = [];
    for(i=0; i<this.qI.snapshotLength; i++)
    aResult[i] = this.qI.snapshotItem(i);
    return aResult;
    }
    Document.prototype.selectSingleNode = function(XPath, XNode) {
    if(!XNode) XNode = this;
    this.xI = this.selectNodes(XPath, XNode);
    return (this.xI.length > 0)? this.xI[0] : null ;
    }
    Element.prototype.selectNodes = function(XPath) {
    return this.ownerDocument.selectNodes(XPath, this);
    }
    Element.prototype.selectSingleNode = function(XPath) {
    return this.ownerDocument.selectSingleNode(XPath, this);
    }

  7. nitro2k01 Says:

    Speaking of which, are you one the dev’ers behind this: http://googleblog.blogspot.com/2006/05/making-ajax-development-easier.html#links ?

  8. Erik Arvidsson Says:

    I’m not involved in that product.

  9. Mark Williams Says:

    Thanks Hakan, I’ll give that a go and write back here with progress.

  10. Oliver Tse Says:

    Erik,

    Great to see you again!
    Hopefully, you will speak in the 2007 event and who cares if you’re shy!

    Oliver

Leave a Reply