PHP Classes

Dframe PHP MVC View: Render page output with different template engines

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 104 All time: 9,744 This week: 50Up
Version License PHP version Categories
dframe-view 4.1.7The PHP License7PHP 5, Templates, Design Patterns
Description 

Author

This package can render page output with different template engines.

It defines a view interface that specifies several functions that should be defined by implementation classes to render templates using template variables, include external templates and render the template output in JSON format to server for applications that render the pages dynamically using AJAX for instance.

The package also provides implementation classes that use template engines like Twig and Smarty.

Innovation Award
PHP Programming Innovation award nominee
October 2020
Number 3
There are many template engines that are often used to render the output of pages generated by PHP applications. Different developers prefer to use different template engines.

This package makes it possible for applications implemented using the the Dframe framework view rendering support using several template engines of the choice of the application developer.

Manuel Lemos
Picture of Slawomir Kaleta
  Performance   Level  
Name: Slawomir Kaleta <contact>
Classes: 16 packages by
Country: Poland Poland
Age: ???
All time rank: 230953 in Poland Poland
Week rank: 49 Up1 in Poland Poland Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files (7)  
File Role Description
Files folder imageExceptions (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Plain text file DefaultView.php Class Class source
Plain text file SmartyView.php Class Class source
Plain text file TwigView.php Class Class source
Plain text file View.php Class Class source
Plain text file ViewInterface.php Class Class source

  Files folder image Files (7)  /  Exceptions  
File Role Description
  Plain text file ViewException.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:104
This week:0
All time:9,744
This week:50Up