Tuesday, January 20th, 2009

How global is your JavaScript?

Category: JavaScript, Library

Mats Bryntse “had an idea about checking the most popular javascript frameworks & APIs to see how they differ in terms of global namespace pollution. This page loads all the frameworks separately in an iframe and compares the window object against the one of a fresh iframe. I also included information about which builtin JavaScript Read the rest…

Posted by Dion Almaer at 8:33 am

4.3 rating from 40 votes

Thursday, January 15th, 2009

Seeding the clipboard in Flash10 with Zero Clipboard

Category: Flash, Library, Security

Following the bombshell of Adobe announcing that Flash 10 will not support unsolicited clipboard access from Flash and JavaScript as malicious flash ads flooded clipboards a lot of developers were wondering how to make the “copy to clipboard” still work without having to do it in Flash itself. An interesting and also slightly creepy approach Read the rest…

Posted by Chris Heilmann at 9:21 pm

4.4 rating from 14 votes

Monday, January 12th, 2009

jsCron: Schedule code to run via simple JavaScript

Category: JavaScript, Library

Andrés Nieto has created a fun little JavaScript utility jsCron that lets you schedule JavaScript functions to run at certain times. You would use it like this: < View plain text > javascript // Función hola(); function hola() {    alert("Hola"); }   // Tarea programada jsCron.set("35 17 * * * hola()"); Of course, when Read the rest…

Posted by Dion Almaer at 6:28 am

3.4 rating from 37 votes

Friday, January 9th, 2009

Beautiful Code Documentation

Category: jQuery, Library

Atul Varma (who I have the absolute pleasure to work with now) has created code documentation that actually looks beautiful. Typography matters. You can check it out via his Ubiquity documentation example that shows you side by side documentation with the actual source code itself. This context is terrific. He does this all dynamically, and Read the rest…

Posted by Dion Almaer at 9:11 am

3.5 rating from 59 votes

Tuesday, January 6th, 2009

QEvent: Small, Portable Event Library

Category: JavaScript, Library

Daniel Steigerwald told us about his labor of love: QEvent, a “powerful tiny extensible standalone event library”. He provides this laundry-list of features: * lightweight footprint * no namespace pollution – everything is wrapped in obj.$QEvent * normalizes the DOM event model * work also with Javascript objects * fixes common IE bugs including: all Read the rest…

Posted by Ben Galbraith at 10:45 am

3.4 rating from 19 votes

Monday, December 22nd, 2008

jQuery Gestures

Category: JavaScript, jQuery, Library

Adrien Friggeri has taken the music player ui and spent some time to create a really nice gestures library that allows you to add mouse gestures to a web page, supports complex (i.e. sequences of) gestures and provides visual feedback through the use of a canvas element. Example code looks like this: < View plain Read the rest…

Posted by Dion Almaer at 8:28 am

3.9 rating from 39 votes

Friday, December 19th, 2008

DWR 3.0 near final release with RC

Category: Java, JavaScript, Library

Joe Walker and team have announced the first RC for DWR 3.0. We asked Joe to tell us what is new: DWR now supports: varargs method overloading typed parameters binary file upload/download it has a set of new types it can marshall DWR will let you use JavaScript to implement Java interfaces (e.g. to register Read the rest…

Posted by Dion Almaer at 6:02 am
Comment here

4.3 rating from 18 votes

Monday, December 15th, 2008

PNG support in IE6 that reclaims background repetition and position

Category: JavaScript, Library

Drew Diller has created a helper library in the “yup, you still have to get things working in IE 6” department. DD_belatedPNG adds PNG support to IE6 that works with background-repeat and background-position. You just do this: < View plain text > HTML <!–[if IE 6]> <script src="DD_belatedPNG.js"></script> <script>    DD_belatedPNG.fix(‘.png_bg’); /* EXAMPLE */   Read the rest…

Posted by Dion Almaer at 7:24 am

4.2 rating from 37 votes

Wednesday, December 3rd, 2008

A great example of sharing; Sizzle Engine in Dojo Foundation

Category: CSS, Dojo, JavaScript, jQuery, Library, Prototype

Voting has started in Dojo land to take in John Resig’s Sizzle next-gem CSS selector engine. This is incredibly exciting, as it shows how Ajax libraries are working together more and more. Instead of reinventing the wheel in different ways for each project, is it possible to find some core pieces that can be nicely Read the rest…

Posted by Dion Almaer at 12:58 am

4.2 rating from 66 votes

Friday, November 28th, 2008

SproutCore: Mixins and Talk

Category: JavaScript, Library

If you skip in 20 minutes to the presentation above you will find Charles Jolley talking about SproutCore: During this presentation I actually built and deployed a small application on stage but the most interesting thing, I think, is the part where I talk about how thick client frameworks like SproutCore change the way you Read the rest…

Posted by Dion Almaer at 5:07 am
1 Comment

1.9 rating from 13 votes

Friday, November 14th, 2008

Guid0: JavaScript GUIDs

Category: JavaScript, Library, Tip

Our own Michael Mahemoff is at it again, creating a simple little GUID generator called Guid0: Guid0 is a GUID library for Javascript. Okay, it doesn’t yet do official, bona fide, 128-bit, GUIDs yet, mainly for API design reasons. But this is a library you might find useful if you want to generate a unique Read the rest…

Posted by Dion Almaer at 6:47 am

3.1 rating from 20 votes

Wednesday, November 5th, 2008

SproutCore: From MobileMe to 1.0

Category: Library

SproutCore drove onto the scene when MobileMe launched using it. Since that blast, the team has been diligently working on getting a 1.0 release, and Charles Jolley has posted on the future of SproutCore: It’s been nearly four months since SproutCore launched to the public at WWDC and we couldn’t be happier with the results. Read the rest…

Posted by Dion Almaer at 9:59 am
1 Comment

2.3 rating from 55 votes

Tuesday, October 28th, 2008

How to structure your JavaScript code

Category: JavaScript, Library

Peter Michaux has shared how he structures his code these days, as he has settled on a pattern: The code example below is a simple little logger widget. It appends messages to a list and has a clear link to delete all the recorded messages. < View plain text > javascript // Wrap code with Read the rest…

Posted by Dion Almaer at 9:39 am

2.9 rating from 50 votes

Tuesday, October 21st, 2008

Peppy: New CSS 3 selector engine

Category: CSS, JavaScript, Library

James Donaghue has released Peppy, the first release of his CSS 3 compliant selector engine that runs independent of one particular library (and can thus be used with any of them). He has some bold claims on speed: As it stands now Peppy is faster1 than all other major JavaScript libraries with DOM querying capabilities Read the rest…

Posted by Dion Almaer at 8:44 am

4 rating from 597 votes

Monday, October 6th, 2008 client library for networking

Category: Comet, JavaScript, Library

Michael Carter et al have been working on, a client library that gives you networking, including Comet like support, via JavaScript. The low level work can sit upon Comet APIs, and in the future, Web Sockets, and you get high level APIs to protocols such as: amqp imap irc ldap smtp ssh stomp telnet Read the rest…

Posted by Dion Almaer at 7:01 am

4.3 rating from 28 votes

Friday, October 3rd, 2008

Thinking about the difference between frameworks

Category: JavaScript, Library

I got to meet Aaron Newton at The Ajax Experience, and he is a thinker. He was really taking in the various talks, and interactions, and you could tell that he was trying to work out various angles on the frameworks. What makes them different? What makes them popular? Where are they going? He wrote Read the rest…

Posted by Dion Almaer at 10:20 am

3.6 rating from 77 votes