What is Htx?
Htx is a superset of php that adds components. These components each have their local data and properties and can be imported in other htx files
Using components has multiple advantages
- You don't have to repeat yourself
- It improves readability
- Js and Css for a component are automaticly imported (to some extend)
Because it is more readable it is easier to maintain and newcomers can easily reuse component you already created and can therefor start faster without having to learn a lot about your tech stack.
Another advantage of Htx is that it can easily be intergrated with any php framework, since it turns htx into regular php