JavaScript


Thursday, October 29th, 2009

Would you like a _ with that $? New library gives JS what it should have

Category: JavaScript, Library

Jeremy Ashkenas and the DocumentCloud team have just released Underscore.js a small library that provides all the functional programming helpers that you expect from Prototype.js or Ruby, but without extending any core JavaScript objects. Jeremy told us: This makes it a natural fit alongside jQuery, without having to worry about the conflicts and redundant functionality Read the rest…

Posted by Dion Almaer at 12:50 am
21 Comments

+----
1.9 rating from 74 votes

Tuesday, October 27th, 2009

JavaScriptMVC 2.0: Major Rewrite, Strong Test Suite Integration and Improved Documentation

Category: JavaScript

The JavaScriptMVC team has announced v2.0, a major update & rewrite to their MVC-based JavaScript framework. The release incorporates several big changes including a rewrite of the library to leverage jQuery’s functionality and style guidelines. For example, if you have a list of entries, you can organize the event handlers like: < View plain text Read the rest…

Posted by Rey Bango at 3:00 pm
10 Comments

++---
2.1 rating from 67 votes

Wednesday, October 21st, 2009

Implied globals in browsers

Category: IE, JavaScript, Security

Stoyan Stefanov has done some testing on so called implied globals in browsers. One of the interesting finds was that the meta description is accessible in JavaScript using object property notation on IE and other browsers. < View plain text > HTML <meta name="description" content="test me" /> < View plain text > javascript alert(description.content); // Read the rest…

Posted by Chris Heilmann at 10:35 am
15 Comments

++---
2.1 rating from 53 votes

Tuesday, October 20th, 2009

Microsoft Ajax Minifier VS YUI Compressor

Category: JavaScript, Microsoft, YUI

I have discovered only yesterday the Announcing Microsoft Ajax Library (Preview 6) and the Microsoft Ajax Minifier post and using Visual Studio on daily basis I could not miss an instant minifier test. First of all, my apologizes for the wrong tweet and the comment left in the related post. I have spotted a false Read the rest…

Posted by webreflection at 10:54 am
16 Comments

++---
2.8 rating from 49 votes

Monday, October 19th, 2009

jQuery Concrete; ConcreteUI programming in jQuery

Category: JavaScript, jQuery

Hamish Friedlander of SilverStripe has developed jQuery Concrete as a way to enable developers to easily add functions to groups of DOM elements based on the structure and contents of those DOM elements. Hamish told us: I’d like to announce the 0.9 (API stable) release of the Concrete and Selector libraries for jQuery. Concrete provides Read the rest…

Posted by Dion Almaer at 6:47 am
18 Comments

++---
2.4 rating from 73 votes

Monday, October 5th, 2009

QueryLoader, a full page preloader

Category: CSS, JavaScript, jQuery

The classic animated gif, or the “loading…” text, could be now easily replaced thanks to this new jQuery plug-in. Specially suited for a page loads of images, the final result showed in this demo looks really nice and flashy. Features: Preload a whole web page. Preload a part of the page. Gets all images, <img> Read the rest…

Posted by webreflection at 12:30 pm
11 Comments

+++--
3.3 rating from 11 votes

Thursday, September 24th, 2009

JavaScript Liquid Image FX

Category: JavaScript

Inspired by its conceptual simplicity, Andrea Giammarchi ( cough, the newest Ajaxian, cough ) has revisited an old ActionScript 1.0 Image effect making it lightweight, 1.2Kb minified and gzipped, and portable, thanks to its cross-browser nature and zero libraries dependencies. Last but not least, it’s 100% JavaScript, and without canvas. The theory is simple: expanding Read the rest…

Posted by webreflection at 6:30 am
13 Comments

+++--
3.9 rating from 51 votes

Friday, September 18th, 2009

Vanadium: Semantic client side validation

Category: JavaScript, Library

Vanadium is a new client side validator that allows you to set semantic validation logic via the class attribute. The main page has examples such as: < View plain text > HTML <input class=":required" type="text"/> <input class=":integer" type="text"/> <input class=":length;4" type="text"/> <input class=":min_length;4" type="text"/> <input class=":format;/^(vanadium)+$/i" type="text"/> <input id="pass" class=":ajax;/username_checker/check.json" type="text"/> <input id="pass" class=":email" type="text"/> Read the rest…

