About HMPL.js Forem
Welcome to the HMPL.js Forem!
Hello and welcome, developers! This is the official community hub for HMPL.js, the server-oriented, customizable templating language for JavaScript.
If you're excited about building dynamic, modern, and incredibly small web applications by keeping logic on the server and fetching HTML, you've found your home.
What This Community Is About
Our mission is to create a central place for developers to learn, discuss, and master HMPL.js. We believe in building powerful user interfaces with minimal client-side JavaScript, leveraging the server to do the heavy lifting.
HMPL.js is designed to be:
- Flexible: Get the benefits of SSR on any platform, whether it's a simple static site or a complex single-page application.
- Easy to Use: Describe a couple of properties in an object and get ready-to-use HTML directly from your server.
- Reliable: With 100% code coverage and built-in protection against XSS vulnerabilities (using DOMPurify), you can build with confidence.
- Lightweight: All this functionality is packed into just ~24 kilobytes, making your apps significantly smaller than those built with other popular tools.
This forum is the place to explore these concepts, share your successes, and get help when you need it.
What to Discuss Here
We encourage a wide range of discussions. Whether you're a beginner or an expert, your voice is welcome. Here are a few ideas to get you started:
- Questions & Support: Need help with installation,
hmpl.compile(), or thehmpl-dommodule? Ask away! Use the#helptag. - Show & Tell: Share the awesome things you've built with HMPL.js. Post a link to your project or a code snippet. Use the
#showdevtag. - Tutorials & Guides: Found a great way to solve a common problem? Write a post to share your knowledge with the community. Use the
#tutorialtag. - In-Depth Discussions: Let's talk about best practices, performance, or how HMPL.js compares to libraries like HTMX and Alpine.js. Use the
#discusstag. - Ideas & Feedback: Have a suggestion for a new feature or an improvement? We'd love to hear it!
How to Get Involved
Jumping in is easy!
- Introduce yourself in the comments of a welcome thread.
- Ask a question or help answer someone else's.
- Share your project or a cool code snippet you've written.
- Experiment with the online HMPL Playground and share your creations.
Our Community Guidelines
To ensure this remains a friendly and productive space for everyone, we ask that you follow a few simple principles:
- Be Kind and Respectful: Treat everyone with courtesy. Healthy debate is encouraged, but personal attacks are not.
- Be Collaborative: This is a space for learning together. Share what you know, and be open to learning from others.
- Stay Constructive: Offer feedback that is helpful, supportive, and aimed at moving the conversation forward.
- Stay On Topic: Keep discussions focused on HMPL.js and related web development technologies.
We're thrilled to have you here. Let's build something amazing together