On 10.01.2011, at 02:12, jason.hanley wrote:

> I see this has been briefly discussed here
> http://groups.google.com/group/symfony-devs/browse_thread/thread/cc5bcf67d0b858f5/ac296dc824cfa9ed?lnk=gst&q=symfony2+submodule#ac296dc824cfa9ed
> and here
> http://groups.google.com/group/symfony-devs/browse_thread/thread/37eb881a111682cf/b14158b18866b10a?lnk=gst&q=symfony2+submodule#b14158b18866b10a
> 
> Basically my question is this: What do you see as the optimal
> directory setup for a new Symfony2 project?

Since I prefer a multiple frontend solution I have adapted my app structure to 
work like:
app/main/MainKernel.php
app/api/ApiKernel.php
etc.

> Right now the best I've done is replicate the sandbox, except /vendor
> -- which I have instead added appropriate Git submodules.

Jut FYI, vendor will likely be moved out of src into the root.
Personally I prefer using the scripts over submodules, though right now its a 
bit bad that each of the scripts doesnt work off of a common manifest. see the 
following pull of mine to tweak the scripts. i also mention MR there which is a 
tool to help in checking out 3rd party dependencies:
https://github.com/symfony/symfony-sandbox/pull/8

> Except for vendor/zend -- because it's such a small dependency. Seems
> a waste to bring in the entire framework just for that.


We have been exploring ways to address the zend dependency. basically the ZF 
guys are looking into providing a more granular way to get ZF. alternatively we 
might replace Zend_Log, then again we are kind of sort on time as it is right 
now.

regards,
Lukas Kahwe Smith
[email protected]



-- 
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 developers" 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-devs?hl=en

Reply via email to