Tuesday, March 25th, 2008

JavaScript Has Fashion and Luck to Thank?

Category: Articles, JavaScript

Because JavaScript is the language of the web browser, and because the web browser has become the dominant application delivery system, and because JavaScript isn’t too bad, JavaScript has become the World’s Most Popular Programming Language. Its popularity is growing. It is now being embedded in other applications and contexts. JavaScript has become important. Douglas Read the rest…

Posted by Dion Almaer at 5:06 am

3.4 rating from 17 votes

Thursday, March 13th, 2008

Getting some $ with Dojo

Category: Articles, Dojo, JavaScript

Neil Roberts has posted a great article on Creating Your Own $ with Dojo: The bling, one of the best global variables in JavaScript. A tool which has come to mean, as a function, a way to locate a node or set of nodes. And, as a namespace, a simple way to access often-used functionality. Read the rest…

Posted by Dion Almaer at 6:59 am

4 rating from 34 votes

Tuesday, February 26th, 2008

Canvas Polar Clock

Category: Articles, Canvas, JavaScript, Prototype

“agrath” has developed a very nice Canvas example using Prototype that makes use of a common Prototype-isms: Object.extend, Class.create, bind, enumerables, $w, $. The Polar Clock is a different visualization of time and the example walks through all of the work required to implement it using Prototype and Canvas, including the draw method: < Read the rest…

Posted by Dion Almaer at 6:31 am

3.6 rating from 23 votes

Thursday, February 21st, 2008

Feature Detection and Cross-Browser Widgets

Category: Articles, JavaScript

Peter Michaux has done some very thorough work on feature detection in the browser and cross browser widgets. In his feature detection article he walks through a myriad of approaches with pros and cons: Feature testing is not easy and there is no one right answer. From a practical stand point, the more strict your Read the rest…

Posted by Dion Almaer at 9:03 am

3.2 rating from 36 votes

Tuesday, February 19th, 2008

Shooting browsers: Threat or Menace?

Category: Articles, IE

Two articles were shot onto A List Apart this morning. We have Jeffrey Zeldman on the threat or menace of version targeting. Then we have Jeremy Keith on browser shooting. Both are opinions on the version targeting issue that has blown up on the Web recently. Jeremy concludes: Version targeting is not a bad idea. Read the rest…

Posted by Dion Almaer at 7:41 am

3.1 rating from 19 votes

Tuesday, January 29th, 2008

You Used JavaScript to Write WHAT?

Category: Articles

Michael Morrison, author of Head First JavaScript, has written a piece for CIO magazine titled You Used JavaScript to Write WHAT? which is part of a series of articles on when to use a particular language or platform. It is always interesting to see what the CXO folks are reading wrt our beloved Web :) Read the rest…

Posted by Dion Almaer at 6:32 am

1.9 rating from 33 votes

Monday, January 28th, 2008

A Study of Ajax Performance Issues

Category: Ajax, Articles

Coach Wei, of Nexaweb and Apache, has published a study of Ajax performance issues in browsers, and they won’t surprise you: Obviously, we would like to see browser vendors take a serious look into the following issues and put them on their roadmap: In all major browsers, performance with Array and HTML DOM needs improvement Read the rest…

Posted by Dion Almaer at 5:18 am

3 rating from 42 votes

Thursday, January 24th, 2008

The Art and Science of JavaScript Games

Category: Articles, Games

James Edwards has written a very detailed tutorial on using dhtml to create a game which is part of his book: In this chapter, we took the languages of CSS and JavaScript well beyond the tasks for which they were intended?the presentation and basic behavior of HTML documents — and used them to create an Read the rest…

Posted by Dion Almaer at 6:04 am

4 rating from 26 votes

Friday, January 4th, 2008

Autotesting JavaScript in Rails

Category: Articles, Testing

Dr Nic has written a tutorial on testing JavaScript in Rails using a new javascript_test plugin. Once you ruby script/plugin install javascript_test you can ruby script/generate javascript_test maths. Then you can write a test a la: < View plain text > javascript testTruth: function() { with(this) {   assert(true); }} You can go further though Read the rest…

Posted by Dion Almaer at 7:56 am
1 Comment

3.4 rating from 13 votes

Wednesday, January 2nd, 2008

JavaScript: It’s Just Not Validation!

Category: Articles, JavaScript

Colin Morris, author of Y-Validator, has written a piece on JavaScript: It’s Just Not Validation! which discusses JavaScript validation, and “input assistance”: JavaScript input assistance, when built separately from back-end validation, is not ideal. At worst, the two piece of functionality work differently, and what’s valid on the client side isn’t valid at the server. Read the rest…

Posted by Dion Almaer at 12:05 am
1 Comment

3.3 rating from 20 votes

Thursday, December 27th, 2007

Django and Comet

Category: Articles, Comet

Arena Albionu has written about Django and Comet using the Orbited Python event driven comet server. The article walks through the hello world of Comet… a chat server. The JavaScript looks like this: < View plain text > javascript function processGetPost()     {     var myajax=ajaxpack.ajaxobj     var myfiletype=ajaxpack.filetype     if Read the rest…

Posted by Dion Almaer at 12:08 am

3.3 rating from 18 votes

Wednesday, December 19th, 2007

Comparing the evolution of Java and JavaScript

Category: Articles, Java, JavaScript

Java and JavaScript share the first four letters of their name, and have an entangled past. Joe Walker has an interesting little take on the evolution of the languages that shows some mirror images such as: It’s interesting that the current simple version of JavaScript already has the features (i.e. closures) that people want to Read the rest…

Posted by Dion Almaer at 7:46 am

3.7 rating from 21 votes

Friday, December 14th, 2007

The problem with innerHTML

Category: Articles, JavaScript, Tip, Yahoo!

Some like to DOM their way around. Others prefer the simplicity of innerHTML. Julien Lecomte, of Yahoo!, wrote up his thoughts on the problems with innerHTML. Julien first points out some issues: Improper handling of the innerHTML property can enable script-injection attacks on Internet Explorer when the HTML string contains a script tag marked as Read the rest…

Posted by Dion Almaer at 7:41 am

3.8 rating from 72 votes

Thursday, December 13th, 2007

Unobtrusively Mapping Microformats with jQuery

Category: Articles, jQuery, Mapping, Microformat

Simon Willison just doesn’t stop. This time he has added a way that details the technique of unobtrusively mapping microformats with jQuery. Simon puts together jQuery, microformats, and the Google Maps API to grok hCard and show maps of any hCard data that is found, ending up with: < View plain text > javascript jQuery(function() Read the rest…

Posted by Dion Almaer at 7:01 am

3.6 rating from 32 votes

Monday, November 26th, 2007

Product pages: so much suck, so easy to fix

Category: Articles, UI, Usability

Now and then we weave the Ajaxian car into the designer fast lane from the developer one as we see something interesting. This time around we have Amy Hoy talking about product pages as an example of how to do good UX(P|D|). She starts out with UX 101: Be nice to your users and customers Read the rest…

Posted by Dion Almaer at 5:10 am

3.4 rating from 46 votes

Friday, November 23rd, 2007

URI vs. URL: What’s the difference?

Category: Articles

REST groupies can talk your ear off about resources and the difference between URI and URL. Many developers still don’t really know the difference though, and Ryan McDonough has put up this simple summary. His summary is by example and goes like this: URI A URI identifies a resource either by location or name. More Read the rest…

Posted by Dion Almaer at 7:59 am

3.7 rating from 146 votes