We’re excited to announce the release of our comprehensive White Paper – WebStencils and HTMX: Fast Modern Web Development with RAD Studio. This guide is designed to help developers create efficient, dynamic, and maintainable web applications using WebStencils and HTMX.
What’s Inside?
Our White Paper covers everything you need to know about WebStencils and HTMX, including:
- Introduction to HTMX and its core concepts
- Deep dive into WebStencils, RAD Studio’s powerful template engine
- Practical examples and step-by-step tutorials
- Advanced techniques for creating scalable web applications
- Integration with RAD Server for enterprise-level solutions
We have also created some sample projects already available in a GitHub Repo.
What is WebStencils?
WebStencils allows you to integrate server-side logic into HTML templates using RAD Studio. Gone are the days of juggling complex JavaScript and server-side code. With WebStencils, you can create more organized, maintainable code that’s easier to read and update. Its easy layout system and data binding capabilities will allow you to focus on what really matters – creating great web applications.
The Power of HTMX
HTMX revolutionizes web development by bringing modern interactivity to applications without complex JavaScript. It allows developers to make AJAX requests directly from HTML, simplifying DOM updates and improving performance through partial page updates. This approach reduces reliance on heavy JavaScript frameworks, resulting in more efficient and maintainable code while enhancing user experience with smoother interactions.
Whether you’re a seasoned RAD Studio developer or just starting out, this white paper has something for you. It’s more than just a guide – it’s your roadmap to becoming a more efficient, effective RAD web developer.
Stay tuned for more insights and tips on modern web development with RAD Studio!
Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Free Delphi Community Edition Free C++Builder Community Edition








Thanks for a great book!
But not all people have dcc64.exe in the bin64 folder … compiling WebStencilsDemo.dproj fails with an error that the “specified task executable location” is invalid. And I can’t find out where to change this in the project settings. I have Delphi 12 Professional With Mobile. Well I could fix the problem with a symbolic link, but it should not be necessary.
For Delphi 12 Professional the DCC54.exe is in the
binnot thebin64folder. I am not sure which version of the book you’re looking at, but I can’t see any reference to the dcc64 file in the one I am looking at. Usually additional commands are configure in the project–>options–>build events area but I didn’t see any for this project.The white paper/tutorial page28, mx-put and mx-delete examples do not work. There is no description in the document on how to add TWebModule1.HandlePutRequest(). I can add actions but not handlePutRequest. The gitHub code doesn’t use the code either. The AI engine said Indy doesn’t support the PUT and Delete. I tried the webModule beforeDispatch but it never fires for mx-put or mx-delete. I am using delphi 12.3. I hope to get an email with the fix.
Well, that’s an example of AI being utterly wrong and unhelpful. lol
Of course, Indy supports
PUT(andDELETEetc). Here’s the documentation explaining that: https://docwiki.embarcadero.com/RADStudio/Florence/en/Using_an_HTTP_Client#Sending_an_HTTP_Request_Using_the_MERGE.2C_PATCH.2C_or_PUT_HTTP_Request_MethodsIf you want to see an example of a real WebStencils project doing some fairly advanced stuff, go to this repo: https://github.com/checkdigits/delphitranslate (if you want to actually run the code you will need to download a copy of the Appercept controls if you haven’t already done so).
If you’re still stuck, email me directly and I will see if I can help
putyou on the right track: [email protected]