Re: OT: Smarty + PEAR?
| From: | Monte Ohrt | Date: | Thu, 12 Apr 2001 19:55:44 +0000 |
| Subject: | Re: OT: Smarty + PEAR? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-542@lists.php.net to get a copy of this message | ||
Nikolai Zarewitch wrote:
>
> Hello,
>
> I am very new to Smarty (and never used PEAR). In fact today is the
> first day I heard s.th. about Smarty (and I emmidiatley downloaded it).
>
> [1] PEAR & Smarty
> -----------------
> To my surprise I've read that I can not use it without having configured
> it with PEAR.
>
> Now the question:
>
> - What is the easiest way to get Smarty to
> run on a ISPs webserver that did not configure
> PEAR?
The easiest thing to do is grab all of PEAR and install it locally for
your own use. There's nothing that says PEAR must be installed in its
default directory. There won't be a version of Smarty that runs without
PEAR, as it will become more and more dependant on it, especially with
upcoming database support.
>
> What & where do I need to edit s.th.?
>
> [2] How stable is Smarty?
> -------------------------
> Me and a friend of mine (who is more experienced in PHP) consider to
> develop a CMS whose frontend-tier and the websites built on it should
> rely on a template system. Do you think that Smarty is stable and secure
> enough so that we can build & sell client-websites that use it or is it
> more in a developpment phase?
We use it for our commercial apps, that is what it was built for! If
your clients don't have access to the PHP & template source code, I'd
consider it quite safe (as safe as you build your app.) If you let
clients muck with the template source directly, be aware that Smarty
templates are practically php scripts. There are many ways that allow
template designers to execute PHP functions through the template
language. If you want to allow template building securely, you would
probably build some kind of web interface that generates the template
source code.
>
> Thank you,
>
> Roman Schechtel
>
> PS: do you know a good tutorial about Smarty?
Read the quickstart and documentation.
Monte