Hello Everyone,

I have just started exploring Sling and have doubts w.r.t the system and lib
folders and how they should be used. After reading the FAQs and trying out
the examples, I understand the working of the /apps folder and how Sling
looks for the resource under it depending on the resourceType field value.

What I am confused about is the usage of lib and system folder. I have seen
some application working out of the system folder in conjunction with lib
folder, for example user manager sample application but I am not sure how
one should use them.

For example, if I am writing a content application that has a bunch of
scripts to render the content and also provides admin operations, like user
management, access control, etc.,  does it make sense to keep all the
scripts related to system operations under system, whereas the scripts to
render the nodes under apps folder. Also create a content folder separately
where all the actual content resides?

Thanks,
Anuj

Reply via email to