Hello @MohammedSkouti
There are many Global HTL objects which can render the content from resource to page directly.
https://experienceleague.adobe.com/docs/experience-manager-htl/content/global-objects.html?lang=en
<div>
<h1>${properties.title}</h1>
<p>${properties.description}</p>
</div>
There is an approach discussed here: https://soluml.medium.com/building-an-aem-authoring-component-out-of-htl-sightly-no-jsp-required-e13...
However, recommended approach is to use Sling models, if you have a bit of complexity in business logic
Aanchal Sikka