Thursday, April 19th, 2007

Fun Safari Bugs Episode 34

Category: Browsers, Tip, WebKit

Tobie Langel fearlessly deals with browser quirks so Prototype users will not have too. His latest battle revolves around a Regex bug that causes Safari to crash when the string is large. /(.)+/.test(string); They fixed the usage of this in some areas but still have issues with JSON sanitization. The good news is that WebKit Read the rest…

Posted by Dion Almaer at 7:19 am
5 Comments

+++--
3.4 rating from 14 votes

S60: More Mobile Ajax

Category: Ajax, Mobile

There were several people showing off the latest S60 browser software (built on WebKit) running on Nokia phones. There is richer Ajax support, and was even a nudge, nudge, wink wink comment regarding support of canvas and the like. Still, although it is great to have Safari on the phone, and zooming around the page Read the rest…

Posted by Dion Almaer at 6:06 am
9 Comments

+++--
3.8 rating from 33 votes

Handling Keyboard Shortcuts in JavaScript

Category: JavaScript, Library

Handling Keyboard Shortcuts in JavaScript is a simple script that allows you to declare shortcut event handling in your applications. < View plain text > javascript shortcut("Ctrl+Shift+X", function() {     alert("Hi there!"); }); You can also pass in options: type: The event type – can be ‘keydown’,’keyup’,’keypress’. Default: ‘keydown’ target: The element that should Read the rest…

Posted by Dion Almaer at 12:08 am
9 Comments

+++--
3.8 rating from 59 votes

Wednesday, April 18th, 2007

Google announces new AJAX Feed API

Category: Google, JavaScript, Library

The Google AJAX API team has announced a genuinely useful Feed API that gives an Ajax developer the ability to access feeds, cached in the fast Google edge cache where appropriate, from across the web using a simple JavaScript API. This is a subtle service that does one thing that is currently a pain-point for Read the rest…

Posted by Dion Almaer at 9:00 am
13 Comments

+++--
3.8 rating from 46 votes

Performance test results show strong WebKit outcome

Category: Dojo, Editorial

Ryan Breen put out a call for help on a distributed performance test that had many people hitting a Dojo charting system. The results are now in and the data seems to show: At 37ms, Safari is easily the fastest implementation, over 3 times faster than Firefox. Internet Explorer is by far the slowest, but Read the rest…

Posted by Dion Almaer at 6:06 am
14 Comments

+++--
3.9 rating from 29 votes

Make the XHR abstraction shorter

Category: Ajax, Tip

In low-level land, the try/catch trick that Prototype uses was king for ‘most fun way to get the XHR object’. Nicolas Faugout has put his hat in the ring with: < View plain text > javascript if (!XMLHttpRequest) {   function XMLHttpRequest() {     return new ActiveXObject(‘Microsoft.XMLHTTP’);   } } This feels like the Read the rest…

Posted by Dion Almaer at 5:13 am
18 Comments

+++--
3.5 rating from 50 votes

Tuesday, April 17th, 2007

Ext 1.0: Build your own Ext

Category: JavaScript, Library, Sencha

We previously announced extjs.com launching, and now Ext JS 1.0 has been released. You can see screenshots showing off the nice looking stuff and you can now customize your own build. First, you will select the base library (Prototype, jQuery, YUI) and then you will get a list of all of the components allowing you Read the rest…

Posted by Dion Almaer at 7:50 am
11 Comments

++++-
4.4 rating from 83 votes

Sylvester: Vector and Matrix Math for JavaScript

Category: JavaScript, Library

James Coglan wanted to create a generally useful JavaScript library that does vector and matrix math well. He has released Sylvester, which let’s developers write readable object-oriented code for dealing with vector and matrix mathematics. Its first release includes classes for vectors, matrices, and lines and planes in 3D space. Future releases will add more Read the rest…

Posted by Dion Almaer at 6:37 am
12 Comments

+++--
3.4 rating from 19 votes

GWT-Jsonizer: JSON/JavaBeans translator

