Should beginners to php use PEAR???

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

ant_sutton
Forum Commoner
Posts: 32
Joined: Thu May 05, 2005 5:27 am

re

Post by ant_sutton »

Hey. thanks for your reply. It now prints out this error:

Can't connect: DB Error: not found

cheers
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

The Ninja Space Goat wrote:The only Pear package I use frequently is HTML_QuickForm, and I am pretty happy with it... it's far from perfect, but it's definately better than any other form library I've come across.
Traitor!

PEAR is o..kish. I reckon a lot of the code is bullsh*t to be honest. But if you find nice bits, go for it! There definitely are nice bits out there (QuickForm is one of them).

About using libraries in general: Remember they aren't the whole answer but they can be a big chunk. I wouldn't recommend starting to write a big project without checking that somebody hasn't done it before. Writing stuff yourself is great experience but, if you are a novice, its doubtful you will be able to do it as well as someone else. It all depends where you lie on the "need to get things done" versus "need to learn stuff" seesaw.

If you want to learn stuff really, read books.
If you want to get stuff done really, use libraries that are:
  • In use by others
  • Have excellent support and documentation
  • Are being actively developed and maintained
  • Clever people (possibly authorities on the topic) have written or similar people endorse.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

what's the status on osis forms, man?
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

3rd rewrite! YEAH baby!
No, its looking good this time. I've actually got a proper deadline. The type where people will really shout at me if I miss it :). December 1st.
I'll pimp it good when its done.
Post Reply