I'm considering using Symfony 2 over Symfony 1, and based on the
documentation for Symfony 2, it seems that the notion of multiple apps
has been removed? If so, this will be a major factor to why I'll stick
with Symfony 1.

The reason why I use multiple apps is because I have two separate
websites as their own apps under the same project in Symfony 1 - one
for browsers on a non-mobile platform, and another specifically
designed for iPad. The layouts are completely different for both,
along with the security model. However, both share the same common
libraries, which I put in the root /lib directory; in the /web
directory, I've created another .htaccess file where the index.php is
renamed to the other app's name (ie ipad.php).

Doing it this way makes both apps easy to maintain due to the common
libs they use, and I can have one or the other (or both) websites
hosted on the same box, or separate boxes if need be.

What would be the analogy in Symfony 2 for this if any? I don't want
my Symfony 2 URL structure to be something like /non-
mobile/:module/:action or /mobile/:module/:action (speaking in terms
of Symfony 1 convention here), but rather non-mobile.com, mobile.com,
with the same project being used.

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