Tuesday, May 1st, 2007

Creating an Ajax Rating Widget

Category: Articles

Laurent Haan has taken the time to write a detailed article on Creating an Ajax Rating Widget. Not only does Laurent take the time to walk through the implementation of a rating widget, but he ports it across Dojo, Prototype, Mootools, and jQuery. It is interesting to go through the examples in each library and Read the rest…

Posted by Dion Almaer at 7:22 am

4 rating from 229 votes

Wednesday, April 25th, 2007

Seven JavaScript Techniques You Should Be Using Today

Category: Articles

Dustin Diaz has written an article on the Seven JavaScript Techniques You Should Be Using Today. Dustin delves into: Branch when possible: When performance matters, it’s often advisable to branch out your functions in a way that ensures processor-intensive or memory-hungry tasks won’t be frequently repeated. One of the most common scenarios where this situation Read the rest…

Posted by Dion Almaer at 6:37 am

3.1 rating from 40 votes

Tuesday, April 10th, 2007

Dojo Footprint and Ajax Performance Recommendation

Category: Articles, Editorial, JavaScript, Library

Coach Wei of Nexaweb has been spending time on the Dojo Footprint and Ajax Performance Recommendations. Coach compares the Ajax usage scenarios, from building a rich application, to doing a little HTML enhancement. He ran a Dojo Performance Overhead Challenge which involved creating a simple widget with Dojo, and one from scratch: After building and Read the rest…

Posted by Dion Almaer at 9:47 am

3.8 rating from 26 votes

Capabilities vs. Quirks: When sniffing is OK

Category: Articles, Browsers, JavaScript

