> In the same way as PEAR has extended the PHP language the Cake EAR
> would do the same for Cake. It would be structure and controlled. In
> this way we prevent repetition and confusion.

I think PEAR is terrible. I've written apps in the past building a
framework on top of PEAR and I deeply regret it.

The dependency system means that as soon as you start using PEAR, it
starts to overtake your application, and you need it everywhere. For
instance, if you start using any PEAR library, you will need to deal
with the PEAR_Error class. Unless you can live with several type of
error management in your app, you will end up having to use PEAR_Error
all over your app. If you start using HTML_Flexy for templating, you
will find yourself forced to use HTML_Quickform for your forms, along
with half a dozen HTML_ packages some of which you'd rather not be
using (but then the only other option is to duplicate functionality)

Now this would be fine IF PEAR was a framework -- if was consistent
throughout and had been thought through as a whole. But it isn't -
they have some basic guidelines, but at the end of the day it's very
inconsistent, in the way you use different librairies, and also in the
quality of the code and of the documentation. New packages somehow
make sure they fit with the existing ones, but there is no overall
planning as what packages are needed, and how they should fit
together.

Reusable components, versioning and dependencies are all good things
-- but the PEAR way is not the way to go. For such a system to work, I
would suggest :

1. All lower-level components should be part of Core. I don't want to
have to use the extention's error handling mechanism or date
functions, unless they are the ones already used by Cake.
2. Each "topic" (for instance "Content Management System") should have
a dedicated group to think through as a whole - and not be a
collection of packages.

That's it for now :)
Anselm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to