I need to upload a ZF2 module from a form upload on the admin panel interface.
Ex : (It basically should work like a wordpress plugin upload/installation). I have a module Blog using a default template. we would like the user to be able to upload a ZF2 module that will give access to a new template (with its own form/fields, actions, js, img etc). Module already created and working (db need to be manually created for now, and the module need to be manually registered in application.config.php) When the user is uploading the module, it should : - initialize a script that will create the table proper to its module (i guess no problem for that). - Register the module in application.config.php (modules array). Is it possible? It should also be able to drop the table (no problem for that) and remove the module from application.config.php when deleted. So would it be possible ? How can i register dynamically the module in the application.config.php? Should i upload the module from a .rar or else? Another thing wished is that the module should be encrypted (as the full website) so the user have no access to its content (for confidentiality reasons). So i guess i will have to manage that later and hopefully it will not be a big deal! but let's focus first on the first part ... Any hints are welcome! I hope i've been clear enough. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Upload-a-zf2-module-from-user-interface-similar-to-wordpress-plugin-upload-installation-tp4661953.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
