[Solar-talk] New div IDs for layouts?
Paul M Jones
pmjones at solarphp.com
Tue Jul 18 07:07:04 PDT 2006
Hi all,
In the current layouts, I'm using "location" IDs: top, bottom, left,
right, etc. I've got enough done now that I think I can start
switching to semantic IDs. Want to get input before I do so.
Proposed IDs are:
site-* : (Same for all pages on the site)
site-head : Header
site-foot : Footer
site-menu : Site-wide navigation elements
site-info : Other site-wide information
page-* : (Used only for the current page)
page-head : Header
page-foot : Footer
page-menu : Page-specific navigation elements
page-info : Other page information
user-* : (Related more to the user than the page)
user-auth : User authentication block
user-menu : Navigation or actions for the user
user-info : Other user information
I still plan on using the 'content' ID to show where the page content
itself goes.
This means that the Solar_App $layout_* property names will change to
match the new semantic IDs; e.g., from $layout_right to
$layout_page_head, $layout_page_menu, etc.
Any comments/criticism here? Do you think those are enough to cover
most or all broad semantic sections on a page?
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list