Category: GWT, JSON, Library

Andrés Testi has developed a JSON/JavaBean translator for the Google Web Toolkit named GWT Jsonizer, which simplifies the GWT interaction with non-java backends. The Jsonizer interface, has only two methods: ‘asJavaObject’ and ‘asString’. As possibly you can infer, the ‘asJavaObject’ method unjsonizes JSON values, and the ‘asString’ method, performs the opposite action. Example < View Read the rest…

Posted by Dion Almaer at 5:58 am
Comment here

+++--
3.9 rating from 27 votes

Monday, April 16th, 2007

LightWindow 1.1: A window to various media

Category: UI

Kevin Miller has released LightWindow 1.1, another in the trend of light boxes. Another one? After researching every single modal window, lightbox, slimbox, etc out there nothing fit the bill. Granted some of them were very nice but only fit a specific purpose, others were a nightmare on the code end, and others were just Read the rest…

Posted by Dion Almaer at 7:12 am
24 Comments

++++-
4.2 rating from 82 votes

dsHistory: another history / back button manager

Category: JavaScript, Library

Andrew Mattie has released a new JavaScript history manager that allows one to bind functions to history events either with or without changing the window hash (depending on the developer’s preference). Andrew details his travels on getting this library out by discussing those who came before him: Really Simple History (RSH), Brad Neuberg AJAX-Nav, Mike Read the rest…

Posted by Dion Almaer at 6:46 am
10 Comments

+++--
3.8 rating from 29 votes

Dojo Widgets Rebirth

Category: Dojo

Dojo is getting some big changes. One of them is a change in the widget structure. The Dojo folk just updated us on the status of Dijit, the new system. To get an idea of what is going on, check out this PDF that gives you what you need to know: Dijit looks cleaner and Read the rest…

Posted by Dion Almaer at 6:08 am
7 Comments

+++--
3.6 rating from 34 votes

Friday, April 13th, 2007

Advancing JavaScript with Libraries

Category: JavaScript, jQuery, Library, Presentation

The Yahoo! UI team kindly invited me to listen to John Resig, of Mozilla and jQuery, talk to the team on “Advancing JavaScript with Libraries”. John wanted to talk about his experiences developing a number of JavaScript libraries, At Mozilla John is working on FUEL, a JavaScript library that should be shipping in Firefox 3, Read the rest…

Posted by Dion Almaer at 5:04 pm
14 Comments

+++--
3.7 rating from 47 votes

Fireclipse: Debug from FF straight into Eclipse

Category: Announcements, JavaScript, Utility

John J. Barton has released a new open source framework named Fireclipse that enables nice coupling of Firefox and Eclipse for debugging purposes, working on top of Firebug. Fireclipse routes error messages from Firefox’s Javascript Console to Eclipse’s console. Fireclipse positions an Eclipse editor on the source line reported by Firefox. Calls to dump() end Read the rest…

Posted by Dion Almaer at 11:36 am
7 Comments

++++-
4 rating from 32 votes

The true meaning behind Apollo, Atlas, Ajax, and Dionysius

Category: Editorial, Fun

It is appropriate that the answer to the toughest riddle since the Davinci Code has been solved on Friday the 13th. John Eckman has written about Rich Internet Applications and Greek Mythology and uncovers the reasons why Adobe named their project Apollo, and Microsoft named theirs Atlas. It even gets to the conclusion that Dionysus Read the rest…

Posted by Dion Almaer at 11:23 am
12 Comments

++++-
4.1 rating from 25 votes

CookieJar: JSON Cookies

Category: JavaScript, Library

Lalit Patel has created a JavaScript Library to use JSON to store data in cookies. JSON Cookies is built on top of Prototype and gives you a simple API to put and get JSON values into cookies: < View plain text > javascript var jar = new CookieJar({        expires:3600,   // seconds Read the rest…

Posted by Dion Almaer at 7:11 am
12 Comments

+++--
3.6 rating from 16 votes

All Posts of April 2007