Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

DooPHP and Smarty integration

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
Vidutis
Smarty n00b


Joined: 24 Sep 2014
Posts: 1

PostPosted: Wed Sep 24, 2014 9:39 am    Post subject: DooPHP and Smarty integration Reply with quote

Hello,

I'm new to a MVC itself, just had a chance to try both Smarty and DooPHP separately. DooPHP is a MVC-based PHP framework and Smarty is a template engine, therefore Smarty should be integratable inside Doo. The problem is, Smarty seems to have a different way of integration in every PHP framework, and DooPHP isn't really a popular framework - it doesn't have much of a documentation. And unsurprisingly I couldn't find a single example of Smarty or any other template engine integration with Doo.

I was wondering if somebody have tried putting those two together, or have any ideas of what should be done in this case.

Appreciated.
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Tue Sep 30, 2014 1:25 pm    Post subject: Reply with quote

If there's such a scarcity of documentation on the framework you're using, you might have better luck reading Smarty documentation first.
The base of Smarty engine is Smarty::display method. And Smarty::assign (which is quite flexible) for passing down the data.

P.S.
In my experience, poorly documented frameworks aren't going to work well.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP