The New Possibilities of WebStencils in RAD Studio 13.0: A Comprehensive Overview

The release of RAD Studio 13.0 brings a number of exciting new features that significantly simplify and enrich the development of web applications. In particular, the WebStencils functionality represents a significant advancement that addresses the needs of the developer community. In this article, we take a detailed look at the new features and their benefits for Delphi and C++Builder users.
What are WebStencils?
WebStencils is a powerful template system that allows developers to create dynamic web applications with Delphi or C++ without having to delve into complex new frameworks. It utilizes the familiar syntax of Delphi and HTML templates to ensure simple and effective development. With WebStencils, developers can leverage server-side rendering techniques while enjoying the benefits of RAD Server and WebBroker.
Complete Session Management and Authentication
One of the most requested features was the implementation of a complete session management system. With RAD Studio 13.0, three new components are now available that enable easy implementation of authentication and authorization. The TWebSessionManager allows developers to manage the lifespan of sessions, while TWebFormsAuthenticator provides user-friendly HTML form-based authentication. TWebAuthorizer ensures role-based access controls.
Database-Driven UI Management
Another notable advancement is the ability to generate the UI directly from the database. Developers can now utilize the metadata of data fields to automatically create forms. This not only saves time but also reduces the likelihood of errors, as changes in the database are immediately reflected in the UI without the need to adjust the HTML code.
Enhanced Security Features
The new security features of WebStencils are designed to protect sensitive data. A whitelist system allows developers to permit only certain secure properties for data transmission, significantly reducing the risk of data leaks. This feature is particularly important for companies that are subject to strict data protection regulations.
Practical Tips for Developers
To fully leverage the potential of WebStencils, developers should keep the following tips in mind: Use the new components for session management to enhance the security of your applications. Experiment with dynamic UI generation to increase development speed. And finally, integrate the whitelist feature into your security strategies to implement proactive protective measures.
Conclusion
The innovations in RAD Studio 13.0, particularly in the area of WebStencils, open up a multitude of possibilities for developers that improve both the efficiency and security of web applications. By combining a user-friendly template system with powerful new features, Delphi and C++Builder users can now work even more productively. It is worth trying out these new features and integrating them into future projects.
Inspired by: Embarcadero Blogs



