[FLOW3-general] Interaction between two or more Packages
Thomas Layh
thomas at layh.com
Thu Jan 19 08:30:28 CET 2012
Hi Daniel,
you can add the package to your Fluid action links and in this way you can
link from one package to another. I used this a while ago for the Usergroup
website and it works well.
https://gitorious.org/fugrm/fugrm-base/blobs/master/Resources/Private/Partials/Navigation.html
Hope this helps.
Greetings,
Thomas
On Wed, Jan 18, 2012 at 18:05, Daniel Felix <d.felix at codeworkz.net> wrote:
> 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
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>
More information about the FLOW3-general
mailing list