Home
The World Wide Web has come a long way. Back in the day, if a website provided good information, it could be displayed in plain text with no interaction, and everyone would be satisfied. Although these sites still serve their purpose, today's websites must be flashy and dynamic in order to get the average user's attention.
Due to this innovation, we now have to worry about two different types of languages: Client-side and Server-side. Some of the (X)HTML, CSS, and Javascript, which the client-side browser will interpret, can stay static on the page, while the changing parts need to be generated by a server-side language like PHP or Python. This results in several languages on the same document, which can get very messy, and forces all the developers to work on one file. By default, CSS and Javascript can be stored in an external file, but what can we do about the server-side language?
Introducing the SUIT Framework (Scripting Using Integrated Templates), an open-source web templating framework with some innovative features. It provides a lightweight and powerful solution to this problem by allowing developers to define their own syntax for transforming templates by using rules. The rules should generally allow the transfer of information from the server-side language to the template. Then, execute the template according to the provided rules, and problem solved.
SUIT currently has both PHP and Python implementations, and provides several sets of rules for both in our Rulebox. Although the different versions have some differences in setting up the rules and executing, the templates do not directly evaluate in those languages, making our solution safer than many others. In addition, templates used with SUIT for PHP can be used with SUIT for Python.
So, read the Docs, get help in the Forums, and enjoy clean coding!