Better HN
topnewbestaskshowjobs
Log inSign up

Warry

2 karma · joined Apr 2, 2011 (15y ago) · 2 submissions

Submissions

comment 14y ago · link · parent

Looks like 37signals changed a bit in 6 years : http://37signals.com/svn/archives2/dont_scale_99999_uptime_i...

comment 15y ago · link · parent

Hi!

I had to leave earlier ParisJS, so I haven't seen your presentation, but people have given me some nice feedbacks! I like the way you take care of performance, it's cool!

But... I'm not sure that caching your result is a good idea. Almost by definition, Javascript is changing the DOM, so are the results eventually. A good practice is to cache-it, but manually is good enough, and at least you keep the power on the lists. I mention this because this is the feature you've highlighted with your benchmark.

Here an explanation of my words :

scope.ready(function(my, $) {

$("h2").addClass("mytest");

$("div").appendHtml("<h2>Test</h2>");

$("h2").addClass("mytest2");

});

>>> My new h2 doesn't have any class.

I'm looking forward to see how this will evolve! Keep going!