Re: Re: Templates, PHP Frameworks, and DB Abstraction?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> I'd like to get some feedback on what the list thinks is a good template
>>> engine other than smarty.
>>> 
>>> I'd also like to do some quick prototyping using a PHP framework does anyone
>>> have any recommendations for one that is easy to pick up and run with?
>>> 
>>> Finally, does anyone have any suggestions for a good PHP database
>>> abstraction library?
>> 
>> You may want to take a look at this post for a few recommendations:
>> 
>> http://www.phpclasses.org/blog/post/52-Recommended-PHP-frameworks.html
> 
> That is a nice sales pitch Manuel but takes  bit of digesting.
> 
> Jay - This is a 'how long is a piece of string' type question. So there
> are as many answers as there are developers here ;)
> 
> I've only ever used Smarty - and not seen anything yet to replace it.
> 
> PDO is being pushed as a DB Abstraction library, but it only 'abstracts'
> the calls to PHP, it does nothing to abstract the SQL if you want a
> truly generic solution, if you need one, but if you don't then why
> bother with abstraction ;)

Thinking about this paragraph above makes me wonder if with that way of
looking at it would one need a template engine?  For example, why not just
separate the business logic and the HTML as much as possible and then only
imbed PHP in HTML to display the variables (<?= $var ?>)?? Then at the end
of your PHP code that does all the logic just have include() calls to the
.php files you want to parse and pass all the variables you got with your
business logic above the include calls? Hm.  Just a thought.
 
> I've been running with bitweaver now for some time, and things are
> starting to come together. It uses Smarty and ADOdb and can install
> itself on a range of database engines without any 'manual intervention'.
> So I am happy that it is a generic framework that is easy to run with.
> 
> www.bitweaver.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux