Giuseppe Mazzapica
Giuseppe Mazzapica
@SlavaAurim Thanks. Yes I'm in the process of moving my old blog to my new domain. Will update the link when I'm done. Thanks!
Hi Vince, first of all thank for your interest in Foil. A similar question have been already asked, in #4 you can find a discussion about the usage of `$this`....
> is there no way to get rid of using the buffer? Buffer is something needed to handle template inheritance, that is a core part of Foil, TBH I wrote...
Thanks @19peaches I think I have an idea to make this thing much more simple. Let me found some time to test it and I'll post here my efforts.
@19peaches That was muuuch more easy I thought :) The **only** thing required is to create a _proxy template_. This proxy template, let's assume is saved in a file named...
Hi Vince, with [version 0.5 of Foil](https://github.com/Giuseppe-Mazzapica/Foil/releases/tag/0.5.0), usage of custom template classes is much easier. Now you can extend Template class and override the `collect` method that is protected and...
Hi Vince, and thanks for your work. I don't use Sensio Insight because it doesn't really works :) I use phpStorm tools, [Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer) and [PHP Mess Detector](http://phpmd.org/) to find...
Glad to hear that, @19peaches
If `$app` is an instance of Pimple, like I guess, that's perfectly fine and avoid to deal with internal Foil objects. A more _structured_ alternative, as of Foil >= v0.6,...
No, there is no drawback on instantianting Foil like that. By the way, I think you are using a version older than 0.6. As I said in previous comment, `Foil\Foil`...