Monday, April 1, 2013
Thursday, March 14, 2013
Getting Started with OAuth 2.0
im sorry to say that, orailly is usually a good book publisher but
Getting Started with OAuth 2.0
is imho one really bad book
. no added value when compared to original specification.
about the same size of pages.
just changed ascii art diagrams to ugly graphics
and added samples.
really not good reading.
if spent money already, skip to appendix directly
and dont forget to read this
as well
http://hueniverse.com/2010/09/oauth-2-0-without-signatures-is-bad-for-the-web/
Tuesday, March 5, 2013
dojox/mobile/parser (jsPerf test needed from androids)
Few notes on the code in mobile parser,
still waiting for feedback:
http://bugs.dojotoolkit.org/ticket/16795
Please, click the tests on jsPerf:
Sunday, January 13, 2013
dojo-declare - performance
http://jsperf.com/dojo-declare
I would expect some slow down but not this big.
Need to investigate. Any collaboration appreciated.
Construction:
Sunday, January 6, 2013
Wednesday, January 2, 2013
dojo/dom-class vs. native classList
1) html 5 supports classList http://davidwalsh.name/classlist 2) dojo implementation is not using these native methods, and is slow compared to native variants: http://jsperf.com/native-dojo-class-manipulation-v-html5/7 Here is (my) draft of improvement: http://jsperf.com/native-dojo-class-manipulation-v-html5/8 (last method "Has Class - Dojo - with feature detection" and naive has(), contains1() methods) Native support detection issue is also mentioned in bug discussions (currently closed as 'rejected'): http://bugs.dojotoolkit.org/ticket/11465 More, it is marked as "posterity" in latest source code (line 43): https://github.com/dojo/dojo/blob/master/dom-class.js 3) Many HTML5 support detections are still missing in has.js: IMHO, about classList, only pull request from brianforbes, 2 years old (quite ugly): https://github.com/bryanforbes/has.js/commit/c2711e28989c0b838ea5d121915de3dad6952b0b For the beginning, we are comparing: Has Class - Dojo domClass.contains("single_class", "a_class"); Has Class - HTML5 document.getElementById("single_class").classList.contains("a_class"); classList contains with dojo byId dom.byId("single_class").classList.contains("a_class"); Has Class - Dojo - with feature detection domClass.contains1("single_class", "a_class"); http://jsperf.com/native-dojo-class-manipulation-v-html5/8
Subscribe to:
Posts (Atom)
