Friday 04 July 2008 7:37:50 am
First of all I would like to say Hello to whole EZ community thank you Felix for you helpfull article. After working with some other cmss and developing a few in-house ones I've found EZ has all features (on developing, framework and conceptional level) I was thinking about but had never so many resources to support it at once. Now I know I would never to it with team of max 3 developers - anyway big respect to architecture designers of EZ. Ok, now regarding to the article and exacly the problem mentioned above I am using E 4.0 (ezcomponents installed as well). I have no access to ssh, php's 'system' methods are blocked (it is not possible to call php bin/php/ezpgenerateautoloads.php -e -v ). 'Regenerate autoloads array' button doesn't resolve the issue with not found eZModul1FunctionCollection Class for list method (there is still no class eZModul1FunctionCollection generated in autoload/ezp_extension.php). The only thing I could do was a manual update of autoload/ezp_extension.php adding there 'eZModul1FunctionCollection' => 'extension/jacextension/modules/modul1/ezmodul1functioncollection.php' what finally solved “can't find eZModul1FunctionCollection class for method list” problem. My question is: doesn't it violence integrity and modularity tests. other words: what happened if I export this module as a black-box package and install it on another EZ installation/server - will it be required to update manually autoloads/ezp_extension.php (assume server has no ssh and blocked system method)? If the answer is 'yes' it means it is not fully independent package. I would like to keep modularity for extensions - its very important for its reuse – that why I am asking about so 'trivial' thing. After all – probably I've lost something – I am new in EZ :) PS: I did try to move ezmodul1functioncollection.php to classes subdirectory as well.
cheers all r.
Framework - key to success
|