HTML6 proposal for single-page apps without JavaScript
11–20 of 177 posts
Re: HTML6 proposal for single-page apps without JavaScript
#12I think we should keep HTML simple and enforce a strict separation between template and logic. However, I do like the idea of adding a native "model" attribute to the DOM element that can automatically get/parse json and update accordingly.
Re: HTML6 proposal for single-page apps without JavaScript
#13Re: HTML6 proposal for single-page apps without JavaScript
#14Edit: Obviously I understand that XForms isn't a viable option these days, but that is kinda my point. Why isn't XForms an option? Those reasons appear to apply to this proposal too...
Re: HTML6 proposal for single-page apps without JavaScript
#15I think it would be good for less ambitious projects, but in the end it would cripple the building of more ambitious ones. If we already have Angular/React/Components/Whatever, shouldn't we just keep working on them and leave the HTML spec unpolluted?
Re: HTML6 proposal for single-page apps without JavaScript
#16I fully realize this is not what the linked page is proposing, but it is not clear to me that using that wouldn't be a better idea, leaving the selection of templating to the user. Template languages, while smaller than programming languages, share their characteristic that there isn't obvious One Solution That Solves Everything. You can optimize them for different use cases and it is not clear to me that we can or should privilege one over the others. Given how rapidly the web is heading away from an overprivileged programming language being the only choice, this seems like going the wrong direction.
(Also, if your template language is slowing your server down, fix that. That's a problem with your implementation language, not the fundamental concept.)
Re: HTML6 proposal for single-page apps without JavaScript
#17Re: HTML6 proposal for single-page apps without JavaScript
#18But the main thing is that this doesn't solve any problem that exists. We can already do everything his proposal would enable; all this does is make it more inflexible.
Re: HTML6 proposal for single-page apps without JavaScript
#19Re: HTML6 proposal for single-page apps without JavaScript
#20Maybe if you start with an argument to support your claim, you want to have actual numbers. And those real numbers would tell a different story.