PHP Frameworking - Templating (Part 4)



Maciej Olborski Since May 07, 2015 1 Posts

Hi!

Great tutorial, really clean!

I have messaged you on facebook regarding Templating as I've got issue with it.

Maciej.

Michael Madsen Since May 15, 2015 1 Posts

What's next??

Artur Cesar Jacinto Since Oct 03, 2016 3 Posts

What about clusures routing?

the function display() on view use Templating on argument. In case of call a route with a controller method, Ok, the view is already intanced on BaseController with Templating on construct. But when i use a closure like

$route->('/about', function() use ($view){
       $view->display('about');
});

i'm in trouble again (kkkkkkkk)

Artur Cesar Jacinto Since Oct 03, 2016 3 Posts

Sorry, forgot about boostrap.php

its all done now!