Project folder structure
When you create a new project using the command line or ketBeans, the default directory structure (in Figure 1, webslips LV WhH SURMHFW’V nDPH) DSSHDUV dLIfiFuOW WR undHUVWDnd DW fiUVW. AFWuDOOy, WhH DSSOLFDWLRnV, FRnfiJuUDWLRn, DSSOLFDWLRn dDWD, :HE fiOHV, Dnd DOPRVW HYHUyWhLnJ LV separated into folders; once you understand the arrangement, everything falls into place. The ‘apps’ folder contains the applications; by default it has ‘backend’ and ‘frontend’ folders, which are the two default applications Symfony creates in a new project. bach app has its own layout (present in the ‘templates’ folder). The layout.php fiOH hDV WhH EDVLF layout for the application display. bach app is also divided into smaller functional units called modules, in the ‘modules’ folder ( people Ln )LJuUH 1). (DFh PRduOH hDV LWV DFWLRnV fiOH (PHP code for different actions) in the ‘actions’ folder, and