The structure of project is very important in cq5 as the software allows overriding of the base(foundation) functionalities easily by replicating the structure inside your project.
The commonly used structure is as shown in the below diagram
These are some of the folders present in the root of the cq's tree.
The libs folder as the name says is the library folder of the software.It contains the code for most of cq's functionality; most important from developers point of view among the folders is FOUNDATION folder.
The foundation folder contains all the OOTB components and is often used by developers to extend the components.
The commonly used structure is as shown in the below diagram
The libs folder as the name says is the library folder of the software.It contains the code for most of cq's functionality; most important from developers point of view among the folders is FOUNDATION folder.
The foundation folder contains all the OOTB components and is often used by developers to extend the components.
.png)