Fake Template Engine php
- by user1464822
i got an idea for making php template engine fast and user friendly but i'm not sure if it's good or bad.
the idea is to create a fake template engine:
creating a template editor in control panel that let user see something like this:
<html>
<head>
<title>{title}</title>
</head>
<body> {content} </body>
</html>
what the editor actually does is to replace all php code like
<?php echo $this->title; ?>
to user friendly
{title}
but it's not really replacing it just in the view when the user save the template
the template actually saved as fast pure php template.
the question is this a good idea or bad ?
your answers is highly appreciated.