Quote:
Originally Posted by DirtyRider
I'll be honest, this is my first time checking out PostgreSQL and I actually like the functions that it carries. Its has a lot of things I would love to use, but right now I think I'll try to finish in Mysql and then switch over once the program is actually done if I feel it will benefit me or maybe I can use as portfolio work.
|
Thats funny. Im making an TGP site with, for the first time for me, a mysql backend. I usually use postgresql.
Personally, i have abandoned the smarty template engine. As php is in essence a template language, i've switched to a very simplistic way of creating my own template.
Create a .html file and make your own template vars with {} around them.
In php use preg_replace() to replace those template vars and in the end echo the master template file. In essence, you do the same as smarty but without the overhead.
I have a few projects in the making an a few that need some desperate overhauling ;)