[FLOW3-general] Interaction between two or more Packages
Daniel Felix
d.felix at codeworkz.net
Wed Jan 18 18:05:19 CET 2012
Hey there,
is there any defination for interactions between two packages?
Some example:
1 Package for Usermanagement (LoginController, RegistrationController,
UserModel, UserRepository, .)
1 Package for a Blog (BlogController, BlogModel, BlogRepository, . etc.)
1 Package for some Articledatabase (same as above)
Now the interaction examples:
A user register and should be added to the userrepository. If his usergroup
matches, he should be able to add some article to the articlerepository.
Or another example:
A user read some articles from the articlerepository. On the same page, he
should see the last 5 blogs from the blogrepository.
Is there any dynamic way to define this with some packages and link them
together to one application or do I have to write this all in one package to
have a functional application.
I would prefer the first way, to reuse the packages itself in some other
projects.
I've read your documentation but couldn't find some good example for this
situation.
Best regards
More information about the FLOW3-general
mailing list