JavaScript


Wednesday, January 13th, 2010

Gordon: Flash Runtime Implemented in Javascript

Category: Flash, JavaScript

This was quite a surprise! Tobias Schneider has built a Flash runtime that works right in the browser. It’s implemented in pure Javascript and HTML5, and the whole thing is open source, MIT-licensed, and hosted on GitHub. See Gordon in action (demos hosted by Paul Irish). It works like a charm in recent versions of Read the rest…

Posted by Michael Mahemoff at 3:38 pm
25 Comments

++++-
4.8 rating from 81 votes

Virtual DOM Events

Category: JavaScript

I am a big fan of using custom events where it makes sense in applications. I took it too far in the early days of Bespin, but I really enjoy them where they make sense. Chris Vanrensburg was talking to me about Virtual DOM events, and when I asked him about them he told me Read the rest…

Posted by Dion Almaer at 6:44 am
12 Comments

++++-
4 rating from 33 votes

Monday, January 11th, 2010

Using YQL as a proxy for cross-domain Ajax

Category: JavaScript, jQuery, JSON, XmlHttpRequest, Yahoo!

OK, this is nothing shockingly new, but I found it pretty useful. Using jQuery, Ajax has become more or less a one-liner: < View plain text > javascript $(document).ready(function(){   $(‘.ajaxtrigger’).click(function(){     $(‘#target’).load($(this).attr(‘href’));     return false;   }); }); This loads the document any link with a class of “ajaxtrigger” points to and Read the rest…

Posted by Chris Heilmann at 7:42 pm
8 Comments

+++--
3.6 rating from 37 votes

Jison: Build parsers in JavaScript

Category: JavaScript

If you have ever wanted to create your own “language” (or DSL if you want to play 2008 buzzword word bingo) then you may have delved into the worlds of yacc/bison (and their siblings: lex/flex) to get this done in a more declarative manner. Jison lets you play in this world thanks to Zach Carter: Read the rest…

Posted by Dion Almaer at 6:35 am
5 Comments

++++-
4.3 rating from 31 votes

Thursday, December 31st, 2009

Web 2.Snow

Category: CSS, Examples, Fun, JavaScript

When I talked about some snow related CSS3 experiment, I could not imagine @Natbat was already preparing something like snowflakes, an almost fully CSS3 featured snow FX created for clearleft, specially suited for Chrome and Safari. And what about @zacharyjohnson? He put snow all over the network via its Winternetizer, the first snow proxy I Read the rest…

Posted by webreflection at 8:13 am
8 Comments

+++--
3.2 rating from 30 votes

How would you layout Wave?

Category: JavaScript, Library

Want to show how to use your layout library? Why not mimic a well known layout and show how easy it is? That is what Volodya Kolesnikov has done with his Google Wave layout in 100 lines of code sample. It is powered by uki (shorted from “ui kit”) and Volodya told us more about Read the rest…

Posted by Dion Almaer at 6:38 am
9 Comments

+++--
3.2 rating from 35 votes

Tuesday, December 29th, 2009

CoffeeScript: A nice little language that compiles to JavaScript

Category: JavaScript, Library

Jeremy Ashkenas is experimenting with a new language that translates down to JavaScript. The language is CoffeeScript and I kinda like the syntax. Jeremy told us: I’ve been working on a little language with a Ruby/Potion-esque syntax that compiles into JavaScript. It tries to enforce “the good parts”, convert statements into expressions automatically, and adds Read the rest…

Posted by Dion Almaer at 6:41 am
11 Comments

+++--
3 rating from 58 votes

Monday, December 28th, 2009

TransM: Programmable Image Transitions

Category: Canvas, JavaScript, Library

The infamous Christian Effenberger has a new library to share: TransM.js 1.0 allows you to add programmable image transitions to your webpages. Features 113 transitions, 32 tweenings, individual corners, overlay graphics and event actions. Requires no plugin/extension or any other external resource! It uses unobtrusive javascript to keep your code clean. You can play around Read the rest…

Posted by Dion Almaer at 6:38 am
3 Comments

++++-
4.3 rating from 33 votes

Wednesday, December 23rd, 2009

Orderly JSON

Category: JavaScript, JSON, Library

Lloyd Hilaiel of Yahoo! BrowserPlus fame, has a little holiday gift for us. He has created a simple library called Orderly that “is a textual format for describing JSON. Orderly can be compiled into JSONSchema. It is designed to be easy to read and write.” He shares: A little bit of orderly… < View plain Read the rest…

Posted by Dion Almaer at 6:34 am
10 Comments

+++--
3 rating from 31 votes

Tuesday, December 22nd, 2009

MathJax: Rich Math display from LaTeX and MathML

Category: JavaScript

I am sure MathML took off somewhere, but I never really saw it. MathJax seems to have a chance at being a practical solution that offers a high quality display of LaTeX and MathML math notation in HTML pages. You can embed the following LaTeX right in your page: < View plain text > HTML Read the rest…

Posted by Dion Almaer at 6:44 am
4 Comments

++++-
4.5 rating from 42 votes

Tuesday, December 15th, 2009

Downloadify – create downloads on the fly without server interaction

Category: Flash, JavaScript

Downloadify is an interesting solution to offer files as downloads without having to create temporary files and loop through a script that sets a force-download header. As shown in the demo page offering a file for download and setting its content is as easy as this: < View plain text > javascript Downloadify.create(‘downloadify’,{   filename: Read the rest…

Posted by Chris Heilmann at 8:54 am
9 Comments

+++--
3.5 rating from 27 votes

Friday, December 11th, 2009

Doug Crockford and the Online Booty Call Saga

Category: JavaScript

The golfing world had the Tiger Woods saga. Now our hero Doug Crockford, finder of the Good Parts, has gotten involved in some Online Booty Call drama. If you went to the online booty call site (as Steve Souders obviously does) you would have seen this yesterday: Doug added an alert() to line 1 of Read the rest…

Posted by Dion Almaer at 12:57 am
16 Comments

+++--
3.8 rating from 29 votes

Monday, December 7th, 2009

JavaScript Gaining Traction with Game Developers

Category: Games, JavaScript

We received an email from Joesph Huckaby about his new JS-based game rendering engine and I have to admit that when I first read about it, I was a little skeptical about it mainly because I’ve been disappointed with many that I’ve seen in the past. As I dug into his site, Effectgames.com, my whole Read the rest…

Posted by Rey Bango at 8:45 am
17 Comments

++++-
4.2 rating from 60 votes

Underscore.js gets some updates with 0.5

Category: JavaScript, Library

We posted on the underscore.js initial announcement and we liked what we saw. Jeremy Ashkenas of underscore.js pinged us to let us know that it is chuggin’ along and the library is now up to 0.5 and has had changes such as: OOP-style wrapping: _([1, 2, 3, 4, 5]).each( … ); OOP wrapping allows you Read the rest…

Posted by Dion Almaer at 6:33 am
3 Comments

+++--
3.2 rating from 29 votes

Sunday, December 6th, 2009

ES5 is an ECMA standard

Category: JavaScript, Standards

ES5 is an ECMA standard. Let’s hear it for forward progress, even though we want so much more for the only viable language to program the Web client to date. Let’s have a big “Booo” to IBM for being so stuck up that they think their IEEE decimal position is so freaking important that warrants Read the rest…

Posted by Dion Almaer at 12:58 am
23 Comments

+++--
3.9 rating from 41 votes

Friday, December 4th, 2009

Highcharts: Really nice charting API

Category: JavaScript, Library

We all want better and better charting libraries. Dojo has some good stuff, Protovis is a good option, and there are many many more (put your favourite below!). The latest guy in the ring is Highcharts uses either jQuery or MooTools for some common JavaScript tasks. In addition, Internet Explorer needs ExCanvas which emulates the Read the rest…

Posted by Dion Almaer at 6:36 am
15 Comments

++++-
4.1 rating from 49 votes