[PHPLIB] Re: [PHP3] PHP4 sessions vs phplib? From: Jesse Swensen (swensenj <email protected>)
Date: 01/28/00

You are correct about PHPLib using a different syntax and yes it can be more
complex to deal with. But, (and you knew it was coming :-)) it has so much
more than just simple session variables. Things like user authorization,
user permission, persistent user variables (preferences), a great database
extraction layer that makes access to a database simple and more...

The code is "clean" and very robust. The library is not "old code" and
continues to be developed. As mentioned by others it is compatible with
PHP4, but doesn't use PHP4 sessions.

On the PHPLib mailing list, <phplib <email protected>>, there have been
several threads regarding PHP4 and session. The consensus of the developers
is to wait until PHP4 is ready to be released and then provide a container
class to support PHP4. Again, highlighting the flexible design of PHPLib.

I also agree, if you want to use PHP4, go for it. I didn't mean to imply
not to use PHP4 and I don't believe the question was PHP3 vs. PHP4, but
PHPLib vs. PHP4 sessions. So, I was only comparing the two session
implementations.

I guess it comes down to you can have your cake (PHP4) and eat it too
(PHPLib)!

Check out the PHPLib mailing list <phplib <email protected>> for further
discussion.

-- 
Jesse Swensen
swensenj <email protected>

> From: Gregor Welters <gregor <email protected>> > Date: Fri, 28 Jan 2000 20:38:03 +0100 > To: Jesse Swensen <swensenj <email protected>>, Dennis Nichols > <nichols <email protected>>, PHP Mailing list <php3 <email protected>> > Subject: Re: [PHP3] PHP4 sessions vs phplib? > > At 19:01 28.01.2000 , Jesse Swensen wrote: >> PHPLib is more than just session information. And when PHP4 goes >> production, I am sure PHPLib will be modified to use PHP4's sessions as an >> option. > > I have an other opinion: > phplib uses a different syntax for session-handling and it's not as simple > to use as in php4. > Also the development-speed of php4 is extremly high. > > My experience is, that if you do clean code (no dirty tricks) you're on the > safe side with php4. > > imho it's unneccessary to hang on outdated syntax, because there will be > the time when you must have the new features, and then you'll probably have > to go through tons of code, to port it to the new version (and only because > the lib is not directly compatible with the new version -> the conclusion > is for me, that php4 has a better concept than phplib) > >> So, use PHPLib today and get it's other benefits as well. > > but loose all the great features of php4. > > (sorry, if I sounded religious) > > > mit freundlichen Grüßen, > > Gregor Welters > > ----------------------------- > Welters PC-Service, > Grafenberger Allee 81, 40237 Düsseldorf, Deutschland > > Tel: 0211/9660096 Mobil: 0173/2776469 Fax: 0211/9660091 > mailto: gwelters <email protected> > look at: http://www.welters.de > > > >

- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.