Organizing Views in Symfony2

There are about 20 controllers in my application and the folder for each one is in the view folder. So the architecture is pretty clean, but I need to add other views like pagination, filters, etc.

So the view folder contains ~ 50 subfolders, half of them are for controllers, half are for some others. Is there a way to organize this mess? I mean, is there any good practice for this?

+3


source to share


1 answer


You may need to split your application into more packages.



0


source







All Articles