473,566 Members | 3,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Do you use Pear?

This is quite interesting,

PHP is so success, but Pear as an offical package, seems to be a
little bit weak.

i have developed PHP for many years, and can easily do my job without
Pear, e.g. I use Smarty, PHPmailer, adodb etc.

However, In the old day when I use perl, cpan is a must for perl
developer.

But now even zend framework didn't use Pear, what's wrong with that in
fact?

Nov 3 '07 #1
2 1328
On 11 4 , 2 40 , "Sanders Kaufman" <bu...@kaufman. netwrote:
What it *is* good for is newbie or SOHO programmers who need to develop
complex projects quickly, but who don't really know jack about programming.
PEAR is training wheels for PHP programming.
This may be true a few years ago, now we have a sort of frameworks,
cakephp, zend framework etc, Pear is too loosely coupled to be a base
for a complex project.

The worst is: most popular packages did not use Pear (smarty,
phpmailer, etc)

However, this is not true for Perl, i.e. I didn't ever use a package
which is not from CPAN.

Nov 4 '07 #2
..oO(howa)
>This may be true a few years ago, now we have a sort of frameworks,
cakephp, zend framework etc, Pear is too loosely coupled to be a base
for a complex project.

The worst is: most popular packages did not use Pear (smarty,
phpmailer, etc)
For me the two main reasons why I don't use PEAR are:

1) Most (all?) scripts are written for PHP 4.
2) Many of them are not written as clean as I want them, some even throw
notices on a fully error-aware system (E_ALL|E_STRICT ).

I clearly prefer my own scripts with only few exceptions (phpmailer for
example, but even in this case I had to put wrapper classes around it).

Micha
Nov 4 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3539
by: Sandro Dentella | last post by:
I need to use a class to handle mbox files that uses PEAR. Since I'm using Debian (both woody and, I simply apt-get(ed) php4-pear but I can't use it becouse I get the error: Warning: dl(): Unable to load dynamic library '/usr/lib/php4/20020429/PEAR.so'- /usr/lib/php4/20020429/PEAR.so: cannot open shared object file: No such file or...
3
7221
by: junkmail | last post by:
on a win 2k server apparantly it is saying i dont have it. or it cant find it. im using mySQL 4.1 php 4.3.x apache 3.0.53 im new to php and am doing some tutorials, but when i run the sripts it tells mea it can not run pear/soap, because it can not be found.the book im learning form does not tell me how to install or configure this...
1
2041
by: DJ Majestik | last post by:
OK, I am new to the whole PEAR/Smarty templating thing. I am trying to setup my directory structure correctly. If someone could weigh in and see if I have this setup "right", I would appreciate it. Directory structure: pear/ db/ db/ DB/ doc/
3
2190
by: David | last post by:
I installed the Pear program and set the include path in php.ini to point to the pear dir. I have a program which <? require_once("DB.php"); ?> This produces the error "Class 'PEAR_Error' not found in c:\PHP\pear\PEAR\DB.php on line 868"
2
5767
by: Alan Prescott | last post by:
I'm running SuSE Linux 9.3, fully up to date running # pear install db responds with ... downloading DB-1.7.6.tgz ... Starting to download DB-1.7.6.tgz (124,807 bytes) .............................done: 124,807 bytes requires package `PEAR' >= 1.0b1 DB: Dependencies failed Googling around this ng I found someone with a similar problem...
5
14222
by: Jim Michaels | last post by:
I downloaded a PEAR module, but it came with this XML file and a PHP file. I figure I just include the PHP file somehow, but what do I do with the XML file?
0
2033
by: bwhitehd | last post by:
I'm having a problem installing php. The compile seems to go fine, but when it gets to the install step I get the following errors. Does anyone have an idea of what might be the problem? We build our applications under three different environments (Linux i686, Linux x86_64, Solaris 8 Sparc). This is the first of the three on a RHEL 3...
1
2217
by: IchBin | last post by:
I am new to PHP and I am running on Windoze XP SP 2. Just noticed that the PEAR installed dir structure I have (to DB subdir) is : C:\php5.2\PEAR\pear\DB My registry vars are: "PHP_PEAR_SYSCONF_DIR"="C:\\php5.2\\PEAR" "PHP_PEAR_INSTALL_DIR"="C:\\php5.2\\PEAR\\pear" "PHP_PEAR_DOC_DIR"="C:\\php5.2\\PEAR\\pear\\docs"...
1
7825
by: CSTechie | last post by:
I've been battling to install PEAR on Windows XP now for too long. I am not sure what I need to do. When I run go-pear.php from the command line, I get the error message as shown at the end. I included everything in case there is something there that's helpful. I'm trying to install PEAR so that I can use PHPUnit. Thanks for the...
1
13655
by: IchBin | last post by:
I remember having problems with pear when I first installed it but got it running some time ago. This is on a windoze XP SP OS. I did not think it was correct because it pointed to "C\php\pear\PEAR". I writing a pear front-end GUI and I want to have it installed correctly. It seemed to have some duplication of directories between the lower...
0
7673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
6263
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2085
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1202
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.