Re:Show HN: Laravel 4 - This framework is revolutionizing PHP.
by yowmamasita on Thursday May 30, 2013 @06:56PM
(#5795799)
It is stated in Laravel's homepage that you can use either native PHP or Blade in your views
Re:Show HN: Laravel 4 - This framework is revolutionizing PHP.
by misterjinx on Friday May 31, 2013 @07:38AM
(#5797963)
hmm...so in the docs they say about pure php views, but in the quick start guide they mention only about blade. since this is what I read, this has to be the cause for letting me believe the only way you can create views is with the template included in the framework.
I stopped reading the minute I saw they are using a template engine for rendering the views. I simply don't get it. Why would someone use a separate template engine when PHP itself is a very good one to use ? Why to add an extra layer to the app ?
We don't have to recreate anything, the views should be pure PHP, not code written in some <insert template engine name here> that is then translated to PHP.