04-05-2016, 12:54 AM
Let us examine a space "team_member" in the template of NotJustBrowsing, as shown in the following figures.
notjustbrowsing_org_3.png (Size: 19.23 KB / Downloads: 923)
notjustbrowsing_org_5.png (Size: 43.23 KB / Downloads: 923)
Testing each space's layout can be done locally on your computer. For example creating a file team_member.html with the contents to see the outcome of layout specification.
Now to add another member of team, there is no need for any layout information. Only "member_name", "member_intro" and member's photo url is sufficient.
What it means is setting layout first and concentrating on the contents later throughout the life of the website. This is object oriented way of doing things.
We have done two things
1. Created a template for a website (Template Construction - I/Final)
2. Created layouts for contents within spaces created in template.
Now we are ready to move this template in to a Content Management System. To start with, we will incorporate our template in Joomla.
notjustbrowsing_org_3.png (Size: 19.23 KB / Downloads: 923)
notjustbrowsing_org_5.png (Size: 43.23 KB / Downloads: 923)
Testing each space's layout can be done locally on your computer. For example creating a file team_member.html with the contents to see the outcome of layout specification.
Now to add another member of team, there is no need for any layout information. Only "member_name", "member_intro" and member's photo url is sufficient.
What it means is setting layout first and concentrating on the contents later throughout the life of the website. This is object oriented way of doing things.
We have done two things
1. Created a template for a website (Template Construction - I/Final)
2. Created layouts for contents within spaces created in template.
Now we are ready to move this template in to a Content Management System. To start with, we will incorporate our template in Joomla.