PEAR -- still useful?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
billyq
Forum Newbie
Posts: 7
Joined: Mon Jan 10, 2011 6:56 am
Location: Merseyside, UK

PEAR -- still useful?

Post by billyq »

All

A while ago, I saw the light and start building my own classes and using them in my code.

I remember that PEAR was all the rage a while ago and wondered if anyone is still using the PEAR classes? I'm also thinking that maybe PEAR is duplicating some of the classes that I've built and maybe I'm wasting effort.

If you do use PEAR classes, what do you use them for?

Thanks
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: PEAR -- still useful?

Post by alex.barylski »

If your asking this question, the answer is YES. PEAR is still useful. As useful as it ever was, code doesn't spoil. :p

PEAR is probably more practical than using your own library, but introduces a different learning curve into the mix.

Cheers,
Alex
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: PEAR -- still useful?

Post by VladSun »

// offtopic

Alex you do like to change your display name, don't you :)
Hokey, PCSpectra, now alex.barylski

Welcome back, alex.barylski :)
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: PEAR -- still useful?

Post by Benjamin »

I've never used PEAR. Years ago when I looked at it I found the code to be a bit on the poor side and so I either found a different library or rolled my own.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: PEAR -- still useful?

Post by josh »

Most of the packages are deprecated and no longer maintained. A few are still useful. PEAR itself throws thousands of deprecated PHP errors (they say that they do that to maintain backwards compatibility with PHP4 but I think it just means they don't maintain it any longer). The only times I've used it is when I found a library through independent research on Google, and that libraries author instructs me to use PEAR. I don't go out looking for PEAR packages in particular.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: PEAR -- still useful?

Post by alex.barylski »

Alex you do like to change your display name, don't you
Hokey, PCSpectra, now alex.barylski
I sure do :p

PCSpectra just wasn'tpractical anymore for a few reasons. Mostly though, in building my network, job applications, etc it makes sense to boost my personal name more than a company name which is sometimes online and most of the time not. :)

Cheers,
Alex
Post Reply