What you say is absolutely right. But the problem is this will remove
the simplicity of PHP for
which it is so famous. I am just hoping that Zend Engine 2 is
optimized for OO features. In that
way we don't have to rely on extensions.
Have a great day.
Gopalarathnam V. wrote:
I agree that PEAR is very good when it comes to RAD. You can quickly
write portable code (look at the DB module) using that. But when your
web site receives millions of hits, writing everything in PHP might not
be the way to go about it. Worst case is when everything is written in
OOP paradigm in PHP. It really slows down. So, people tend to write
extensions in C/C++ that can be used when you really need classes and
objects -- OOP style.
If you're interested, have a look at SWIG, that will allow you to write
PHP extensions in C, C++ very easily.
When you want to use OOP paradigm in PHP, move it down the layer, write
it in C, C++.
On Wed, 2004-06-02 at 22:26, R.Karthick wrote:
PEAR seems to be a very promising technology, when it comes to Rapid
Application Development. It brings the pure object oriented design to the
application. But Why is that not many popular open source PHP projects are
not implemented using PEAR.
To put it in other words, does using PEAR in application really slows down
the program execution time. Or are there any major issues on using php-pear
in a php-project. I would like to views of the people in the groups