Various sections of the site go here

Friday, July 31st, 2009

WPS: PostScript and PDF interpreter for HTML 5 canvas

Category: Canvas, Showcase

It would be a pretty cool hack to implement a PostScript/PDF interpreter in JavaScript wouldn’t it? That is exactly what has been done with WPS. The code takes PS and really groks it so: < View plain text > javascript /n 10 def /w 25 def   0 0 n w mul dup .gbox   Read the rest…

Posted by Dion Almaer at 12:09 am

4.3 rating from 39 votes

Thursday, July 30th, 2009

Best way to load your JavaScript

Category: JavaScript, Performance

Nicholas Zakas thinks he has the best way to load JavaScript. Steve Souders has a bunch of best practices, and it seems that there is definitely nuance that makes advice very much tailored to your circumstance. Nicholas though, has an opinion: I’ve come to the conclusion that there’s just one best practice for loading JavaScript Read the rest…

Posted by Dion Almaer at 9:41 am

3.4 rating from 52 votes

The Doctor subscribes HTML 5 Audio cross browser support

Category: Sound

The doctor is in, and this time the specialist is Mark Boas who walks us through HTML5 Audio in various browsers and how to get audio working on the various implementations that are in the wild today. This early in the game especially, all implementations are not equal. For one there is the codec support: Read the rest…

Posted by Dion Almaer at 6:12 am

3.6 rating from 14 votes

Wednesday, July 29th, 2009

Chroma Hash: Interesting visualization of your password

Category: CSS, jQuery

Matt Thompson has created a fun little jQuery plugin called Chroma-Hash that “dynamically visualizes secure text-field values using ambient color bars”: Password entry can be frustrating, especially with long or difficult passwords. On a webpage, secure fields obscure your input with •’s, so others can’t read it. Unfortunately, neither can you—you can’t tell if you Read the rest…

Posted by Dion Almaer at 5:35 pm

3.6 rating from 52 votes

Text rotation for all

Category: CSS, Tip

Jonathan Snook has posted a nice nugget on text rotation with CSS that takes a nice bit of markup like this: < View plain text > HTML <div class="example-date">   <span class="day">31</span>   <span class="month">July</span>   <span class="year">2009</span> </div> and converts it to: all via the CSS: < View plain text > css -webkit-transform: rotate(-90deg); Read the rest…

Posted by Dion Almaer at 10:20 am

4.3 rating from 59 votes

Be an early bird – $300 off expires Friday

Category: Announcements, Conferences, The Ajax Experience

Hi everybody, A quick reminder that $300 off The Ajax Experience conference expires this Friday, July 31. The Ajax Experience is September 14 – 16 in Boston, MA. Be an early bird. Save $300 now! We hope to see you there! The team

Posted by tberardi at 8:24 am
Comment here

3 rating from 21 votes

Tuesday, July 28th, 2009

Developer evangelism handbook released

Category: Examples, Presentation, Workshop

As developers, it can be hard to get your voice heard in a company. Whilst our products depend on developers building them the right way, other people seem to call the shots about where they are going. This becomes disastrous when a company tries to reach developers with their product. Normal marketing and PR stunts Read the rest…

Posted by Chris Heilmann at 3:59 pm

4.2 rating from 26 votes

Dynamic script generation and memory leaks

Category: JSON, Performance

An interesting piece by Neil Fraser shows that using JSON-P with generated script nodes can be quite a memory leak. Normally you’d add information returned from an API in JSON-P with a generated script node: < View plain text > javascript script = document.createElement(‘script’);   script.src = ‘’; = ‘JSONP’;   script.type = Read the rest…

Posted by Chris Heilmann at 3:50 pm

3.8 rating from 26 votes

CSS Gradients for All!

Category: CSS

Weston Ruter has created a very cool library that enables CSS gradients on non-WebKit browsers (at least, a subset). Incredibly cool: CSS Gradients via Canvas provides a subset of WebKit’s CSS Gradients proposal for browsers that implement the HTML5 canvas element. To use, just include css-gradients-via-canvas.js (12KB) anywhere on the page (see examples below). Unlike Read the rest…

Posted by Dion Almaer at 6:00 am

2.9 rating from 32 votes

Monday, July 27th, 2009

The Ajax Experience Agenda At-a-Glance Now Available!

Category: Announcements, Conferences, The Ajax Experience

Over the past few weeks we’ve finalized over 40 key sessions across 7 tracks for The Ajax Experience conference, including Frameworks, User Experience, Standards and Cross-Browser Issues, High Performance and Scalability, Security, Architecture, JavaScript, and Cutting-Edge Ajax. The agenda-at-glance is ready for your review now. There’s something for everyone!  Check it out The Ajax Experience is Read the rest…

Posted by tberardi at 9:35 am
Comment here

2.7 rating from 22 votes

Adding your own scripts to Web Workers

Category: JavaScript

Over in Geneva, they have posted on coupling PHP and Workers. They build on the great intro from John and tweak it to use simple PHP on the backend to do things such as making sure that your favourite library has been loaded into each Worker, so you can use it in your script. < Read the rest…

Posted by Dion Almaer at 6:03 am

3.1 rating from 27 votes

Thursday, July 23rd, 2009

Multiple font weights via CSS 3 and more font fun

Category: CSS

Ilia Draznin has been using CSS3 font face to fake font weights: The way @font-face works is that whatever font attributes you specify for a @font-face rule, they don’t determine how the font looks but rather when it’s gonna get used. For example if you have the following two rules < View plain text > Read the rest…

Posted by Dion Almaer at 6:47 am

3.6 rating from 29 votes

Wednesday, July 22nd, 2009

Jetpack to the future with recording Audio API

Category: JavaScript, Mozilla

The Jetpack project is still a young ‘un from Mozilla Labs (disclaimer: I work for labs!) but they are moving swiftly indeed, and each new release has a wicked cool new API that let’s you do something you couldn’t easily do before. With the Jetpack 0.4 release we see two cool APIs: Audio Recording API Read the rest…

Posted by Dion Almaer at 6:15 am

4.1 rating from 30 votes

Tuesday, July 21st, 2009

Wouldn’t it be Swell to be able to drag and drop between Web and desktop

Category: Framework, HTML, JavaScript

Christophe Eblé has kindly written a guest post on Swell JS and his drag and drop manager that works with your desktop. Here he tells us more: At Swell we were about to create a Drag & Drop Manager just like in other Javascript libraries such as Jquery, YUI, Mootools, Scriptaculous, but we were not Read the rest…

Posted by Dion Almaer at 6:06 am

4.5 rating from 59 votes

Monday, July 20th, 2009

A detailed look at how tracing, and TraceMonkey works

Category: JavaScript, Performance

David Mandelin has generously detailed an overview of tracing and TraceMonkey in particular. He starts out by explaining the problem at hand: making a dynamic language such as JavaScript fast is hard. How do you get type info in dynamic type land? Our goal in TraceMonkey is to compile type-specialized code. To do that, TraceMonkey Read the rest…

Posted by Dion Almaer at 1:06 pm

4.4 rating from 30 votes

Friday, July 17th, 2009

Fun Friday Platformer

Category: Fun, Games

Fancy a break? Take Mr. Speaker’s little JavaScript platformer for a spin. Have a great weekend, and a quick reminder: Think that we have missed a story? Please share news with us. Don’t assume that we missed it on purpose! Want to contribute a full story? Please! The crew hangs out on Twitter, and a Read the rest…

Posted by Dion Almaer at 12:54 pm

4.1 rating from 23 votes