ApiFrontend and ApiBackend ?

No, I'm kidding

You could have an administration controller in your application, who requires some credentials to be accessed, and renders different templates from the frontend controllers.

You could prefix them with your applicative layer : adminController, apiController; and create template folders : admin/ api/ folders.

Isolation is correct, and security too


Le 11/08/10 20:59, Jay a écrit :
With option b) we would probably put all the article bundles into
their own directory to be a bit more organized:

Bundle\Article\FrontendArticleBundle
Bundle\Article\BackendArticleBundle
Bundle\Article\ApiArticleBundle
Bundle\Article\CommonArticleBundle

with option b you end up with up to 4 routing files, where the first
three might include the routes from common, and with option c you end
up with just one routing file that routes to up to 4 different
controllers.


--
---
Alexandre Salomé - http://alexandre.salome.fr

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