MockJSON is a jQuery plugin that can hijack JSON and JSONP requests

Posted by yagi in Javascript, The web juillet 01, 2011  |  No Comments

MockJSON is a plugin for jQuery that can hijack JSON and JSONP requests and respond with randomly generated JSON data. Completely random JSON would be pretty useless of course, so you can specify a JSON template for each request. On the right you see an example of such a template and some generated output.

 

http://experiments.mennovanslooten.nl/2010/mockjson/index.html

Read More

normalize.css

Posted by yagi in The web juin 21, 2011  |  No Comments

Normalize.css is a customisable CSS file that makes browsers render all elements more consistently and in line with modern standards. We researched the differences between default browser styles in order to precisely target only the styles that need normalizing.

http://necolas.github.com/normalize.css/

Read More

Modernizr 2

Posted by yagi in The web juin 21, 2011  |  No Comments

The long wait is over—Modernizr 2 is here! Modernizr 2 takes feature detection to the next level, enabling a powerful new approach to building great websites and applications that elegantly respond and adapt to the user’s environment.

http://www.modernizr.com/news/modernizr-2

Read More

Super small relative dates

Posted by yagi in Javascript, The web juin 21, 2011  |  No Comments

Super simple relative dates in javascript: https://gist.github.com/1005000 Works everywhere that matters.

Read More