Re:HMPL – template language for displaying UI from server to...
by echoangle on Friday August 09, 2024 @05:52PM
(#41205652)
I was mainly responding to this paragraph in the submission:
> The HMPL template language extends the capabilities of regular HTML by adding query objects to the markup to reduce the code on the client. When writing SPA, a large amount of javascript code is generated, which is loaded when the user visits the site, so the loading speed can be quite slow. All this can be avoided by generating the markup on the server and then loading it on the client:
< some code >
Let's say that the same code on popular frameworks such as Vue and others takes up much more code, which, in fact, can be moved to the server.
Maybe I’m misinterpreting but this seems to say that this approach is an improvement over SPAs. My point is that this is basically what everyone else has done all the time before SPAs were even a thing.
Re:HMPL – template language for displaying UI from server to...
by antonmak1 on Saturday August 10, 2024 @01:36PM
(#41210980)
Thank you very much for your feedback! This idea has been discussed and used in web development for quite some time now. I am certainly not inventing anything new, but I think the idea of combining the template language approach and server requests to get a UI looks interesting.
Afaict nowhere is it being presented as a new or genius idea, or is it suggesting it will replace SPA frameworks. These all seem to be things you've projected on to the submission.