2. Zur Person
Dirk Jesse
• Bauingenieur aus Dresden
• Freiberuflicher Softwareentwickler:
– CSS Framework „Yet Another Multicolumn Layout“ (YAML)
– JavaScript-Applikationen
– CSSDOC
• Autor
– T3N Magazin, Webstandards Magazin
– Fachbuch „CSS-Layouts, Praxislösungen mit YAML 3.0“
• Redaktion Webkrauts
3.
4. Frameworks
“… a set of tools, libraries,
conventions and best practices
that attempt to abstract routine
tasks into generic modules that
can be reused.”
Jeff Croft, Frameworks for Designers
http://www.alistapart.com/articles/frameworksfordesigners/
5. Layout Frameworks
Generisch
Funktionalität ist unabhängig von visueller Gestaltung
Wiederverwendbar
Kombinierbare, nach Funktionen getrennte,
standardisierte Bausteine
Robust
Aufrechterhaltung der Funktion unter wechselnden
Anwendungszenarien
16. Browser-Reset
Eric Meyer‘s Reset-CSS YUI Reset-CSS
Pro Pro
• Abstände werden zurückgesetzt • Abstände werden zurückgesetzt
• Schriftgrößen unberührt • lässt :focus unberührt
Contra Contra
• ol, ul { list-style: none; } • H1...H6 erhalten font-size: 100%
• <strong> ist nicht bold • ol, ul { list-style: none; }
• <em> ist nicht italics • Unnötiges Zurücksetzen von
Standardformatierungen für
strong, em, ins, del, sub, sup
Barriere per Default
• :focus { outline: 0; }
17. Offene Diskussionen
“The problem I've had with these resets is that
I then find myself declaring much more than I
ever needed to just to get browsers back to
rendering things the way I want. As it turns
out, I'm perfectly happy with how a number of
elements render by default. I like lists to have
bullets and strong elements to have bolded
text. ”
Jonathan Snook, No CSS Reset
http://snook.ca/archives/html_and_css/no_css_reset/
18. Offene Diskussionen
“I don’t want to take style effects for granted.
[…]
It makes me think just that little bit harder
about the semantics of my document. With the
reset in place, I don’t pick strong because
the design calls for boldfacing. Instead, I pick
the right element – whether it’s strong or em
or b or h3 or whatever – and then style it as
needed.”
Eric Meyer, Reset Reasoning
http://meyerweb.com/eric/thoughts/2007/04/18/reset-reasoning/
33. Lorem ipsum dolor sit amet, consectetur, sadipisci velit …
INHALT UND
TYPOGRAFIE
34. Vertical Rhythm
Heading
Lorem ipsum dolor sit amet, consetetur sadipscing
elitr, sed diam nonumy eirmod tempor invidunt ut
labore et dolore magna aliquyam erat, sed diam
Subheading
Lorem ipsum dolor sit amet, consetetur sadipscing
elitr, sed diam nonumy eirmod tempor invidunt ut
41. HAML
“Haml is a markup language
that’s used to cleanly and simply
describe the HTML …”
• Markup should be beautiful
• Markup should be DRY
• Markup should be well-intended
• HTML structure should be clear
42. Compass CSS
Ruby // Sass
Meta-Framework mit Portierungen für Blueprint, 960.gs, YUI
43. Scaffold – Rapid CSS Development Framework
PHP
Zahlreiche CSS3-basierte Bausteine
Layout-Plugin (CSS 3 Multicolumn Module)
44. Wo liegen die Vorteile des Framework-Einsatzes?
SPIELZEUG ODER
ECHTE HILFE?