Re: Re: [PROPOSAL] 'Region' generated ID set

Chad Whitacre <[email protected]> Fri, 19 Mar 2004 16:01:22 -0500
Newsgroups gmane.comp.web.zope.plone.design
Message-ID <[email protected]>
>> Ok, so what I hear you saying is that "semantic" means that the ids 
>> (etc.) describe the elements' use or function, is that correct?
> 
> yep.

Cool, so our terms are agreed. Sorry for confusing the issues.


> no :) you're mixing up things here - we're bad because we named it 
> column which is a visual term ;) xhtml semantics have nothing to do with 
> the visual part. you're *not* bad if you use a portlet not as a portlet, 
> thats actually what css is for. for example: it's planned that the 
> search box will be a portlet in 2.1.

Right. So for example in #portal-top, the seven elements in there are 
named semantically, right? E.g., #portal-logo, #portal-skinswitcher, 
etc. Now what happens when I need something else in the header? I 
customize global_skinswitcher. But now it's not being used as a 
skinswitcher anymore, and so I've violated the semantics. Yes, I could 
use a different id name, but a) this is less efficient, and b) the pt 
name is still unsemantic.

The issue is with trying to keep main_template from being touched. We 
have to either use generic, non-semantic identifiers, or implicitly 
de-emphasize flexibility.



chad





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click