Iin the sample projects of Phalcon, in the views directory we have some files with volt suffix and phtml suffix. What is the difference between this two suffix? When we must use Volt and when we must use phtml ?! please explain for me...
.volt extension is used when the template engine set up in the application is Volt (http://docs.phalconphp.com/en/latest/reference/volt.html), .phtml is used when the template engine is PHP itself (http://docs.phalconphp.com/en/latest/reference/views.html#template-engines)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With