TBS as registered view in Flight PHP frameworkHello all. Long time no see.
I'm using a tiny useful framework called Flight (http://flightphp.com/). Its basically a router
and pieces of good code which is OK for RESTful API's. I'm having some fun with it indeed.
But, you know, as a TBS fan I'm trying to override Its native (simple) view and put to work
a worthwhile template system.
The framework's example uses Smarty as alternative by a native class registering method
(I made a similar class register before for my ORM class and its running flawless). See Smarty's code below:
Does anyone tried this framework before with TBS? Any issue?
(That will be a FULL refactoring of legacy code. That's why I'm asking before start step on it.)
Please, any comment/suggestions will be useful.
Thanks in advance. / Merci pour votre attention.
Re: TBS as registered view in Flight PHP frameworkHello again.
I'm reporting my test. Couldn't be more easy. I just started my refactoring.
Thats it. No TBS method left behind. No errors. No need for further method mapping.
The TBS class is good to go with Flight. (I just make a custom method
to compress the HTML output before the render, scrubbing me bytes
but its just my performance obsession).
Any comments will be appreciated.
Thanks again and good bye.
Re: TBS as registered view in Flight PHP frameworkIt seems so easy that a dedicated TBS plug-in seems unnecessary.
Thanks for your tip.