Using Templates/layouts
Rate Topic:

im new with Yii. Before i programmed my webpages with Joomla CMS or without an cms or framework.

For my first Project i want to create a website with frontend and backend.
But there I have an understanding-problem.

Where are the differents between an template (in root/themes/) and an layout (in root/protected/views/)?

From Joomla i know it in this way:
In one directory you have an template.
In a second directory you have your webpages which would be rendered in $contend.
Why did you have pages in the template directory?

Where are the differents between Layout and Theme.
and in which context stands it with the modules?

From CakePhp i knew you has your Pages and in an other directory you have your Themes. It's linke skin's for your pages.
In Yii you have your pages in the View (Layout)-Directory and in the Themes directory ...

Sry i found out, that this is only the half truth ...
To learn i downloaded some themes, to have a look, and sometimes there are pages in the theme, sometimes the theme renders the pages vom the system.