View is a modern, elegant, and powerful template engine. Inspired by Blade, JSX, Twig, and other popular engines, it smartly merges HTML, CSS, and JavaScript/TypeScript into .vw files, enabling structured, dynamic, and maintainable code generation.
Designed for the Sikessem ecosystem yet completely standalone, View can be integrated into any project — whether it's built with PHP, JavaScript, Python, or another language. It stands as a serious alternative to JSX/TSX or Blade/Twig, offering a clean, modular, and intuitive syntax that seamlessly bridges frontend and backend development.
Read the documentation to learn more.
An example to see how the code works :
- The
View
code
<html>
[lang="fr"]
{color:red;}
(
<head>
(
<meta>[charset="UTF-8"]
<title>(View source)
)
<body>
(
<p>[id="main-content"]{color:blue}(Welcome to View !)
)
)
- The equivalent
HTML5
code
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8"/>
<title>View source</title>
<style>
html
{
color: red;
}
p#main-content
{
color: blue;
}
</style>
</head>
<body>
<p>Welcome to View !</p>
</body>
</html>
The equivalent PHP5
code
<?php
use Sikessem\View\Document;
$document = new Document('html', 5);
$document->setAttribute('lang', 'fr');
$document->setProperty('color', 'red');
$document->head->meta->charset = 'UTF-8';
$document->title = 'Welcome to View !';
$p = $document->createElement('p');
$p->setAttribute('id', 'main-content');
$p->setProperty('color', 'red');
$p->setContent('Welcome to View !');
$document->prepend($p, $body);
$document->save();
The full documentation for the Sikessem View can be found here.
The main purpose of this repository is to continue evolving Sikessem. We want to make contributing to this project as easy and transparent as possible, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving Sikessem.
Sikessem has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Sikessem.
We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.
Larger discussions and proposals are discussed in Sikessem's GitHub discussions.
If you discover a security vulnerability within any of Sikessem's projects, please email SIGUI Kessé Emmanuel at [email protected]. All security vulnerabilities will be promptly addressed.
View is licensed under the MIT License - see the LICENSE file for details.