Hello,

I know that "my personnal usage" is not a valid argument, whatever,
I've some trouble to create module that extends another one.

1) I've my own admin generator that just extends the symfony one with
extra-features.

2) All my models and modules comes from plugins, so I just have to
enable them in settings.yml to use them.

3) Oups, I have to add a field to a model and to its module but I'm
sure that this field will never be used in any other project.

4) I can easyly add it to the model, out of the plugin, but I cannot
create a module in my application that extends the plugin one. Ouch.



So, I have an idea, why not create a task that will generate a admin
module that extends another one (with a bunch of parameter just
because we will need some).

Stuff that have to be done is:

1) Actions, components, helper and configuration classes will extends
the base ones, just with some require if the autoloader is not able to
find these last ones;

2) Add some include paths to be able to find templates in the base module;

3) Merge config files with the default ones when creates configuration
cache (especially view.yml and security.yml because the generator.yml
can be customize with the configuration class).

>From my point of vue, the two first steps are pretty close of that the
generator system does with the cached files, but the third step seems
to be more difficult to implements...


Does it sound like a plan? Please argue.


Loops

--~--~---------~--~----~------------~-------~--~----~
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