Back to php after several years, some questions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
werewolf
Forum Newbie
Posts: 3
Joined: Thu Nov 03, 2005 7:41 am

Back to php after several years, some questions

Post 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!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Smarty is quite popular these days for templating and such.
werewolf
Forum Newbie
Posts: 3
Joined: Thu Nov 03, 2005 7:41 am

Post 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 ?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

You could also look into the PEAR repository and PECL library. Lots of good script, apps and other tools in there.
Deemo
Forum Contributor
Posts: 418
Joined: Sun Jan 18, 2004 11:48 am
Location: Washington DC

Post 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
werewolf
Forum Newbie
Posts: 3
Joined: Thu Nov 03, 2005 7:41 am

Post 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.
Post Reply