Section


Various sections of the site go here


Friday, February 6th, 2009

True JavaScript Hash Table

Category: JavaScript

While it’s great that JavaScript has a built-in hash-like mechanism, but it is limited to string keys. Tim Down recently filled us in on his project to create a more flexible hash table: I occasionally want a proper hash table in JavaScript, by which I mean something that can map an arbitrary key object with Read the rest…

Posted by Ben Galbraith at 9:00 am
5 Comments

+++--
3.1 rating from 43 votes

document.getElementById(“check1”).indeterminate = true; Now shipping in Firefox Trunk

Category: Firefox, HTML, Mozilla, Standards

Michael Ventnor posted about his implementation of the indeterminate state that is specified in HTML5 for checkboxes and radio buttons: If you do any web development, chances are you know checkboxes and radio buttons can have two states: checked and unchecked. But in the case of checkboxes, you may want to indicate to the user Read the rest…

Posted by Dion Almaer at 6:40 am
6 Comments

+++--
3.3 rating from 28 votes

CSS Animations in WebKit Nightly and iPhone

Category: CSS

Fire up WebKit nightly, or point your recently updated iPhone to check out this beautiful leaf animation all made possible with CSS Animation. A simple bounce animation is shown to give you an idea of how it works: < View plain text > css @-webkit-keyframes bounce {  from {    left: 0px;  }  to { Read the rest…

Posted by Dion Almaer at 1:23 am
9 Comments

+++--
3.9 rating from 21 votes

How many engineers does it take to create a cross browser button?

Category: Component, CSS, UI

So, you want to create a button that you have full control over, and you want it to work well cross browser. Shouldn’t be hard right? Wrong. Doug Bowmanepines about the job of doing just this, which is something he kicked off at Google, and we see the result in apps such as Sites and Read the rest…

Posted by Dion Almaer at 12:01 am
9 Comments

++++-
4.3 rating from 47 votes

Thursday, February 5th, 2009

Chrome Extension Process Model Design Doc

Category: Chrome, JavaScript

The chaps in Chrome land that know a thing or two about writing extensions are getting their design docs on and we see a new draft of how extensions mesh with the process model of Chrome: Chromium extensions will follow a multi-process architecture to share the same kind of stability and security that regular web Read the rest…

Posted by Dion Almaer at 7:32 am
6 Comments

+++--
3.8 rating from 17 votes

Speeding up your JavaScript: Part 3 and 4

Category: JavaScript, Performance

Nicholas C. Zakas wraps up his series on speeding up JavaScript with two more posts on the subject. First up, he delves deeper into a generic memoizer: In part 2 of this series, I wrote briefly about handling too much recursion in a function through memoization. Memoization is a technique for caching previously calculated values Read the rest…

Posted by Dion Almaer at 5:15 am
3 Comments

++++-
4.1 rating from 18 votes

PS3-like Slideshow Implementation with Canvas

Category: Canvas, Showcase

Jérôme Wax has created a really nice PS3-like slideshow mashing up Flickr with Canvas to drive. Where you place your mouse will effect the movement and speed of the slideshow from left to right. Nice and snappy.

Posted by Dion Almaer at 4:22 am
5 Comments

+++--
3.7 rating from 20 votes

Opera comes out with new JavaScript engine in Carakan, new hardware API in Vega

Category: JavaScript, Opera, Performance

Opera isn’t sitting on their heels as the other browser vendors get snappy (even if other claim so!) Today they announced Carakan a new register based JavaScript VM that is currently 2.5 times faster than their existing one (based on SunSpider). It does native code generation including at specializing for Regex (interestingly since irregex for Read the rest…

Posted by Dion Almaer at 12:01 am
10 Comments

++++-
4.5 rating from 35 votes

Wednesday, February 4th, 2009

irregexp: New fast Regexp engine in Chrome

Category: Chrome, Performance

We are seeing great work with faster JavaScript, but what about faster DOM? Or faster CSS? Or faster libraries? Or faster Regexp? Well, members of the Chrome team have announced irregexp, a faster Regexp engine for Chrome. They go into detail on what they had, what they did, and why they did it. It is Read the rest…

Posted by Dion Almaer at 5:19 pm
5 Comments

++++-
4.4 rating from 26 votes

CSS for Layout. Another Rant

Category: CSS

The old chestnut has come out again, with this rant on CSS for layout which has caused a fuss, and thus a follow up post. The basic gist is: While CSS should be used for styling, tables should be used for layout. The author lays out annoyances such as, CSS floats: Apparently the order matters. Read the rest…

Posted by Dion Almaer at 7:36 am
73 Comments

+++--
3.2 rating from 46 votes

Designing Web Interfaces with Bill Scott and Theresa Neil

Category: Books, UI, Usability

Bill Scott presented Designing Web Interfaces, a slideshow based on core items from his book (co-authored by Theresa Neil). There are some really interesting posts on the site, such as 30 Essential Controls. Theresa has been pinging the major frameworks and will be posting a matrix of coverage by the various frameworks. But more generally Read the rest…

Posted by Dion Almaer at 6:05 am
3 Comments

++++-
4.3 rating from 15 votes

Kiva: Making a difference with a new API

Category: JSON, Library

We don’t often post about general APIs. I let John Musser handle that on Programmable Web, but this one strikes a chord with me. Kiva, the distributed micro loan platform, has released a new developer API that gives third parties access to create innovative applications on top of the platform: The initial release of the Read the rest…

Posted by Dion Almaer at 12:05 am
5 Comments

+++--
3.5 rating from 17 votes

Tuesday, February 3rd, 2009

Yet More Ajax Experience Videos: Frameworks

Category: The Ajax Experience, Video

And, more Ajax Experience videos! This post’s theme is “Frameworks”: New Features in DWR Version 3 with Joe Walker Dojo Fundamentals with Alex Russell JavaScript Library Overview with John Resig The Road to Cappuccino with Francisco Tolmasky MooTools: An Overview with Aaron Newton

Posted by Ben Galbraith at 10:00 am
8 Comments

+++--
3.7 rating from 15 votes

Joose 2.0 released

Category: JavaScript, Library

< View plain text > javascript Class("Point", {     has: {         x: {is: "ro"},         y: {is: "rw"},     },     methods: {         clear: function () {             this.x = 0;           Read the rest…

Posted by Dion Almaer at 8:56 am
6 Comments

+++--
3.8 rating from 29 votes

Doculicious: On-line Form Designer with PDF Output

Category: Dojo, Showcase

Chris Carpenter at Digital Carpenter sent us a link to one of his projects: Doculicious. It’s a fairly complete form builder product, including a GUI form designer (complete with undo, floating collapsable attribute palette, etc.), cool on-line form entry interface (also with undo), and PDF export. Doculicious uses Dojo under the covers. Nice work!

Posted by Ben Galbraith at 8:00 am
Comment here

++++-
4.1 rating from 27 votes

Ah the messy, messy DOM

Category: Browsers

John Resig had a nice chat with the Yahoo! folk about the mess we all face with the DOM. He is chatting about, and the presentation is below: As you see, he details specific issues on a bunch of the DOM methods across the browsers, discusses testing, and work around code for the various browsers.

Posted by Dion Almaer at 3:18 am
3 Comments

+++--
3.1 rating from 41 votes