Skip to content

{ Category Archives } javascript

AtomPub

I need to see if I can start using this to standardize how some of the simpler web services structure their output.  RSS has sometimes ended up being a default way of representing a list of things because it’s well defined and makes an easy point of agreement.
AtomPub

dragdealer

drag dealer does drag and drop, iPhone compatible…
http://code.ovidiu.ch/dragdealer/

CORS

Cross origin resource sharing is a browser standard that lets you get around the script tag or iframe hacks for accessing web service content hosted on another domain.
Here’s the spec: http://www.w3.org/TR/cors/
Firefox and webkit browsers switch to CORS anytime you ask for an XHR to another domain, but the XHR interface is the same.  IE8 has [...]

processing.js

It’s the processing API ported to javascript and implemented in canvas.  Let the fun begin.
http://processingjs.org/

js unit testing follow up

I admit to being one of those people who has scratched their heads and said “javascript? How do you test it?”  What that meant to me, of course was “how do you automate testing?”
Certainly as my client side code has increased in complexity, I’ve moved towards more structured and repeatable ad hoc testing, driven by [...]

css-like selectors to create html

http://code.google.com/p/zen-coding/
*3 means repeat 3 times
$ means “insert iteration number here”
div#thing>ul*3>li#it-$*3>a+
table>tr*2>td*3>table+

json validation

Some guy James wrote a package of json utilities for .net.  I don’t do .net but there’s still something really interesting in this package… a json schema language and validation implementation.  I can’t find specs for the schema language, but here’s the project page, docs for the json .net classes, and a demo of the [...]

js unit testing

This may turn into reviews soon but for now here’s a post listing javascript unit testing libraries:

qunit from the guy who says “javascript unit testing does not scale“
riotjs a port of a ruby test harness, which I think is a riot
evidence another from a ruby/python guy, from all the evidence I could gather.
jsmock which I [...]