|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
katsu Smarty n00b
Joined: 18 Sep 2007 Posts: 2
|
Posted: Tue Sep 18, 2007 9:59 am Post subject: the best simplest framework |
|
|
Hello!
I've been using Smarty for a long time now, it's highly flexible and customizable. I like it because i can control the code i'm writing... |
|
Back to top |
|
kookniess Smarty n00b
Joined: 13 Sep 2008 Posts: 4
|
Posted: Sat Sep 13, 2008 4:54 pm Post subject: |
|
|
just started to work with smarty template, it is so awesome.. |
|
Back to top |
|
bimal Smarty Elite
Joined: 19 Apr 2007 Posts: 423
|
Posted: Thu Feb 26, 2009 7:43 pm Post subject: Reuse your configs |
|
|
I reuse my basic configuration files.
Once I setup a very basic things of smarty, including config locations, file permissions, and a basic readme.txt file, I compress it in a .zip file.
For starting up the next project, I can now, start the project earlier, and make the home page print its own logo, in less than 5 minutes.
Whiles, other php programmers would ask a design/layout of a website to start on a project, it is not the case to me. I see the php coding and templates as clearly the different things.
I speed up the development, even without knowing how my website would look like in the future. Thanks a lot to the creators of Smarty and the contributors. |
|
Back to top |
|
antonM Smarty n00b
Joined: 04 May 2009 Posts: 3
|
Posted: Mon May 04, 2009 10:53 am Post subject: |
|
|
yeah, smarty really is a big help but katsu it's not a framework. it's a templating engine. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Mon May 04, 2009 1:37 pm Post subject: |
|
|
It can be called a framework, but it's a specific one. This framework is for the presentation portion of an application. Smarty is not an MVC however, and many people like to confuse them. Smarty is the View (V) of MVC. |
|
Back to top |
|
bimal Smarty Elite
Joined: 19 Apr 2007 Posts: 423
|
Posted: Mon May 04, 2009 2:51 pm Post subject: Exactly! |
|
|
Exactly,
Smarty is a the View protion only in the MVC.
I was trying to use Smarty to manage my presentation.
I am working to develop a special class that can interact with the database, determine the models and views, and is able to display the contents using database and flat files (templates).
It will have a simple configuration only, and I am putting it into my core of the classes - but tightly bound with the Smarty.
Hoever, I have NOT modified any files from Smarty distribution. So, any further updates in Smarty can be simply upgrated.
I am waiting first, my project to release and get tested. Then, I will get a confidence working with my class, and will be able to document it properly before I can release it to the public. I will try to bring this to the community, as soon as possible.
Thanks.
(But it is still not truly a MVC, but a very specific framework to use Smarty and database driven contents). |
|
Back to top |
|
|
|
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
|