A minimalistic view layer implementation based on phtml