Monday, May 5th, 2008
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...
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...
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...
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...
Friday, May 2nd, 2008
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...
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: PLAIN TEXT JAVASCRIPT: var o = CGSobject(function (x) { return x+1; }); // basic set o("a", 7); // Read the rest...
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.
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...
Thursday, May 1st, 2008
Category: jQuery
We posted about WriteMaps.com 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...
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...
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...
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...
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...
All Posts of May 2008