Page 1 of 1

Back to php after several years, some questions

Posted: Thu Nov 03, 2005 7:53 am
by werewolf
Hello all,

When I was a student, I was doing some PHP and I build a webapp for a friend's site. It was around 1999, therefore I coded the app with PHP3, PHPlib and FastTemplates.

However, my friend's site is now very successful, and I have to admit that nowadays my application is really too crappy for that site. So my friend asked me to do a new version, but I haven't coded much in PHP since 1999.

As I said, I was using FastTemplates for templates and PHPlib for session managment, database access, user managment and printing nice tables with the content of databases rows.

Now, apparently FastTemplate has not been updated since 1999 and PHPlib since 2003 and both seem to be abandonned.

So my question is, what do you use instead of PHPlib and FastTemplate nowadays? (the site has been upgraded to php4)

Thank you!

Posted: Thu Nov 03, 2005 8:06 am
by feyd
Smarty is quite popular these days for templating and such.

Posted: Thu Nov 03, 2005 8:35 am
by werewolf
feyd wrote:Smarty is quite popular these days for templating and such.
Thank you for your answer. I will look into smarty.

Anyone knows of a good user authentication package to replace PHPlib ?

Posted: Thu Nov 03, 2005 8:39 am
by RobertGonzalez
You could also look into the PEAR repository and PECL library. Lots of good script, apps and other tools in there.

Posted: Thu Nov 03, 2005 8:47 am
by Deemo
look on hotscripts.com for some simple login scrips, however i wouild recommend making your own. This forum has alot of information on user authentication and sessions, etc so just searching around should give you the answers you need

Posted: Thu Nov 03, 2005 9:50 am
by werewolf
Thank you for your answers.

I have already looked into PEAR and I could also write my own libs. I could even continue to use PHPlib and FT for what it is worth.

However, I am looking for something that is reusable and kind of "industry standard", like PHPlib and FastTemplate were a few years ago.

This is mostly because it will probably not be me who will maintain the software in the future.

For templates, Smarty seems to do the trick. I would like the same for authentication.