Wednesday, September 10, 2014

REST APIs documentation tools

Good article about the topic: Automated Documentation for REST APIs

i/o docs
https://github.com/mashery/iodocs
runs on Node.js, needs Reddis, express, jade and some connectors

Swagger
http://swagger.io/https://github.com/wordnik/swagger-ui
the whole toolbox for creating/documenting REST services

JSON Doc
http://jsondoc.org/getting-started.html

..
and there are several more.

lodash (Lo-Dash) and its performance

Lo-Dash is a js library with loooong list of utility methods, originally forked from Underscore.js and now super-optimized for high productivity.

Also see a nice talk about approaches towards performance in JS by John-David Dalton the creator of lodash lib:

Way to stop page load and rendering using javascript

window.stop(); //works in all browsers but IE    
if (IE) {document.execCommand("Stop");}; //works in IE,