Library
Tuesday, October 26th, 2010
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...
Thursday, October 7th, 2010
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...
Thursday, August 26th, 2010
Category: IE
, Library
(Various Shivs) Via JD Bartlett comes HTML5 innerShiv for IE. Before innerShiv, the following would not work in IE: PLAIN TEXT HTML: 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: PLAIN TEXT CSS: Read the rest...
Tuesday, August 17th, 2010
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...
Wednesday, July 28th, 2010
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: PLAIN TEXT JAVASCRIPT: 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 chaining; Read the rest...
Tuesday, July 27th, 2010
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...
Friday, June 18th, 2010
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...
Thursday, June 17th, 2010
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...
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:
Tuesday, June 8th, 2010
Category: JavaScript
, Library
, Testing
PLAIN TEXT JAVASCRIPT: 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() { $('#big').show(); Read the rest...
Wednesday, June 2nd, 2010
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: PLAIN TEXT Read the rest...
Tuesday, June 1st, 2010
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: PLAIN TEXT JAVASCRIPT: SQLike.q( { Select: ['firstName','|count|','firstName','|sum|','salary','|min|','salary','|max|','salary','|avg|','salary'], From: dataArray, GroupBy: ['firstName'], Having: function(){return this.count_firstName>1}, Read the rest...
Thursday, May 27th, 2010
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...
Tuesday, May 18th, 2010
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: PLAIN TEXT HTML: <script type="text/javascript"> // check out Read the rest...
Monday, May 17th, 2010
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...
Tuesday, May 4th, 2010
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...