David, Is there any point using smarty on s small site? eg: website consists of 6/8 pages?
does it matter on the size of the site? -awlad ----- Original Message ----- From: "David Eisenhart" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 11:31 AM Subject: [PHP] Re: smarty vs. patTemplate vs. inclu > I have never used patTemplate but from my experience Smarty is both fast and > robust (I now would not consider building a site without it) > > Even given your scenario I would recommend that you at least consider using > a templating engine. Smarty is very quick and easy to set up so just have a > play! > > David > > > "David Caplan" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > > > I'm designing a site with about 100 different pages. I'm debating whether > to > > use a template mechanism such as smarty or patTemplate vs just creating > > pages and including the body templates based on the url parameters. I > > realize you get a layer of abstraction using the template mechanisms, but > > with the scheme that I have in mind the users will only be editing the > pages > > that are marked body_foo.php. These body pages would be basically pure > html, > > so they can't really screw anything up in the php logic. They would be > > called off an index.php that has a bunch of includes, header.php, > body.php, > > footer.php etc, this page would be off limits to the user for editing. > > > > From what I understand, both smarty and patTemplate are popular and both > > have supporters and detractors, is one template significantly faster or > more > > stable than the other? > > > > If I just use includes, am I gonna run into problems, other than the loss > of > > elegance and some abstraction that a template system might offer. My site > > will have approx 100 pages, with a peak of 600,000 hits per day. > > > > thanks for your help, > > > > Dave > > > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php