Library


Tuesday, October 26th, 2010

Adding fibers to your server side v8 diet offers efficiency and clarity

Category: JavaScript, Library

In computer science, a fiber is a particularly lightweight thread of execution. Like threads, fibers share address space. However, fibers use co-operative multitasking while threads use pre-emptive multitasking. Threads often depend on the kernel’s thread scheduler to preempt a busy thread and resume another thread; fibers yield themselves to run another fiber while executing. The Read the rest…

Posted by Dion Almaer at 11:03 am
4 Comments

++++-
4 rating from 9 votes

Thursday, October 7th, 2010

Yo Yo, develop killer cross platform mobile Web apps with Jo

Category: Announcements, Framework, JavaScript, Library

Dave Balmer (formerly YUI, currently working with me on webOS) has created a fantastic cross platform mobile Web framework called Jo. What do I mean by cross platform? webOS, iOS, Android, Symbian, Safari, Chrome, and even Dashboard Widgets. It’s philosophy is: If you want to jam an existing web page into an application framework, jo Read the rest…

Posted by Dion Almaer at 1:33 am
Comment here

+++--
3.7 rating from 10 votes

Thursday, August 26th, 2010

innerShiv: Make innerHTML + HTML5 Work in IE

Category: IE, Library

(Various Shivs) Via JD Bartlett comes HTML5 innerShiv for IE. Before innerShiv, the following would not work in IE: HTML4 < view plain text > var s = document.createElement(‘div’); s.innerHTML = "<section>Hi!</section>"; document.body.appendChild(s); For example, let’s imagine we have some CSS that defines the following for the HTML5 elements footer, header, and section: css < Read the rest…

Posted by Brad Neuberg at 5:00 am
5 Comments

++---
2.2 rating from 5 votes

Tuesday, August 17th, 2010

Glimmer: Visual Builder for JQuery Animations

Category: jQuery, Library

From Tim Aidlin over at Microsoft comes a tutorial on using JQuery to do animation. The tutorial is focused on using a new library they have designed called Glimmer that allows designers and developers to create interactive elements and animations on web pages using JQuery. Using Glimmer you setup your HTML and CSS and then Read the rest…

Posted by Brad Neuberg at 5:00 am
8 Comments

+++--
3 rating from 8 votes

Wednesday, July 28th, 2010

Canto.js: An Improved Canvas API

Category: Canvas, JavaScript, Library

Javascript author extraordinaire David Flanagan released Canto.js recently, a lightweight wrapper API for canvas, introduced here and documented at the top of the source code. Example: javascript < view plain text > canto("canvas_id").moveTo(100,100).lineTo(200,200,100,200).closePath().stroke(); Notice three things: canto() returns an abstraction of the canvas – a “Canto” object. As with jQuery and similar libraries, there’s method Read the rest…

Posted by Michael Mahemoff at 11:10 pm
19 Comments

++---
2.8 rating from 4 votes

Tuesday, July 27th, 2010

YUI 3.2.0 preview release 1 – touch events support, transitions and browser-specific loading

Category: Browsers, CSS, JavaScript, Library, YUI

Over at the the YUI blog the team just announced the preview release of YUI 3.2.0. YUI3 now has some interesting new features that the team wants you to try and tell them if they work out for you. The changes to the already very powerful library are quite ambitious: Touch event support for mobile Read the rest…

Posted by Chris Heilmann at 1:34 pm
7 Comments

+++--
3.6 rating from 7 votes

Friday, June 18th, 2010

Inline content assist for text fields and areas

Category: Component, JavaScript, Library

Sergey Chikuyonok has created a really nice, easy to use, and good looking content assist library for input text fields and text areas: It calculates precise position of characters in <textarea> or <input> tag and places completion proposals popup under it. You can explicitly call popup window to assist/replace word (depends on caret position) with Read the rest…

Posted by Dion Almaer at 5:12 am
5 Comments

++++-
4 rating from 2 votes

Thursday, June 17th, 2010

Sencha Touch: The end of native; A new touch framework for the Web

Category: JavaScript, Library, Mobile, Sencha