Andrew Dupont has written a detailed report on Capabilities vs. Quirks: a look at browser sniffing. The purists go on a rant if they ever see you touch navigator.userAgent, but Andrew gives reasons why Prototype has items such as: < View plain text > javascript Prototype.Browser = {   IE:     !!(window.attachEvent && !window.opera), Read the rest…

Posted by Dion Almaer at 7:27 am

4 rating from 26 votes

Thursday, April 5th, 2007

Protecting a JavaScript Service

Category: Articles, Security

There is increasing buzz over security with JavaScript, and people are stepping up to the plate. In How to Protect a JSON or Javascript Service, Joe Walker looks at a few solutions such as: Use a Secret in the Request Force pre-eval() Processing Force POST requests Joe implements some of these in DWR, including: Prefix Read the rest…

Posted by Dion Almaer at 8:37 am

3.5 rating from 31 votes

Tuesday, April 3rd, 2007

Ajax CRUD with Struts 2 and TIBCO GI

Category: Articles, Java, TIBCO

Brian Walsh has written an article on Ajax CRUD with Struts 2 and TIBCO GI: In this article you will learn how to create a new Ajax RIA front end to an existing Apache Struts2 .jsp application using TIBCO General Interface (GI), an open source Ajax toolkit with a MVC architecture similar to that of Read the rest…

Posted by Dion Almaer at 6:17 am

3.4 rating from 35 votes

Monday, March 26th, 2007

More base2.DOM and advice for writing JavaScript libraries

Category: Articles, JavaScript, Library

Dean Edwards has followed up on his base2 library posting with another way to use base2 and rules for JavaScript Library Authors. In “the other way” Dean shows how to use the library as library functions instead of strapping on to objects, and his library rules are: Be unobtrusive Object.prototype is verboten! Do Not Over-extend Read the rest…

Posted by Dion Almaer at 9:04 am

3.6 rating from 38 votes

Wednesday, March 14th, 2007

Securing your JSON

Category: Articles, JSON

Bas Wenneker read Joe Walkers piece on the insecurity of JSON and put two and two together with Dean Edwards Array hack to provide an idea on securing your JSON. < View plain text > javascript var applyArrayHack = function(){     //hackzor the Array object using Joe Walker example     this.Array = function() Read the rest…

Posted by Dion Almaer at 6:27 am

3.2 rating from 28 votes

Wednesday, March 7th, 2007

Garbage Collection in IE6

Category: Articles, JavaScript, Performance

Daniel Pupius had the unfortunate “cause to do some investigation into the effects of Internet Explorer’s garbage collection routines on performance” and kindly wrote up his findings: Eric Lippert posted about the internals of IE’s garbage collector back in September 2003, though he skimmed over the important bits, which were later noted in the comments. Read the rest…

Posted by Dion Almaer at 1:03 am

3.8 rating from 38 votes

Friday, February 23rd, 2007

XPath/XSLT support in Safari

Category: Articles, WebKit

Ruben Daniels was on a mission to create XPath and XSLT support that works on Safari. This isn’t the first effort: After searching the web I found several XPath/XSLT implementations: google AJAXSLT (168 KB) Cameron McCormack’s Xpath implementation (119 KB) JS-XPath IE-only (16 KB) I always try to keep the socalled ‘footprint’ of the application Read the rest…

Posted by Dion Almaer at 6:49 pm

4.3 rating from 26 votes

Friday, February 16th, 2007

Crawling Ajax Applications

Category: Articles, JavaScript, Ruby

Shreeraj Shah has published a paper on Crawling Ajax-driven Web 2.0 Applications. Crawling web applications is one of the key phases of automated web application scanning. The objective of crawling is to collect all possible resources from the server in order to automate vulnerability detection on each of these resources. A resource that is overlooked Read the rest…

Posted by Dion Almaer at 7:38 am

3.5 rating from 23 votes

Thursday, February 8th, 2007

Delving into JavaScript’s prototype member

Category: Articles, JavaScript

Raphael Bauduin has been playing with the Javascript prototype member in order to get an Understanding of Javascript’s prototype member. After he saw Doug Crockfords Advanced JavaScript presentation he cracked open Rhino and started playing. Take a peak at the ride: < View plain text > javascript second_hoozit.toString               Read the rest…

Posted by Dion Almaer at 6:52 am

2.7 rating from 27 votes

Wednesday, January 31st, 2007

Sound with JavaScript but not Flash

Category: Articles, Examples, Sound

Reinier Zwitserloot wanted to see if he could add sound support without embedding a Flash bridge, and shared his research in his article on Sound in Web Browsers without Flash. Check out his test page for a Sound Check An example API < View plain text > javascript function sound2Play() {         Read the rest…

Posted by Dion Almaer at 2:55 pm

3.9 rating from 59 votes

Synchronous Calls and Browser Freezes

Category: Articles

Mark Pruett did some experimenting with a hypothesis: After launching a synchronous call, other browser windows or tabs will be frozen, and the asynchronous calls will not be serviced until the sync call completes. For my experiment, I open up a browser window, then open a second browser window using the “New Window” menu option. Read the rest…

Posted by Dion Almaer at 7:59 am

3.7 rating from 31 votes

Tuesday, January 30th, 2007

Microsoft ASP.NET Ajax Cheatsheets

Category: .NET, Articles

Milan Negovan has a new set of href=””>cheat sheets for the Microsoft ASP.NET Ajax library. The existing cheat sheets have been updated for the 1.0 final release, and Milan has added two new ones for DomElement and DomEvent. Check out the

Posted by Dion Almaer at 7:27 am

3.7 rating from 27 votes

Monday, January 22nd, 2007

Java to JavaScript Compilation with Ajax and Spring Integration

Category: Articles, Java

Ben Alex of Interface 21 has written a detailed post on Java to JavaScript compilation. The article discusses some of the choices out there (GWT, OpenLaszlo) and goes into an open source alternative called Java2Script Pacemaker. Spring integration is shown and available for download and it concludes: J2S promises some attractive benefits for projects that Read the rest…

Posted by Dion Almaer at 10:40 am

3.2 rating from 31 votes