我正在开始一个新的 Symfony 3.4 应用程序,以便为我们的小型企业创建一个文档管理平台。我想我知道如何在几个自定义包中组织我的所有代码,但我宁愿在这里寻求建议;)
下面是我脑海中的树:
---- MyCompany
-------- app
-------- bin
-------- src
------------ Custom bundle with UI / design elements ( = all the main templates / layouts for the app : header, footer, sidebar etc...)
------------ Custom bundle for User management ( = user management controllers, entities profile view etc...)
------------ Custom bundle for Product management ( = products CRUD, controller, entities, product page views etc... )
------------ Custom bundle for miscellaneous operations / tools
-------- tests
-------- var
-------- vendor
-------- web
这是启动应用程序的好方法吗?还有另一种方法吗?谢谢 !