Might have to give Smarty a look...if I'm the one in charge of the hosting then yes I'd consider just putting it on a CMS but for alot of these sites I would actually have to ask the client for database or control panel access, which makes the not telling them part difficult.
Thanks for the responses everyone :) Dan Khan wrote: > For simple templating, I'd just use Smarty www.smarty.net. > > Although if you anticipate enough change requests from your client, > and you are familiar enough with a particular CMS, you could always > load up into the CMS like Simon says and just don't give your client > access. Only useful though if you can justify the time to CMSify it > in the first place. If the client later wants access to the CMS, then > charge them a big whack in that instance, even though you've already > got it setup. > > If the client just does wants simple PHP pages though (for ease of > hosting setup for example), I'd go Smarty - it offers some real > flexible and nice features, is extensible if you need to, can cache > and pre-compile templates, gives you a clean code vs presentation > separation. and still mostly looks like HTML in the templates for > editing. > > -Dan > > > On Sat, Sep 5, 2009 at 7:09 PM, Simon Holywell<[email protected]> wrote: > >> If you are doing the updates for the clients then what does it matter to >> them if it is on a CMS or not? You can still use one to make your job easier >> without them knowing or caring. >> >> -original message- >> Subject: [phpug] Re: Simple templating framework? >> From: Sid Bachtiar <[email protected]> >> Date: 05.09.2009 01:08 >> >> >> >>> but it can get messy with nested subpages and whatnot so I was if there's >>> something somewhere between this and a CMS..? >>> >> I'd say framework like Zend, Symfony, Cake, Kohana, or something like >> Smarty which is just templating engine. >> >> They are between plain HTML and CMS, but perhaps not what you'd consider >> simple. >> >> On Wed, Sep 2, 2009 at 11:36 AM, Nathan Cox<[email protected]> wrote: >> >>> Does anyone here know of any good simple PHP templating frameworks? I get >>> given sites to update/extend/maintain that are just made of alot of static >>> HTML and I'm not a fan of having to go through every page to make one >>> change, but the clients are sure they don't want a CMS. So I want to find >>> some kind of simple framework for these kinds of sites that can handle >>> site-wide templates but also make it easy to set page titles, current menu >>> items, page-specific CSS/JS etc. >>> >>> I know I can just do >>> >>> $pageTitle = 'about us'; >>> include('includes/header.php'); >>> <p> >>> Content here! >>> </p> >>> >>> but it can get messy with nested subpages and whatnot so I was if there's >>> something somewhere between this and a CMS..? >>> >>> >>> Nathan >>> >>> >> >> -- >> Blue Horn Ltd - System Development >> http://bluehorn.co.nz >> >> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
