How feasible is it to use the Zend Framework 2 components without using the MVC process? For example I love the forms / validation and ACL elements but am not sure if that is actually possible without the whole MVC system?
As a framework ZF2 is very slow (although I think its a very good system) so would like to encourage its use without the whole package. Thanks.
Yes. Zend Form component has a separate repository and it can be used in any application as a component with help of composer. (I'm assuming that you're using composer and your application also uses composer's autoloader) It requires only InputFilter and Stdlib components.
You can try easily. Open your command line:
Create a
composer.json
file with the content belowand after type
Following dependencies will be installed automatically into the
vendor
directory andcomposer.lock
will be created :From performance viewpoint, ZF2 is not very slow. You just need to do couple of things on production environment to run your application much more more performant.