Aggregated Posts (sorted by date)
modulr: a CommonJS module implementation in Ruby for client-side JavaScript
Abstract from Ajaxian (Indexed 2010-03-08):
modulr is a CommonJS module implementation in Ruby for client-side JavaScriptRuby? what does that have anything to do with it? Ah, its from one of those Prototype guys isn't it.... Yup, Tobie is at it again, this time with modulr:modulr accepts a singular file as input (the program) on which is does static analysis to [...]
28 APIs Used in 7 Days: Bing, eBay, Facebook, Fedex, Google, Salesforce, Yahoo and YouTube
Abstract from Programmable Web (Indexed 2010-03-06):
[Image] This past week's new mashups in our mashup directory combined 28 different APIs. Some of the newer or less frequently seen APIs include Google OpenID, Heyzap, Menu Mania, Microsoft adCenter, RescueTime, RPX, Windows Live ID Web Authentication and Yahoo Search Marketing. The most often used APIs this week are Box.net, Facebook and Google Ajax Search. And the most commonly used types of APIs were Security (4 APIs, 4 mashups), Shopping (3 APIs, 3 mashups) and Video (3 APIs, 3 mashups).
Friday fun: Lets translate YUI3 to jQuery
Abstract from Ajaxian (Indexed 2010-03-05):
I just came across this wonderful Gist on gitHub:PLAIN TEXTJAVASCRIPT: var $;YUI().use('*', function(Y){ $ = Y.get; for(var p in Y) { $[p] = Y[p]; }}); // test$('body').append("boo!"); In case you want to use YUI3 but really really like jQuery syntax :) OK, it breaks the whole sandboxing idea of YUI3, but that's a small price to [...]
Color Picker: Works even in IE6
Abstract from Ajaxian (Indexed 2010-03-04):
Works even in IE6Love that quote from the color picker over at RaphaelJS land. This plugin by Dmitry Baranovskiy gives you an easy color picker in short order:PLAIN TEXTJAVASCRIPT: var icon = Raphael("picker", 23, 23).colorPickerIcon(11, 11, 10); icon.attr({cursor: "pointer"}).node.onclick = function () { document.getElementById("benefits").style.visibility = "visible"; var out = document.getElementById...(truncated)...
Link: Textmate + JS + Lint
Abstract from Warped Visions (Indexed 2010-03-04):
A Textmate bundle for running Lint on Javascripts from the bundles menu.
Touching Cloth; Canvas Fu
Abstract from Ajaxian (Indexed 2010-03-03):
Andrew Hoyer shows his canvas Fu with Cloth, a great experiment using nice physics.What makes this simulation special is the speed at which everything is computed. Javascript (the language this is written in) is not exactly the most efficient language for this type of computation. This being said, much time was spent squeezing out every [...]
EnhanceJS: A library to progressively enhance
Abstract from Ajaxian (Indexed 2010-02-25):
EnhanceJS is a new library from the Filament Group, who are serious about progressive enhancement and accessibility.What is EnhanceJS?EnhanceJS is a new JavaScript framework (a single 2.5kb JavaScript file once minified/gzipped) that that automates a series of browser tests to ensure that advanced CSS and JavaScript features will render properly before theyre loaded to the [...]
I Cant Believe Its Not Flash
Abstract from Ajaxian (Indexed 2010-02-19):
Thomas Fuchs gave a presentation titled “I Can’t Believe It’s Not Flash” at WebStock. It is often hard to grasp a presentation from slides, but this one is great fun to flip through.This one really hits home:We were surprised to see how JavaScript was NOT the bottleneck in Bespin when we first prototyped it.And, this [...]
Quicksand: transition and filtering effect
Abstract from Ajaxian (Indexed 2010-02-18):
Jacek Galanciak has created a nice visual transition library, Quicksand, that filters and shows a set of data in an interesting way.The jQuery plugin has you quickly calling quicksand like this:PLAIN TEXTJAVASCRIPT: $('#source').quicksand( $('#destination li') ); and you have the data to transition between:PLAIN TEXTHTML: <ul id="source"> <li data-id="iphone">iPhone OS</li> <li data-id="android">Andr...(truncated)...
Harmony: Bringing together great libraries to enable awesome JS testing in Ruby
Abstract from Ajaxian (Indexed 2010-02-17):
Martin Aumont has released Harmony, which "provides a simple DSL to execute JavaScript and DOM code within Ruby."This enables you to do very cool things such as unit test JavaScript in the same area as your Ruby tests:PLAIN TEXTRUBY:require 'test/unit'require 'harmony'class JavascriptTest <Test::Unit::TestCase def setup @page = Harmony::Page.new @page.load('public/javascripts/foo.js') end def test_foo [...]
Request Filtering in IIS 7 Howto
Abstract from Pete Freitag (Indexed 2010-02-16):
I've been doing some security work in Windows 2008 recently for a client, one feature I've really come to like in IIS 7 is Request Filtering.You can configure Request Filtering at the server wide level, and then override or enhance the filtering at a site / application level.Request filtering can be configured in IIS manager if you install extra addons, or you can configure it using the new config files that IIS 7 introduces. I prefer the .config files coming from an Apache background. The globa...(truncated)...
WTFJS
Abstract from Ajaxian (Indexed 2010-02-15):
The title need no more flushing out. Brian Leroux has created WTFJS to capture some of the rough edges of JavaScript. The stuff that made Crocky write about the Good Parts.Fun side effects such as:PLAIN TEXTJAVASCRIPT: NaN === NaN // false Number.MIN_VALUE> 0;// true? really? wtf.// It turns out that MIN_VALUE is the smallest number// GREATER THAN [...]
YouTube Updates API and Introduces New JSON-C Format
Abstract from Programmable Web (Indexed 2010-02-15):
[Image]YouTube have announced that that they are making a notable change to their YouTube API. The API, which returns results in both XML and JSON, is getting an upgrade on the JSON side, and the change is different enough that they are giving the format a new name JSON-C.
Link: HOWTO make web scripts load more quickly
Abstract from Warped Visions (Indexed 2010-02-14):
HOWTO load scripts without blocking. Measurements and methods for loading scripts asynchronously, with specific browser caveats and tips.
Link: Node.js
Abstract from Warped Visions (Indexed 2010-02-14):
Node.js is a Javascript server framework that does events nicely. Events are used to sequence asynchronous I/O, which has great potential for both serving web pages and serving up raw HTTP client requests (for things like Twitter).
Faye: Bayeaux protocol Comet server for Node.js
Abstract from Ajaxian (Indexed 2010-02-09):
James Coglan has ported a Ruby/EventMachine Comet server to offer a new Node.js server on the Bayeux protocol. The project is Faye and you can check out the code on GitHub.On the client side:PLAIN TEXTHTML: <script type="text/javascript" src="/comet.js"></script> <script type="text/javascript"> CometClient = new Faye.Client('/comet'); CometClient.connect();</script> PLAIN TEXTJAVASCRIPT: CometClient.subscribe...(truncated)...
Think You Know Javascript? Try this Quiz!
Abstract from Ajaxian (Indexed 2010-02-09):
If you know you think you know your objects from your arrays and your null from your undefined, here's a quiz for you from Perfection Kills.I was recently reminded about Dmitry Baranovsky’s Javascript test, when N. Zakas answered and explained it in a blog post. First time I saw those questions explained was by [...]
Javascript ePub Readers
Abstract from Ajaxian (Indexed 2010-02-09):
eBooks have gone mainstream, and right now the open ePub format is getting a lot of attention, being the iPad's book format of choice. Often overlooked in gadget-centric media is the fact that ePub is based on web standards, and therefore amenable to being rendered in the browser, sans plugins. Pure Javascript ePub readers are [...]
Link: PKs Javascript quiz
Abstract from Warped Visions (Indexed 2010-02-09):
Perfection Kills posted an excellent Javascript quiz. How well did you score?
Romn Corts and Ajaxian make up with amazing CSS demos
Abstract from Ajaxian (Indexed 2010-02-08):
We have been long term fans of Romn and the fantastic demos and samples that he puts together, usually involving CSS goodness. We messed up the other week though when we linked to his work on a scrolling coke can. I do these postings as a labor of love, and since Ajaxian isn't my day [...]
