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?

BЈовић
14k8 gold badges63 silver badges82 bronze badges
asked Apr 20, 2012 at 22:06

1 Answer 1

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.

answered Apr 24, 2012 at 6:28

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.