Monday, May 5th, 2008

HTML Parser in JavaScript

Category: HTML, JavaScript

John must have had some downtime on Sunday afternoon, as he implemented an HTML parser in JavaScript. The library, that you can play with via this demo, lets you attack HTML in a few ways: A SAX-style API Handles tag, text, and comments with callbacks. For example, let’s say you wanted to implement a simple Read the rest…

Posted by Dion Almaer at 10:51 am

3.2 rating from 37 votes

Compression using Canvas and PNG

Category: Canvas, JavaScript

The image above is the 124 kilobyte Prototype library embedded in a 30 kilobyte 8 bit PNG image file. Jacob Seidelin had some fun this weekend it appears and created a script that can read in JavaScript code from images. To do this, he used the canvas getImageData() method. Here are the detailed steps: The Read the rest…

Posted by Dion Almaer at 10:28 am

4.6 rating from 40 votes

It’s Business Time: Free Passes to Google I/O

Category: Conferences

On May 28-29 2008, we are having the largest Google event of the year: Google I/O. Ben and I are talking in the Ajax and JavaScript track, which has other great Ajax content with speakers like Bruce Johnson and the GWT team, Mark Lucovsky and the AJAX APIs team, and Alex Russell of Dojo. There Read the rest…

Posted by Dion Almaer at 10:17 am

4 rating from 11 votes

Ajaxian Featured Tutorial: Using YSlow for Performance Analysis

Category: Ajax, Tutorial

Kristopher William Zyp has written a post on how to use YSlow to analyze the performance of JavaScript applications. To understand what aspects of a Web application you need to improve, you must properly analyze the components of the application. This article looks at how you can use the Firebug extension to Firefox and the Read the rest…

Posted by Rey Bango at 10:14 am

4.3 rating from 23 votes

Friday, May 2nd, 2008

We are JavaScript library authors. Hear us roar!

Category: Browsers, CSS, JavaScript

John Resig “doesn’t think there’s a single JavaScript developer who isn’t excited about the new Selectors API specification (and the upcoming implementations).” He was asked to provide feedback on the API, and he sent them an email with just that. He had three concerns: DOMElement.querySelectorAll returning incorrect elements This is the most critical issue. As Read the rest…

Posted by Dion Almaer at 10:40 am

3.9 rating from 27 votes

Emulating get, set, catchall for all browsers

Category: JavaScript, Library

Adrien Friggeri likes the true get, set, and catchalls that almost all but IE provide, so he took a peak at the examples and got to work emulating the layer, which ended up with: < View plain text > javascript var o = CGSobject(function (x) { return x+1; });   // basic set o("a", 7); Read the rest…

Posted by Dion Almaer at 10:27 am

3.1 rating from 14 votes

Homer in CSS

Category: CSS, Fun

There is the David. There is the Mona Lisa. And then, the artist has to create the Homer. Román Cortés did just that with his Homer in CSS and Ned Batchelder shows it via animation. Thank god for fun fridays.

Posted by Dion Almaer at 10:20 am

4.7 rating from 56 votes

XSketch: Pictionary with GWT

Category: Fun, Games, GWT

XSketch is “a multiplayer word sketch game. It is programmed in Adobe Flash, Java, Ajax, and GWT. Gameplay is similar to Pictionary where you sketch a picture with the goal of having other players guess your word and vice versa.” Ryan Dewsbury creator this game, which he adds to his collection of GPokr and KDice. Read the rest…

Posted by Dion Almaer at 10:14 am

3.4 rating from 12 votes

Thursday, May 1st, 2008’s New Print Preview Tool

Category: jQuery

We posted about back in December and Scott Jehl continues to update the site with cool new features. This time around Scott’s added a nifty print preview tool which leverages jQuery UI’s latest release candidate. Printing on WriteMaps has always been more difficult than I’d like it to be. Some browsers helpfully tile a Read the rest…

Posted by Rey Bango at 10:02 am

3.5 rating from 26 votes

Apple Store: New Effects

Category: Showcase

I was perusing the Apple Store, getting ready for the dream dual-announcements of iPhone 3G + Macbook Pro, when I saw a new effect. When you go to a product page, there is now an enlarge link that zooms in the given products. You can click on them to go even closer, and then you Read the rest…

Posted by Dion Almaer at 8:09 am

2.9 rating from 22 votes

Cuzillion Video and High Performance Book

Category: Performance

Steve Souders has some more rules for us, as he announces a new book that he is working on. His preliminary view of the chapters are: Split the initial payload Load scripts without blocking Don’t scatter scripts Split dominant content domains Make static content cookie-free Reduce cookie weight Minify CSS Optimize images Use iframes sparingly Read the rest…

Posted by Dion Almaer at 7:43 am
Comment here

4 rating from 18 votes

Adobe lifts SWF/FLV restrictions and creates Open Screen Project

Category: Adobe, Announcements

I start with an aside; This must be the most un-Adobe website I have ever seen. Below is the entire website for the Open Screen Project: As the site says, the details are in the press release which says: The Open Screen Project is working to enable a consistent runtime environment — taking advantage of Read the rest…

Posted by Dion Almaer at 1:10 am

4.7 rating from 40 votes

Ajaxian Roundup for April, 2008: CSS goodness, Ext licenses, and the Cloud

Category: Roundup

March has flown by for me, and we had some great announcements, and some busy threads of discussion to show for it. The Webkit folk have had the great insight to realize that although SVG and canvas are still thought of as more advanced technology and are not mainstream in anyway, the problems that they Read the rest…

Posted by Dion Almaer at 12:34 am
Comment here

4.2 rating from 13 votes

All Posts of May 2008