Hi guys
I’m new Yii user, i work with frontend and i get stucked with Yii structure.
I’m not understanding how Yii works, i’ve see that Yii doesn’t have a public/www folder to store all my public files like images, js and css.
I want to use this structure:
|-- myapp
| |-- public
| | |-- images
| | |-- css
| | |-- js
| | |-- assets
| |-- protected
| |-- themes
Acctually i’m working in a project that use a unique view it’s a single page like this: www.taylornopmc.com.br
I’d like to work with partials, each partial will be an independent section of this page.
Then i imagine a layout that will render all partials. Something like this:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My awesome app</title>
</head>
<body>
<div id="wrapper">
// partial header
// partial home
// partial some section 1
// partial some section 2
// partial footer
</div>
</body>
</html>
I need some insights of how i can configure Yii to work like this.
Thank you