Archive for December, 2008

Why Load Testing Ajax is Hard

Today we are fortunate to have a guest post by Patrick Lightbody, most recently of BrowserMob fame (and previously Selenium work, OpenQA, WebWork, and more). Let’s listen in to him talk to us about load testing, and let him know your thoughts in the comments below:

I’ve been developing and testing complex [...]

UniversalComet: Make any web page a Comet end point

How about if all you needed to do was:
PLAIN TEXT
JAVASCRIPT:

 

var server = new Addressable.Server({ useGears: true });

 

server.onmessage = function (message) {

        log(message)

}

 

server.connect(function (id, url) {

    log(”Connected. Messages will appear here.”)

    $(”#clientId”).html(”Client-Url: “+url)

    $(”#testForm”).attr(”action”, url)

})

 

function log(msg) {

    var log = $(”#log”);

        log.html(”"+msg + “<br />” + [...]

If you won’t file a bug, maybe test in a screen reader?

John Resig wants us to file bug reports to browser vendors but what about accessibility? Is that a responsibility that we have as Web developers?
Todd Kloots of Yahoo! shows us how to configure our machine for screen reader testing with full instructions:

When developing using the WAI-ARIA Roles and States, you need to test your code [...]

MD5 hash collision gets people worried about PKI

The paper on MD5 considered harmful today delivered at the 25th Annual Chaos Communication Congress in Berlin has got people scared again.
The team showed an MD5 collision which is well explained by Simon Willison (he is so good at getting to the meat, a tough skill indeed):

Use an MD5 collision to create two certificates with [...]

Ajax Experience Videos: Performance and Security

Thanks to the folks at Adobe, we’ve got video of pretty much every session from the Ajax Experience 2008 that we can share on-line, free of charge. We’ll release them over the next week or so in batches. What better way to spend your New Year’s holiday than curled up with a laptop learning about [...]

New Years Resolution: File a browser bug?

John Resig has laid out his thoughts on a Web Developer’s Responsibility, and it comes down to working with various up and coming browser versions and filing bugs:

It’s safe to say that the biggest tax on a web developer is spending so much time dealing with browser bugs and incompatibilities. Thus it has become the [...]

Britain from Above

The Britain from Above BBC programme and website doesn’t seem to use the BBC library Glow but instead has nice Mootools effects on the front page and a jQuery Carousel on sub pages.
The effects made me feel like I was on a Flash site at first, but the real interest is the amazing visualizations that [...]

Web Security: Number one attack vector?

Jeremiah Grossman, our number one Web security chap, has some interesting words as we jump into 2009:

It’s unanimous. Web application security is the #1 avenue of attack according to basically every industry data security report available (IBM, Websense, Sophos, MessageLabs, Cisco, APWG, MITRE, Symantec, Trend Micro, SecureWorks, ScanSafe, IC3). This is in addition to reports [...]

Eeking out performance in script loading

Steve Souders has detailed the coupling of script loading with various asynchronous techniques with examples that show the timings that you can get. First he sets the scene:

One issue with async script loading is dealing with inline scripts that use symbols defined in the external script. If the external script is loading asynchronously without thought [...]

tyPhoGraphic: Declarative CSS Transformations

The demo above is tyPhoGraphic a declarative CSS transformation library.
If you check out a demo with a browser that supports the CSS declarations, you can see that the work is done via:
PLAIN TEXT
HTML:

 

<div effect=”zoomin” duration=”1700″>2009</div>

<div effect=”zoomout” duration=”1600″  start=”-200″>2009</div>

<div effect=”wobble” duration=”1000″>2009!</div>

<div effect=”shake” duration=”1200″>2009!</div>

 

<div effect=”shake” duration=”1000″ start=”200″>Happy </div>

<div effect=”waggle” duration=”1200″>New</div>

<div effect=”waggle” duration=”1200″>Year!</div>

 

<div effect=”zoomout” duration=”800″ start=”500″>Party </div>

<div [...]