Hi! Today, I would like to introduce to HackerNews a relatively new template language called HMPL, which can help to significantly reduce the size of your web applications. It has been in the works for almost a year, since the old repositories, but now I think it is really worth paying attention to.
First of all, when talking about reducing the size, we need explicit tests. This repository has examples of what advantages the module has over other ways of creating a web application.
Also, unlike the much talked about HTMX, the module uses the modern fetch standard, and the requests to the server are fully customized, which is necessary for normal operation today. It is also safe, because it has functionality that sanitize incoming HTML from XSS attacks.
It is fully tested, so the number of errors associated with its operation will be minimal.
But if you find any flaw, it would be cool if you share it in the comments or in the community discord, as the project is Open-Source and open for contributions from the entire community!
I hope this project will help you to apply SSR, SSG and other server-oriented methods on any site, but without indexing by robots.
Thank you all very much for your attention! It will be very interesting to read your opinion about this template language! In my opinion, it is not bad, but what do you think?
Hi! Today, I would like to introduce to HackerNews a relatively new template language called HMPL, which can help to significantly reduce the size of your web applications. It has been in the works for almost a year, since the old repositories, but now I think it is really worth paying attention to.
https://github.com/hmpl-language/hmpl
First of all, when talking about reducing the size, we need explicit tests. This repository has examples of what advantages the module has over other ways of creating a web application.
Also, unlike the much talked about HTMX, the module uses the modern fetch standard, and the requests to the server are fully customized, which is necessary for normal operation today. It is also safe, because it has functionality that sanitize incoming HTML from XSS attacks.
It is fully tested, so the number of errors associated with its operation will be minimal.
But if you find any flaw, it would be cool if you share it in the comments or in the community discord, as the project is Open-Source and open for contributions from the entire community!
I hope this project will help you to apply SSR, SSG and other server-oriented methods on any site, but without indexing by robots.
Thank you all very much for your attention! It will be very interesting to read your opinion about this template language! In my opinion, it is not bad, but what do you think?
Sorry for writing like this. I forgot to add to the post