Hi Benedict,

I'm glad you are thinking about this kind of problem. It will be common when ZF 1.0 is released.

Simon is actively working on including what you seek into Zend_Environment:

http://framework.zend.com/wiki/x/hQQ

Also, expect a proposal update in the near future.

Cheers,
Gavin

Benedict Stuart wrote:
hi,

how do a ZF based App exmine the version of the installed ZF .. ?

e.g. if the App is installed in an environment, where some Apps share the same
ZF installation/instance

if you deploy a ZF based App to a server, the App automaticly checks some
requirements e.g. installed versions of shared libs/tools and so on ..
but if the App relies
on ZF, I currently see no way to get the version of the installed ZF ..

one solution is to bundle the App with the ZF .. but if you deploy a
bunch of different
Apps to one server, your Administrator will kill you :-) (100 kbyte
per App + ZF)

what about a protected Zend::version, which can be used with version_compare() ?

ciao
Benedict


Reply via email to