For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > June 2006 > Re: [PEAR-DEV] Re: [PEAR-QA] Re: [PEAR-DEV] Re: [PEAR] [ANNOUNCEMENT]Structures_DataG









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR-DEV] Re: [PEAR-QA] Re: [PEAR-DEV] Re: [PEAR] [ANNOUNCEMENT]Structures_DataG
Olivier Guilyardi

2006-06-19, 7:05 pm

Greg Beaver wrote:
> Olivier Guilyardi wrote:
>
> This is too complicated from the installer end. You can, of course,
> make it so that the file containing the function is only installed if
> PHP < 5.


Do you mean "only installed" or "only require()'d" ? The former is precisely
what I would call a "conditional dependency". Is this possible ?

>
> That would be essentially putting a really brilliant brain inside
> package-validate, something that is, to say the least, extremely
> complicated.


Okay. Fortunately we have Justin and Pierre's brains to detect that sort of QA
issues ;-)

> In other words, that will never be a standard part of PEAR version 1.x.
> There is some remote possibility that PEAR2 (vaporware atm) could be
> modular enough to support something with this using PHP_Parser, but
> that's WAYYYYY in the future.


Okay, no problem.

Another point, that I may post a feature request for :

We have unbundled all drivers from Structures_DataGrid, and to be gentle with
users' hard drives we chose to make all drivers optional, as in MDB2.

But, that makes a big difference with prior releases, when people just needed to
install one package to get something working. Now, it won't work until you
install at least a rendering and a datasource driver.

The best thing to ease the upgrade, IMO, would be that the pear installer issues
warnings directly to standard output. A new <warning> like tag in package xml
v2, where we could put whatever we want, would be precious in this regard.

What do you think ?

--
og
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com