Yii Framework Forum: layouts how use it - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

layouts how use it how works the layouts, why use it

#1 User is offline   jonatanUribe 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 29-December 10

Posted 16 February 2011 - 05:18 PM

I wonder how layouts work, I thought it was as java is what they do from the gui interface or in some pieces, such as north, south, west, east, can anyone get me out of doubt, to serve layouts and if they have any use for a programmer.

#2 User is offline   Antonio Ramirez 

  • Elite Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 1,450
  • Joined: 04-October 10

Posted 16 February 2011 - 07:05 PM

Think of a layout as a repetitive content on your pages. The layout will contain same header and footer through your application with some minors changes (ie SEO details, titles, and so on...). Layout as 'in java term' is not but it could be set as such if you configure it so (CSS), and then render content as specified by you...

┬┐How long would it take for you to understand that you own nothing in this world?


Posted Image

Share this topic:

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users