Friday, February 1st, 2008

jQuery UI Lead is hired by Liferay

Category: Java, JavaScript, jQuery

Liferay, authors of a popular open source Java portal, have hired Paul Bakaus lead on jQuery UI to work on it full time. Liferay’s plans are to standardize all their products to use jQuery and its plugins for the future (you’ll still be able to use other libraries at the same time) – it’s therefore Read the rest…

Posted by Dion Almaer at 11:14 am
Comment here

4 rating from 75 votes

Favicon access via JavaScript

Category: Browsers, JavaScript, Library

Michael Mahemoff has released an update to his JavaScript library that gives you access to play with favicons from script. The main point of this library is to update the favicon via Javascript, but at a higher level, its main objective is to provide some support for notifying the user of events in another tab. Read the rest…

Posted by Dion Almaer at 12:01 am

4 rating from 40 votes

Thursday, January 31st, 2008

Secure String Interpolation in JavaScript

Category: JavaScript, Library, Security

Mike Samuel of the Google Caja team (and much more) has a fantastically detailed document on the choices for secure String interpolation in JavaScript. He spends a lot of time discussing: Cataloging the most common vulnerabilities Various alternatives such as templating, DOM manipulation, and tainting Goals and Non-Goals Design and Implementation Benchmarking the choices There Read the rest…

Posted by Dion Almaer at 10:46 am

3.7 rating from 25 votes

DomAPI 4.5: New, improved, and more free

Category: JavaScript, Library

DomAPI has been around for ever but the package has been updated: DomAPI version 4.5 has a new lower price and a simplified licensing plan. In a nutshell, there are now 2 license types, ‘Free’ and ‘Pro’. Both types can be used on commercial sites, in any capacity, with no restrictions. The benefits of the Read the rest…

Posted by Dion Almaer at 10:45 am

2.6 rating from 24 votes

JSON 2.0: Libraries and browser support

Category: Browsers, JavaScript, JSON, Library

John is at it again, writing a piece on recent news surrounding JSON. He links to an updated library by Douglas Crockford,

Posted by Dion Almaer at 5:00 am

4.5 rating from 17 votes

Wednesday, January 30th, 2008

Rhino on Rails: JavaScript MVC on the server

Category: Framework, Java, JavaScript, Rails

Cross posted from my personal blog Last week we posted about Jaxer which offers an approach of turtles all the way down where JavaScript is used on the client and the server. Then, I got to interview Steve Yegge. Last year, Steve posted about Rhino on Rails, his port of Ruby on Rails to the Read the rest…

Posted by Dion Almaer at 8:20 am

4 rating from 33 votes

Tuesday, January 29th, 2008

Lily, JavaScript Visual Programming Tool

Category: JavaScript

Bill Orcutt just announced the first beta release of Lily, an open source, Mozilla based visual programming environment written in Javascript. Lily is a very neat way of building an application by connecting modules which handle the intricacies of working with data, animation and sound. It’s a testament to the power of JavaScript: I’m happy Read the rest…

Posted by Rey Bango at 4:38 pm

3.5 rating from 21 votes

Prototype: new cheat sheet and in place editor

Category: JavaScript, Library, Prototype

The maintainer of scripteka, the Prototype extensions library, has produced a new cheat sheet for the recent release. He also has his own widgets such as Proto.IPS an unobtrusive in-place-select widget that mimics the Gmail chat ability to drop down and select, or type in your own new content.

Posted by Dion Almaer at 4:12 am

3.6 rating from 23 votes

Do you have a pretty date?

Category: JavaScript, jQuery, Library

John Resig has created a little script to give you pretty dates that Web 2.0 know and love (thanks Rails): < View plain text > javascript prettyDate("2008-01-28T20:24:17Z") // => "2 hours ago" prettyDate("2008-01-27T22:24:17Z") // => "Yesterday" prettyDate("2008-01-26T22:24:17Z") // => "2 days ago" prettyDate("2008-01-14T22:24:17Z") // => "2 weeks ago" The library is short and sweet: /* Read the rest…

Posted by Dion Almaer at 2:09 am

3.7 rating from 46 votes

Monday, January 28th, 2008

Less maintenance code tutorials with Ajax Code Display

Category: Examples, HTML, JavaScript, jQuery, Unobtrusive JS

One of my main annoyances with writing code tutorials is that you need to maintain code in several locations: the code itself and the examples in the tutorial document. This is not really a problem when you can use a scripting language or print out the tutorials from a CMS, but when you just want Read the rest…

Posted by Chris Heilmann at 11:18 am

4.2 rating from 25 votes

Graceful Degradation of Firebug Console Object

Category: Debugging, JavaScript, Tip

Paul Irish saw the following graceful degradation of Firebug code in the Yahoo! media player: // code yanked from the Yahoo media player. Thanks, Yahoo. if (! (“console” in window) || !(“firebug” in console)) { var names = [“log”, “debug”, “info”, “warn”, “error”, “assert”, “dir”, “dirxml”, “group” , “groupEnd”, “time”, “timeEnd”, “count”, “trace”, “profile”, “profileEnd”]; Read the rest…

Posted by Dion Almaer at 6:37 am

4.7 rating from 339 votes

Saturday, January 26th, 2008

Facebook releases JavaScript Client Library

Category: JavaScript, Library, Social Networks

Wei Zhu seems to be cooking with gas recently, and has released the JavaScript Client Library for Facebook API, which is a client side JavaScript library that mimics the other language client libraries (PHP, Python, Java, Ruby, etc): An application that uses this client library should be registered as an iframe type. This applies to Read the rest…

Posted by Dion Almaer at 1:01 am

3.5 rating from 23 votes

Friday, January 25th, 2008

Prototype security and performance improvements

Category: JavaScript, Library, Prototype

Sam and the team have released Prototype (and Prototype is a backwards-compatible, drop-in replacement recommended for all 1.6.0 users. We’ve fixed 28 bugs and made over a dozen improvements to the code base, including performance improvements for CSS selectors in Safari 3 and for the Element#up/#down/#next/#previous and Event#findElement methods in all browsers. Read the rest…

Posted by Dion Almaer at 6:57 pm

4.4 rating from 32 votes

Library Agnostic LightBox

Category: Ajax, JavaScript

There are a lot of lightboxes out there. Most use specific libraries such as jQuery, Prototype or MooTools but few, if any, are completely library agnostic. This poses a challenge when you want to incorporate, say, a really cool lightbox from MooTools into a Prototype application. Michael J. I. Jackson (no relation to the singer) Read the rest…

Posted by Rey Bango at 11:48 am

4.4 rating from 41 votes

Sexy JavaScript?

Category: JavaScript, Tip

How can you not post something called Sexy JavaScript? < View plain text > javascript // Sexy JavaScript // runs assertNotNull(iframeElement) in IE, otherwise assertNull(iframeElement) // taken from test code for   testShimExists: function() { with(this) {   this[Prototype.Browser.IE ? ‘assertNotNull’ : ‘assertNull’](iframeElement); }},

Posted by Dion Almaer at 1:27 am

2.1 rating from 61 votes

Thursday, January 24th, 2008

Getting HTML 5 styles in IE 7+

Category: HTML, IE, JavaScript

Btw, if you want CSS rules to apply to unknown elements in IE, you just have to do document.createElement(elementName). This somehow lets the CSS engine know that elements with that name exist. This was uttered by Sjoerd Visscher innocently on a Sam Ruby thread, and it sent ripples of “huh? really? How come I never Read the rest…

Posted by Dion Almaer at 8:46 am

4 rating from 23 votes