As I walked around Moscone last week, I saw some prophets speaking of a future that isn’t all Native. A future where the Web is the platform. Others saw it too: I pondered who would be behind the act and smiled as I had a good idea. The group behind this all is the newly Read the rest…

Posted by Dion Almaer at 8:00 am
21 Comments

++---
2.8 rating from 6 votes

Modernizr: Point and see how modern you are

Category: Library

Modernizr detects feature support across JS APIs and CSS. Now, there is a simple page that shows you what Modernizr thinks of your browser:

Posted by Dion Almaer at 6:32 am
5 Comments

+++++
5 rating from 2 votes

Tuesday, June 8th, 2010

A/B testing your Cohorts with Google Analytics result views

Category: JavaScript, Library, Testing

javascript < view plain text > var header_test = new Cohorts.Test({     name: ‘big_vs_small_header’,     sample: 1, // we want to include all visitors in the test     cohorts: {         big: {             onChosen: function() {               Read the rest…

Posted by Dion Almaer at 6:37 am
1 Comment

+++--
3 rating from 2 votes

Wednesday, June 2nd, 2010

Stomple: Stomping to the server via WebSockets

Category: JavaScript, Library

Karl Krukow has created Stomple, a library that “enables using the browser as a reliable messaging client, e.g. for JMS.” It is trivially simple to now have a browser (that supports this new WebSockets world) to join in with JMS backends, and start to consume. To get going it is as simple as: javascript < Read the rest…

Posted by Dion Almaer at 2:38 am
Comment here

+++++
5 rating from 1 votes

Tuesday, June 1st, 2010

Two JS solutions to run SQL-like statements on Arrays and Objects

Category: JavaScript, Library

Thomas Frank released SQLike a script that allows you to filter arrays and objects in JavaScript with a SQL-like syntax. Query: javascript < view plain text > SQLike.q(     {         Select: ['firstName','|count|','firstName','|sum|','salary','|min|','salary','|max|','salary','|avg|','salary'],         From: dataArray,         GroupBy: ['firstName'],         Having: function(){return Read the rest…

Posted by Chris Heilmann at 4:13 am
23 Comments

++---
2 rating from 2 votes

Thursday, May 27th, 2010

towel.js: momentum drag, simple code

Category: JavaScript, Library, MooTools

Scato Eggen, in honor of Towel Day in the Netherlands, has released an open source framework called towel.js. towel.js is an extension for Mootools, designed to make event-based code easier to write and even more important: easier to read. At the hart of towel.js is a modular helper system called towel, including two helpers called Read the rest…

Posted by Dion Almaer at 6:37 am
Comment here

+++--
3.9 rating from 8 votes

Tuesday, May 18th, 2010

Projekktor: Simply Mighty Video

Category: JavaScript, Library, Video

Projekktor is another JavaScript library that sits on top of the <video> tag to provide richer chrome and features, and also backwards compatibility via Flash. Once you load the shim, you can setup config and then you just have to use video: HTML4 < view plain text > <script type="text/javascript">         // Read the rest…

Posted by Dion Almaer at 6:36 am
4 Comments

+++--
3.8 rating from 4 votes

Monday, May 17th, 2010

RequireJS 0.11 Released; Ready for jQuery

Category: JavaScript, jQuery, Library

James Burke is moving quickly with his RequireJS library. He recently posted about the requirements that John Resig has for a script loader for jQuery: script loading must be async script loading should do as much in parallel as possible. This means in particular, that it should be possible to avoid dynamic nested dependency loading. Read the rest…

Posted by Dion Almaer at 12:11 am
3 Comments

+++--
3.7 rating from 6 votes

Tuesday, May 4th, 2010

RGraph: Canvas based graphing library

Category: JavaScript, Library

There are a few graphing libraries out there. The latest that we have been shown is RGraph by Richard Heyes: RGraph is a graphing/charting software component for websites. It uses HTML5 technologies (the new Canvas tag) which is already present in most modern web browsers to create and show graphs/charts. The graphs are created inside Read the rest…

Posted by Dion Almaer at 12:55 am
1 Comment

+++--
3.3 rating from 4 votes