Re: Bundling "modern" extensions

From: Date: Sun, 05 Jun 2011 12:54:20 +0000
Subject: Re: Bundling "modern" extensions
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Sun, Jun 5, 2011 at 1:09 PM, Hannes Magnusson <[email protected]
> wrote:

> On Sun, Jun 5, 2011 at 12:57, Pierre Joye <[email protected]> wrote:
> > However, for technologies specific extension, be hyped or not, I see
> > no reason to bundle them. It makes no sense to bundle mongodb,
> > memcached clients or whatever other specific features.
>
> I can't think of a statement I would disagree more with. These are
> exactly the ones we should be bundling.
>
>
> > My reasoning is simple. The key for bundling extensions is to have
> > them available for most hosting solutions. If a shared host provides
>
>
> No. Join the real world again. Anything not in vanilla PHP is hard to
> install because it causes more work in maintenance of the server, and
> increases the risk of fuckups etc etc
>
> Being able to use "hyped technology" out-of-the box is exactly what we
> want to achieve.
>
> -Hannes
>
>
just for the record, I agree with Pierre on this one.
our userbase has two distinct group: those who are using shared hosting and
usually use some third party cms or write their own crappy suboptimal code,
and those who use php to build bleeding edge custom product (either on top
of some 3rd party framework, or on their own).
for the first group, they doesn't configure their installation, but their
hosting providers do that for them.
those providers usually has custom configuration or compilation of php,
because by default, there are many ways where one user in the shared
environment can blow up or compromise the full server.
so for those people, including more stuff in the core means change, which
they have to adapt, and migrate (add more disable_ to the vhost configs or
recompile php without the newly included stuff).
btw. usually the general cms solutions targets the standard installations,
so they won't use stuff like mongodb. at least not as a requirement in their
core functionalities.

the other group, now they usually use and need such stuff, but they are
willing and able to install the necessary extensions.

btw. my biggest problem with "bleeding edge" technologies like redis,
mongodb or memcache(and they aren't that new or bleeding edge...) is not the
fact that they aren't in the core, but that we lack good php extensions to
interact with them.
for example we have two concurent lib for memcached, both have their cons
and pros, for redis afaik the best implementation and actively maintened lib
is rediska, we don't have anything for redis in pear/pecl, for mongodb at
least we ?have? a feature complete implementation.

so I think that providing/improving those would be a better idea than
including what we currently have for marketing purposes.

Tyrael


Thread (74 messages)

« previous php.internals (#52931) next »