Posted by Dion Almaer at 6:04 am
23 Comments

++---
2.7 rating from 46 votes

Thursday, September 17th, 2009

YUI 2.8.0 – Local Storage wrapper, better Flash interaction, crossdomain connections and progress bars

Category: Flash, JavaScript, Storage, Yahoo!, YUI

Yahoo this week announced the new release of the Yahooo User Interface library. This is great because it answers the question if the 2.x library is still being maintained whilst 3.0 is out and buzzing. The detailed release notes for YUI 2.8.0 show that there is indeed a lot of maintenance and improvement still being Read the rest…

Posted by Chris Heilmann at 5:49 pm
1 Comment

++++-
4.6 rating from 24 votes

Wednesday, September 16th, 2009

Doloto, the JavaScript optimizer, released by Microsoft Research

Category: JavaScript, Microsoft, Performance

We posted on Doloto, the Microsoft Research project to help optimize JavaScript via code splitting. Ben Livshits and his team have now released the tool: Doloto is an Ajax application optimization tool, especially useful for large and complex Web 2.0 applications that contain a lot of code, such as Bing Maps, Hotmail, etc. Doloto analyzes Read the rest…

Posted by Dion Almaer at 6:42 am
19 Comments

+++--
3 rating from 40 votes

Tuesday, September 8th, 2009

Prototype 1.6.1; Speed up, clean up, and team up

Category: JavaScript, Prototype

Congratulations to Andrew Dupont and Tobie Langel (new official co-lead of Prototype-core) on the new 1.6.1 release: Full compatibility with new browsers. This version of Prototype fully supports versions 1.0 and higher of Google Chrome, and Internet Explorer 8 in both compatibility mode and super-standards mode. Element metadata storage. Easily associate JavaScript key/value pairs with Read the rest…

Posted by Dion Almaer at 8:43 am
14 Comments

+++--
3.2 rating from 6 votes

Kamaloka: AMQP implementation in JS

Category: Comet, JavaScript

Would you like to talk messaging directly from the browser? Kamaloka is a new library that speaks AMQP. You can easily tie to Orbited but also, in theory, any other library that speaks TCPSockets. < View plain text > javascript Orbited.settings.port = 9000;    amqp_broker_port = 7000;      amqp_conn = amqp.Connection({host: ‘localhost’,     Read the rest…

Posted by Dion Almaer at 6:28 am
2 Comments

++---
2.9 rating from 19 votes

Friday, September 4th, 2009

Stratified JavaScript; Concurrency features in JavaScript

Category: JavaScript

Alex Fritze has introduced Stratified JavaScript, an experiment that allows us to play with some concurrency features in JavaScript in a cross browser way. It features: The ability to pause execution: hold() < View plain text > javascript var elem = document.getElementById("animated_element");   var x = 0;   while (true) {     elem.style.left = Read the rest…

Posted by Dion Almaer at 6:11 am
1 Comment

++++-
4.4 rating from 45 votes

Thursday, September 3rd, 2009

JavaScript on the command line or as a shell scripting language

Category: Java, JavaScript

I am always fascinated that no matter how shiny the OS, sooner or later you’ll end up typing things into a text console to get the darn machine to do what you want it to. To make matters worse you also have to resort to languages that you don’t use every day but are from Read the rest…

Posted by Chris Heilmann at 7:25 am
13 Comments

++++-
4 rating from 27 votes

CKEditor 3

Category: JavaScript, Library

Frederico Caldeira Knabben is the creator of the editor formerly known as FCKEditor. His latest update changes the name to be less controversial, and delivers a lot more than that. CKEditor 3 has been cleaned up a ton and you will happy to see the main focus: Amazing performance! Yeah… that’s really a big difference. Read the rest…

Posted by Dion Almaer at 6:59 am
20 Comments

++++-
4.5 rating from 50 votes

Monday, August 31st, 2009

Clamato: Smalltalk-esque runtime in the browser

Category: JavaScript, Showcase

As soon as we developed Bespin we wanted a world where we could create an application in the editor and see it live… and then edit it all live too! Server-side JS makes this quite possible. Clamato is experimenting in this way too, albeit slightly differently: Clamato is a Smalltalk dialect that is designed to Read the rest…

Posted by Dion Almaer at 6:31 am
4 Comments

++++-
4.2 rating from 19 votes