HackerTrans
TopNewTrendsCommentsPastAskShowJobs

antonmak1

no profile record

Submissions

[untitled]

1 points·by antonmak1·السنة الماضية·0 comments

[untitled]

1 points·by antonmak1·السنة الماضية·0 comments

[untitled]

1 points·by antonmak1·السنة الماضية·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

Show HN: HMPL – Server-oriented customizable templating for JavaScript

github.com
5 points·by antonmak1·قبل سنتين·1 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

HMPL – Best Alternative to Htmx

dev.to
2 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

[untitled]

1 points·by antonmak1·قبل سنتين·0 comments

comments

antonmak1
·السنة الماضية·discuss
Interesting list and cool design! I would also add alternatives to Alpine.js and HTMX: https://hmpl-lang.dev
antonmak1
·قبل سنتين·discuss
Hello everyone! With this comment, as a starting point, I would like to mark a new stage in the development of the product and show the whole Product Hunt, and the world in general, what we have done in the last 6 months of work! Working like ants, efforts were made on a product that made it easier to work with the server and clients on the web.

It is a open-source template language that extends the capabilities of HTML. The main tasks that it solves are:

- Creating web applications with the same interface as if they were written on modern frameworks, but with a significantly smaller bundle size, which will allow you to load sites faster.

- Building a server-oriented application structure that is almost independent of the client. This will allow you to share components across multiple sites without using the Microfrontend methodology and generally not depend on files on the server (in repositories, for example).

- Unlike similar ones, this module is easily integrated into other web applications, and also has extensive customization, which will allow you to send requests to the server not pre-prepared by the module, but completely custom, with the use of fetch!

The essence of the module is simplicity. It combines different approaches to working with the server and provides a kind of middle ground when you are working with either javascript or HTML markup. This principle allows you to combine code with other architectures without building your own completely on it. It can be implemented both in the Vue application and in Angular, Wordpress, self-written sites and much more!

Examples: https://hmpl-lang.dev/examples.html

Demo Sandbox: https://codesandbox.io/p/sandbox/basic-hmpl-example-dxlgfg

Like an ant. Small, but hardworking!

------------ ------------ ---------------
antonmak1
·قبل سنتين·discuss
https://hmpl-lang.github.io/blog/blog/2024/08/10/differences...
antonmak1
·قبل سنتين·discuss
Regarding the standards that should be applied to template languages - all this will be adjusted as it develops. This module comes as a new idea that I would like to implement into a really good product. Even when working on Cample, I thought about something similar.
antonmak1
·قبل سنتين·discuss
Thank you very much for your feedback! In short, it's about theories like SPA, SSR and others. There are different approaches to creating web applications with their pros and cons. This template language is simply an implementation of one of these ideas. You can make websites using PHP (working with WP and other similar things), and through frameworks that use SSR as a basis and others.
antonmak1
·قبل سنتين·discuss
It's entirely my fault that I haven't written an article on this topic yet.
antonmak1
·قبل سنتين·discuss
Thank you very much for your feedback! This is a template language oriented primarily to work via JavaScript. It does not functionally interact with the real DOM in any way. You create separate objects with nodes. Also, the syntax is based on passing objects "to HTML", while HTMX works via attributes. I have long wanted to make a full-fledged article on this topic, but I never got around to it. I am already tired of just writing the same thing over and over again.
antonmak1
·قبل سنتين·discuss
Thank you very much to everyone for your feedback on the template language!
antonmak1
·قبل سنتين·discuss
Thank you very much for your feedback!
antonmak1
·قبل سنتين·discuss
Thank you very much for your feedback! No, it's just great to work through javascript. Moving away from javascript is not intended. It's the opposite: a connection with the server, passing the RequestInit object, and other similar things!
antonmak1
·قبل سنتين·discuss
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.
antonmak1
·قبل سنتين·discuss
Hello! Thank you very much for your comment! I described in more detail the example of use here - https://dev.to/antonmak1/how-to-reduce-javascript-file-size-...
antonmak1
·قبل سنتين·discuss
I haven't used Python that often, so I can't say for sure.
antonmak1
·قبل سنتين·discuss
Thank you very much for creating a video about the template language review! I have just started making it and it is not yet included in any databases.
antonmak1
·قبل سنتين·discuss
Big thanks to thunderbong for making this thread. I just noticed it, sorry.
antonmak1
·قبل سنتين·discuss
I'll write more here
antonmak1
·قبل سنتين·discuss
[dead]
antonmak1
·قبل 3 سنوات·discuss
[dead]
antonmak1
·قبل 3 سنوات·discuss
Repo - https://github.com/Camplejs/Cample.js
antonmak1
·قبل 3 سنوات·discuss
[flagged]