All topics go here

Wednesday, April 7th, 2010

Is there something to the crazy comma-first style?

Category: JavaScript

I first saw real usage of “comma-first” JavaScript style via Ryan Dahl of Node.js fame. My eyes were a little scarred at first, but now we are seeing the reasoning behind it: Note how the errors pop out in the comma-first style. The object literal cases will throw, though a final trailing comma will cause Read the rest…

Posted by Dion Almaer at 6:59 pm

3.2 rating from 38 votes

AdLib: PastryKit for the tablet?

Category: Apple

We heard a little about PastryKit, a cool library from Apple that makes great iPhone apps using the Web. Now we see the mysterious AdLib which seems to be similar but gives you goodness on the iPad instead. Jim Hoskins checked it out: Curiosity got the best of me, so I loaded the page in Read the rest…

Posted by Dion Almaer at 4:24 pm

3.7 rating from 10 votes

Cappuccino 0.8: auto-spriting, components, tools, and CommonJS

Category: Cappuccino

The Cappuccino team have gotten a new version of the toolkit available before JSConf. Version 0.8 comes with auto-spriting, new components, new tools, all on top of CommonJS and Jake. Check out some of the new components: and the rest: Automagic Image Spriting We alluded to this feature a little while ago when we first Read the rest…

Posted by Dion Almaer at 3:54 pm
Comment here

4.5 rating from 13 votes

Mozilla Web Caching Summit

Category: Browsers, Mozilla, Performance

As part of their on-going efforts to engage directly with the web developer community, Mozilla hosted a Web Caching Summit earlier this week to discuss how the web platform could better meet the needs of developers. In attendance were developers who work on Facebook, Google Search, Microsoft Office Live, Twitter, Yahoo, SproutCore, and Palm webOS. Read the rest…

Posted by Ben Galbraith at 10:39 am

4.4 rating from 11 votes

HTML5 Forms. What support is there?

Category: HTML

Jonathan Snook wrote about HTML5 forms and how they are coming. One of the biggest parts of HTML5 is the fact that we get lots of new tags as well as the APIs that we talk most often about. Part of this is forms, and the new types that we get: search tel url email Read the rest…

Posted by Dion Almaer at 6:24 am

4.3 rating from 10 votes

Tuesday, April 6th, 2010

Amberjack 2.0: On page tutorials

Category: JavaScript, Showcase

We covered the original Amberjack library that offers on-page demos. Arash Yalpani is back with Amberjack 2, which groks DOM node highlighting. The main page shows how you embed a tour right into the page: < View plain text > HTML <div class="ajTourDef" id="defaultTour" style="display:none" title="">   <div title="">     <div title="{id:’logo’,padding:15,trbl:’brr’}">     Read the rest…

Posted by Dion Almaer at 6:22 am

3.7 rating from 13 votes

Monday, April 5th, 2010

Prototype 1.7 RC Sizzles…

Category: JavaScript, Library, Prototype

Andrew Dupont and the the Prototype team have announced the first RC of Prototype 1.7 which changes the selector engine to Sizzle, a new event API, has new layout/dimensions API, and more. Element#on Element#on is a new way to access the Prototype event API. It provides first-class support for event delegation and simplifies event handler Read the rest…

Posted by Dion Almaer at 1:34 pm

4 rating from 48 votes

Firefox Heads Up Display for Developers

Category: Firefox, Utility

Firefox was the Web runtime that gave us the best Web developer tools… some built-in, and then the likes of Firebug. We are seeing more, newer tools coming out of Mozilla. David Dahl, Firefox engineer, is working on a fun new console heads up display: Create an interactive Console to help web developers understand everything Read the rest…

Posted by Dion Almaer at 12:57 pm

5 rating from 30 votes

Border Image Generator Tool

Category: CSS, Utility

Working on mobile Web apps such as the Facebook app on webOS offers one huge advantage over standard desktop development. You can code to a single runtime (in our case, WebKit). This means that crazy hacks can go away as you use functionality such as border-image. Kevin Decker is an engineer on my team, and Read the rest…

Posted by Dion Almaer at 6:11 am

3.1 rating from 14 votes

Friday, April 2nd, 2010

Web Developers preparing for iPad

Category: Apple

I am sure that a fair few of you have your iPad order honing in from China (I got a WiFi one and use Mobile Hotspot when I need to use the carrier networks. Some fun deals right now ;). As the Quake demo shows, you can do a lot with the Web, and we Read the rest…

Posted by Dion Almaer at 9:28 am

3.8 rating from 19 votes

A very detailed look at object to primitive conversions

Category: JavaScript

Ben Cherry continues to write nice detailed posts on JavaScript. This time he delves into the magic of Object – primitive conversions. He post has some good fodder for wtfjs as he shows details of toString, valueOf, and implicit fun. Take a simple example like population: < View plain text > javascript function population(country, pop) Read the rest…

Posted by Dion Almaer at 8:10 am

3.8 rating from 14 votes

Thursday, April 1st, 2010

Are browsers Quake-ing in their boots?

Category: GWT, Showcase

Ben and I are often touting the fact that we are about to see amazing Web applications as browsers support more and more of “HTML5” and the engines under the hood have become world class. The GWT team has developed something that truly shows off this engine in their port of Quake2 to GWT. Seeing Read the rest…

Posted by Dion Almaer at 4:19 pm

4.9 rating from 49 votes

Open Web Video Puzzle

Category: Canvas, Video

This is a fun one. The Open Video Sliding Puzzle takes a running video (from the public videos project) cuts it up, and builds a sliding puzzle on the fly. How does it work? Why Canvas and HTML5 video of course: < View plain text > javascript for (var i=0;i&lt;12;i++){         var Read the rest…

Posted by Dion Almaer at 6:10 am

3.8 rating from 18 votes

Stop sniffing my breadcrumbs!

Category: CSS, JavaScript, Mozilla, Security

Chris Blizzard has done a nice roundup of David Baron’s post, the bug and the post on the security blog which discusses the :visited issue. We have seen :visited sniffing for good as well as ill (Aza wrote about using it to detect what networks you are on which can help you put up the Read the rest…

Posted by Dion Almaer at 12:01 am

4.1 rating from 14 votes

Wednesday, March 31st, 2010

From Whisper to Shout; A new form of volume control

Category: Fun, Showcase, Sound

David Friedman calls is “silly”, but he has created something simple and fun in his new form of volume control that moves from whisper to shout as you change the volume. The code (which works on Firefox and Opera right now) uses different tracks for each level: < View plain text > HTML <audio id="apA" Read the rest…

Posted by Dion Almaer at 9:03 pm

4 rating from 8 votes

CSS gets more Sassy with version 3

Category: CSS

Nathan Weizenbaum promised that Sass will become a superset of CSS back in June 17, 2009. And we now have version 3 of Sass and Haml available that brings life to the promise: The new syntax is known as “SCSS”, for “Sassy CSS” SCSS was built from the ground up based on the CSS3 spec, Read the rest…

Posted by Dion Almaer at 11:53 am

3 rating from 36 votes