3 ms·
So you move the JS into the markup, with special attributes. Hmmph.
by serve_yay 11y ago
So you move the JS into the markup, with special attributes. Hmmph.
- carsongross 11y agoHmmph, indeed. However, it is a much simpler conceptual model than doing it w/ javascript off in some jQuery onLoad function: web requests just hit URLs like they always have, download HTML content like they always have and swap it into a rectangle, like they always have. It's just that the rectangle doesn't necessarily have to be the entire screen like it always has. The behavior of a given bit of HTML is fairly localized, which makes it easy enough to understand what, say, a button does, and the server side controllers and templating work like they always have. So, all in all, I'd call it maybe a 7/10 on the curmudgeon scale.