2 app folders with 1 different configuration for routing and templating.

You can share the Admin class, but this is not a good idea, it would be
better to have 2 dedicated Admin class, behaviors can change a lot between
super admin and simple user.

On Fri, Jun 3, 2011 at 2:12 PM, keymaster <ad...@optionosophy.com> wrote:

>
> Just confirming to see if I understand correctly:
>
> Two app folders  - frontApp, backApp.
>
> Single code base.
>
> Single db.
>
> Each userland bundle has  xxxxAdminFront and xxxxAdminBack classes as well
> as xxxxAdminFrontController and xxxxAdminBackController classes.
>
> The AdminBundle config is different in each app, telling it whether to use
> the front or back xxxxAdmin classes and xxxAdminControllers.
>
> The front app overrides the templates in app/Resources/views.
>
>
> Is that what you meant?
>
>
>
> Possible Issues:
>
> S2’s CLI tools – will the two app architecture mess them up?
>
> Sessions – is there any way to share sessions between the apps?
>
>
> Thanks for your help.
>
> --
> 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 symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Thomas Rabaix
http://rabaix.net

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to