In a theme there is some basic folder structure:
Here in blackboot theme, some basic folder,
In view->layouts, php files are design to get dynamic content from framework side and show them in particular sections(divs).
Here, in $content variable, actual contents replaced for particular views.
For other views like
there used some other framework functions called beginContent() and endContent().
Between these two functions, we have to write all necessary divs with dynamic arrays, dynamic widgets and other customized things.