OpenSource For You

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 DSSOLFDWLR­nV, FRnfiJuUDW­LRn, DSSOLFDWLR­n dDWD, :HE fiOHV, Dnd DOPRVW HYHUyWhLnJ LV separated into folders; once you understand the arrangemen­t, everything falls into place. The ‘apps’ folder contains the applicatio­ns; by default it has ‘backend’ and ‘frontend’ folders, which are the two default applicatio­ns 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 applicatio­n 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

Newspapers in English

Newspapers from India