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

Smarty and Prado

 
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 -> Frameworks
View previous topic :: View next topic  
Author Message
smartymoon
Smarty Rookie


Joined: 29 Apr 2003
Posts: 15

PostPosted: Fri Dec 10, 2004 3:19 pm    Post subject: Smarty and Prado Reply with quote

Have you seen Prado framework? see http://www.xisc.com/

What is Prado?
It is event driven system and composed of lots of components
I think if you understand the inside of Prado, building program is really easy.
And component can be reusable and extensible because it is coded in class.
IMHO, it is best framework in php.

What is the problem?
The problem is the speed. Their template system uses the same method
like FastTemplate i.e read in the template file and replace and
dump html code to the client.
There is no compiled template and caching is done for the variables only.

Another problem is me. After learning Smarty, I tried to convert other
template systems to Smarty. Without Smarty, it's not perfect. Am I sick?

Their template uses almost same format as Smarty
In Prado
<com:TButton ID="button_1" Name="me" OnClick="ClickMe" />

I think we can replace the components in Prado to plugins in Smarty.
Problem is that they construct javascript DOM like tree of components
and trigger some actions repeatly through parent to son compenents.
These actions are onInit, onLoad, onPreRender etc. So If we convert
to Smarty plugins, we have to include this repeated triggered
actions in the plugins.

But my depth of Smarty is not enough to do this thing.
When I scan this forum, you are expert on Smarty and I think Smarty
and Prado can be best framework IMHO.
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 -> Frameworks 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