HN user

gergesim

10 karma

[ my public key: https://keybase.io/gerges; my proof: https://keybase.io/gerges/sigs/xgdx8-MeGr_70pCBvcfgM8Tw2jiFx2bYepxdJK8a0b0 ]

Posts0
Comments3
View on HN
No posts found.

This looks really cool, I can definitely think of a few use cases where a docker image might come in handy (vs a service like iron.io that just supporting a variety of languages on IronWorker). At the same time, having to build an image for small ad-hoc tasks might get a bit cumbersome.

I'd really avoid encouraging people to build up strings of html that you simply append to the DOM. This is a great way to run into XSS issues. Although the live DOM is slow,using a DocumentFragment (even if it's completely abstracted away with jQuery) is the right way to make modifications in bulk. The AJAX example is pretty convoluted so I'm not sure what you're proving, but building onto the promise chain seems like a better and much more readable code. Regarding ID selectors, querySelectorAll really minimizes the huge performance gain of id selectors only, and that's exactly what's used on any modern browser when you do a $(".foo")