1

I understand that the hierarchy, in cppcms for templates, goes skin (topmost, representing a namespace), then view (representing a class) and finally template (representing a function).

I want to know when I should use a skin and when I should use a view; would each page be a skin or would it be a skin per application, etc.

Could you explain when each should be used and could you give some examples?

3

Read these tutorials carefuly:

They cover the topic.

I want to know when I should use a skin and when I should use a view; would each page be a skin or would it be a skin per application, etc.

Almost always you would use views... Skins are for "skinning" purposes or for totally separate units like for example "general pages" and "administrator interface" that share almost nothing - and it is yet non-mandatory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.