\v/ juliangruber
hi, my name is julian gruber and i am a webarchitect at boersego, computer science student at tu munich and developer of top secret side projects.
i am from munich, germany.
twitter.com/juliangruber
github.com/juliangruber
-
2012-05-28
-
2012-05-24
-
2012-05-23
Js2coffee: convert JavaScript code to CoffeeScript
Come on, convert your old code bases to coffeescipt :)
-
→
Js2coffee: convert JavaScript code to CoffeeScript
Come on, convert your old code bases to coffeescipt :)
-
2012-05-21
Algorithm for automatic cache invalidation - Google Groups
Beautiful algorithm explainable using graph theory
-
→
-
2012-05-18
-
2012-05-10
vdemedes/restie
JavaScript ORM that talks to RESTful interface, rather than database. For Node.js and browsers
-
2012-05-08
Findings from JSPerf
I looked through JSPerf and noted the imo most important or surprising benchmarks.
Run them in your browser to see the exact results. Note that I only checked them in Chrome Dev.
I am going to write an extra post just for templating libraries with other browsers and syntax etc. taken in account.
- Check object for property: === undefined is the fastest
http://jsperf.com/in-operator-vs-typeof-undefined - Object cloning: __proto__ is the fastest
http://jsperf.com/cloning-an-object/17 - Equality: === is faster than ==
http://jsperf.com/strict-equals-vs-equals - True vs False: (!x) is faster than (x)
http://jsperf.com/true-vs-false-test/2 - Getting an Int: valueOf() is the fastest
http://jsperf.com/valueof-vs-parseint-vs-multiply-by-1 - getElementById is twice as fast as $(‘#id)
http://jsperf.com/jquery-vs-jscript - Templating: dot > haml (1) > KendoUI -blocks (18) > underscore -with (49) > dust (58) > jqote2 (59) > KiTE/Blueimp (75) > mote (80) > handlebars (82) > Pure/Resig -with (83) > Vash -Escaping (84) > Eco (86) > Mustache (92) > Hogan (94) > ejs (96) > underscore/Resig (97) > KendoUI/Template/Vash (98) > Jade/jsRender (99) (> = faster)
http://jsperf.com/javascript-templating-shootoff-extended/26
- Check object for property: === undefined is the fastest
-
2012-05-07
maritz/nohm
Nohm is an object relational mapper (ORM) written for node.js and redis.
-
→
-
→
niklasvh/html2canvas
This script allows you to take “screenshots” of webpages or parts of it, directly on the users browser. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.
-
→
osuushi/Smooth.js
Smooth.js takes an array of numbers or vectors and returns a parametric function that continuously interpolates that array. Smooth.js supports several interpolation methods, and flexible options for boundary behavior.
-
→
-
2012-05-03
Jenga - Physijs
this…is…JENGA-IN-THE-BROWSER-LIKE-NEVER-BEFORE!!!