Hi, during the last days I again had the chance to take a look at Symfony2 again. After some search through the mailing list and the documentation I have some questions that came to my mind and the answers may be helpful for others, too.
The console script is always located in a specific application folder (e.g. hello/console or myApplication/console). Although I know that this makes perfectly sense for commands related to a specific application I wonder if it wouldn't be helpfull to have a console script placed in the base directory of your application. This may handle some global commands (like initiating a bundle or application). For me it felt a bit odd to create an application with a console command based in another application (like "php hello/console init:application ..."). So my question is: Will there be a global console script in the future? As it shows to me now model related classes (like Doctrine Entities, API Model Classes, etc.) are now somewhat "bound" to a bundle. This would in fact mean that there is no global "model" namespace (I know we had no namespaces in symfony 1.x. I use namespace here just to make things easier) where model code resides but instead you will always relate a model to some bundle. Is this correct? If you're creating a third party bundle (e.g. in a namespace like Bundle\MyCompany\MyProductBundle) you will of course provide a Resources folder that would contain view files. Let's say I would copy this third party bundle to my new project and wanted to overwrite the view files to customize them for my design. How would I be able to do this? Can I somehow "overwrite" the view files by creating a bundle with the same name in my project's Application namespace? Cheers, Dennis -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
