On Github netsensei / DrupalcampGhent2014
A collection of related or interconnected pages or documents written in HTML typically served from a single web domain.
Instead, think content out!
We are talking about self contained concepts or "things"
Can be referred to via an URI
In Drupal speak: these are entities or nodes
An 'overview' page describing (a) collection(s) of 'things'
vs.
A 'detail' page describing a single 'thing'
A webpage consists of a set of components
Recurring components
Site title (logo), doormat, primary navigation,...
Specific components
Content specific: fields (title, body, timestamp,...)
Context specific: related news, see also, etc.
One off's: call to actions (typically: homepage)
The arrangement of the different components in a specific structure in order to convey meaning in a sensical way.
The structure of a layout is determined by:
You should have an idea of what you are building, before you start building it.
The art and science of organizing and labelling websites, intranets, online communities and software to support usability and findability
Not a valable solution for complex layout systems
Again, limited flexibility
Override the default HTML output in your own custom (sub)theme.
If you want to add/change CSS classes or alter the layout or clean out the HTML output
Manage contextual conditions/reactions for portions of your site
Most common case: blocks and their ilk
Advantages
Drawbacks
Manage the display of all your entities
Extends Field UI
Do away with complex template systems
Advantages
Drawbacks
Manage the layout of the content region
Or the entire page (Panels Everywhere)
Advantages
Drawbacks
When should I use...
Recurring regions such as header and footer
Low complexity architecture
Control the HTML rendering of entities
Micro level
To control the HTML rendering of the content region
... or the entire page even.
Macro level
(Courtesy Campbell Vertesi)