What really interests me about this project is generating nice PDFs from
HTML. WebKit has been ported to quite a few platforms, and PhantomJS
should run on Linux, Windows, and Mac OS X, so it could be a great tool
to have on your server.
load.js by Chris O'Hara is a small
lazy-loading and dependency management library:
I like the chained API, which just so happens to be created with chain.js by the same author.
Phantom Limb by Brian
Carstensen makes desktop browsers to simulate touchscreen device events:
A mousedown fires a touchstart. A
mousemove fires a touchmove if the mouse is
down, and a mouseup fires a touchend. These
custom events are also assigned a touches array
containing a reference to the event, just like a real touch event in a
Brian pointed out that this makes debugging mobile apps easier, because
you're not limited to Mobile Safari's limited debugging tools. There's
also a bookmarklet for activating Phantom Limb, which means you could
use it on any page.
files -- small utilities that are easy to share or stash on a USB stick.
When writing this type of project I like to use a script loader like Google's AJAX Libraries so I
don't need to bundle separate files. Another use case is for very
complex projects: Google's API allows you to easily switch between
different library versions which is great for testing against a new
version of a big library like jQuery.
If you have a place to host code you might still want to use a script
which includes script loading, aliasing and dependencies. The dependency
engine in particular allows you to express rules that permit scripts to
be loaded concurrently, which could improve the load times of your
The following examples are from the hands