Hacker News new | past | comments | ask | show | jobs | submit login

It's more than that, they could have fixed html to support snippets without needing a full page reload.

They haven't and now we're in this javascript SPA mess.




This, so much. There's a reasonable set of common JS usage patterns out there that really ought to be replaced with declarative statements in HTML and supported by browsers, so that doing things like dynamic forms, drag-and-drop areas, page transitions without reload, notification badges, etc. would not have to require running arbitrary code.

Intercooler.js provides a preview of what this could be like, but, of course, it's layered on top of javascript since that's the hammer we have to work with.


MS actually did somethinng like this in IE5/6 in VB, but it never caught on. You could write a sort of reusable code snippet. I can't remember for the life of me what they were called though.

Probably had the word "Active" in it. Active control or something like that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: