Wednesday, June 16th, 2010

POC ePub Book Reader Booktorious

Category: JavaScript

I checked out this new POC app called Booktorious by August Lilleaas. It’s actually pretty neat in that it’s a 100% client side web application that reads EPUB books. So I jumped over to epubBooks and downloaded Through the Looking-Glass just to see how far down the rabbit hole I could go with this (sorry Read the rest…

Posted by Rey Bango at 7:00 am
Comment here

4 rating from 1 votes

Tuesday, June 8th, 2010

A/B testing your Cohorts with Google Analytics result views

Category: JavaScript, Library, Testing

< View 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() {               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: < View 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: < View plain text > javascript 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

3 rating from 3 votes

Monday, May 31st, 2010

1 + – + + + – + 1. Binary solo? WTFJS!

Category: JavaScript

< View plain text > javascript 1 + + 1              // => 2 1 + – + 1            // => 0 1 + – + – + 1        // => 2 1 + – + – + – + 1   Read the rest…

Posted by Dion Almaer at 1:16 pm

1 rating from 1 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

Monday, May 24th, 2010

Busting framebusters – clickjacking is still a big issue

Category: JavaScript, Security

If you followed the security world a bit in the last year (or fell for the “don’t click this button” Twitter worm) you will have noticed that clickjacking still is a big problem. Clickjacking basically means that you embed a third party web site into yours inside an iframe and give this frame a opacity Read the rest…

Posted by Chris Heilmann at 5:38 am

3 rating from 1 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: < View plain text > HTML <script type="text/javascript">         // Read the rest…

Posted by Dion Almaer at 6:36 am

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.7 rating from 6 votes

Thursday, May 13th, 2010

Garbage Collection in V8; For mobile and beyond

Category: JavaScript, WebOS

GC often gets a bad reputation, without getting its due credit. GC makes life so much easier for JavaScript developers in so many ways, but that benefit doesn’t come free all the time. Also, sometimes there are other activities in the system that can take up CPU time and appear as pauses. Not every pause Read the rest…

Posted by Dion Almaer at 6:55 am
Comment here

3.5 rating from 2 votes

l10n.js: JS localization library

Category: JavaScript

Eli Grey has been doing some great work that we will be featuring here on Ajaxian. First up we have his recent l10n.js, which is a JavaScript library that enables localization through the native JavaScript method intended for it, gracefully degrading if the library is not present. As it gracefully degrades, you can make Ajax Read the rest…

Posted by Dion Almaer at 5:33 am

3 rating from 9 votes

Friday, May 7th, 2010

Great win for WebGL and standards; O3D becomes JS library

Category: Google, JavaScript, Toolkit, Utility, WebGL

This is fantastic news. A lot of people were claiming that O3D was going to beat WebGL because of performance. Then the O3D team showed that the two could be complimentary, and they have taken the next step on that journey. As of today, O3D will stop being a plugin, and will become a JS Read the rest…

Posted by Dion Almaer at 12:56 pm

2.7 rating from 3 votes

Thursday, May 6th, 2010

JavaScript asynchronous method queue chaining

Category: Examples, JavaScript

“Guess who’s back? Back again…..” The JavaScript slim shady himself…. Dustin Diaz (formerly of YUI – Google, now of Twitter) has taken some time out for his busy coding at Twitter, and photography awesomeness to get back to some JS blogging. Dustin has written up a pattern that he used in Twitter @anywhere, the asynchronous Read the rest…

Posted by Dion Almaer at 4:41 pm

3.8 rating from 5 votes

iPad JavaScript Shockingly Slow?

Category: JavaScript, Mobile, Performance

Douglas “My Guns Are Bigger Than Yours” Crockford sent us a pointer to Moonwatcher’s post on entitled “My MacBook Pro runs JavaScript 26.7x as fast as my iPad“. After Moonwatcher ran SunSpider on the iPad, he concluded: It’s one thing not to be able to run Flash apps. But JavaScript performance like this effectively means Read the rest…

Posted by Ben Galbraith at 6:00 am

2.3 rating from 3 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

Thursday, April 29th, 2010

MooTools 1.3b1: A “Slick” release

Category: JavaScript, MooTools

The first beta of MooTools 1.3 has become available. The biggest feature is their new CSS selector engine. They aren’t using Sizzle like some of the other boys, but instead have become Slick: Slick is our new, shiny, super fast, exhaustively tested, pure-javascript selector engine. There will probably be a dedicated Slick post in the Read the rest…

Posted by Dion Almaer at 5:20 am

2.3 rating from 4 votes