Re: About PHP CMS

From: Date: Sat, 07 Jul 2007 16:28:18 +0000
Subject: Re: About PHP CMS
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-258460@lists.php.net to get a copy of this message
to keep html separate from php you can also look at XSLT. ive heard good and bad things about smarty. -nathan On 7/6/07, Davi <davividal@siscompar.com.br> wrote:
Em Sexta 06 Julho 2007 21:24, Kelvin Park escreveu: Is it possible to have PHP code completely separate from the HTML page that needs to be completely dynamic? (That's how ASP.NET sort of works I think). If this is possible, HTML CODE, PHP CODE, AND THE CSS CODE can be completely separate, increasing the clarity of all the source code.
        Yes.
        Take a look at Smarty. :-)
http://smarty.php.net My second question is: Is it more efficient to always code OOP PHP then just simple functions here and there?
        How big is your project?
        If you're talking about a personal visit counter, run away OOP.
        If you're talking about a really big project (And yes, CMS _is_ a
big project), go ahead and use OOP.
        OOP is better to mantain... :-)
        HTH
-- Davi Vidal davividal@siscompar.com.br davividal@gmail.com -- "Religion, ideology, resources, land, spite, love or "just because"... No matter how pathetic the reason, it's enough to start a war. " -------------------------------------------------------- Por favor não faça top-posting, coloque a sua resposta abaixo desta linha. Please don't do top-posting, put your reply below the following line. --------------------------------------------------------


« previous php.general (#258460) next »