How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

76
How the STK, CSS & HTML and Rapid Prototyping accelerate the Design Process Timo Wirth, aperto Berlin, @Magnolia Conference Basel, 4/9/2012

description

Designing with the STK ... is as easy as customizing your own pizza. Out of the box the Magnolia STK comes with a large amount of HTML & CSS, more than 50 HTML templates and 9 layout patterns. Which is amazing. Still, the possibilities can easily become intimidating, kill creativity or slowdown the design and development process. Don't be scared. Timo Wirth, creator of the STK frontend, shows you how easy it is to create a stunning website with the help of the STK and how the STK can speed up your creativity process. Designing with the Magnolia STK is as easy as creating your own individual pizza. It's your choice!

Transcript of How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

Page 1: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

How the STK, CSS & HTML and Rapid Prototyping accelerate the Design Process

Timo Wirth, aperto Berlin, @Magnolia Conference Basel, 4/9/2012

Page 2: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

2

Magnolia STK Super Sonic Templating Kit

Page 3: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

! Open the box and you will get amazing possibilities

Page 4: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

4

Grids, Page Layouts, Boxes, Carousels, Teasers … A lot of fantastic things to choose from

Page 5: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

! But …

Page 6: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

6

128 KB Styles.css

50+ HTML templates

9 Layout patterns

Page 7: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

7

This possibilities can easily become intimidating, kill creativity or slowdown the design and development process.

Page 8: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

! don‘t be scared

Page 9: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

The pizza order form will help you

9

and Super Mario too

Page 10: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

10

Designing with the Magnolia STK is as easy as creating your own individual pizza.

Page 11: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

11

The following guide will help you to create the best pizza ever in the shortest amount of time. It’s optimized for the non-experienced pizza maker.

Page 12: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

The dough

Page 13: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

Layout

Page 14: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

14

Where should the page be positioned?

left centered

Page 15: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

15

How wide is the header?

100% fluid windows width Fixed width / max width

Page 16: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

16

What about the footer?

Fixed width / max width 100% fluid window width

Page 17: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

Navigation

Page 18: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

18

Which type of navigation you‘d like to have?

horizontal left sidebar

Page 19: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

19

Do you need a second level?

1st level horizontal / 2nd level vertical Both levels horizontal

Page 20: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

Basic Grid

Page 21: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

21

Our Right Sidebar Models?

Page 22: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

22

No sidebar?

Page 23: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

23

Or the ones with left hand navigation bar?

Page 24: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

Responsive Design

Page 25: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

25

Do you prefer a responsive approach?

Page 26: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

26

Do you need dedicated iPhone / mobile templates?

Page 27: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

27

Let the dough brew. Next, we’ll prepare some toppings while the dough rises.

Page 28: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

Pizza Toppings Toppings

Page 29: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

29

Choose from the toppings below to create your own flavor combination

Page 30: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

30

The Big Ones

Page 31: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

31

Go for the Big Show?

Page 32: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

32

Big News?

Page 33: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

33

Most Popular

Page 34: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

34

We‘d like to tease you?

Page 35: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

Ich bin die Fusszeile 35

Specialities

Page 36: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

36

Something special?

Page 37: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

37

Something special?

Page 38: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

38

Something special?

Page 39: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

39

The STK order form will be part of the next magnolia release.

So much more to choose from … Please choose from more than 20 additional specialities ...

Page 40: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

40

Here are the ingredients for our pizza website

centered

3 columns

stage

horizontal navigation

promos

Page 41: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

41

Now we have a plan, how our pizza should be layouted and structured. We’ve decided which elements the pizza should consists of and what our favorite toppings are

Page 42: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

42

Let’s go deeper Let’s get our hands dirty!

Page 43: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

„ … to knead the dough it’s very therapeutic. It’s wicked. I love it. The texture. It’s so smooth and silky.

Jamie Oliver, Naked Chef S1/E2

Page 44: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

44

Stop! Before we start. All chefs need some theory. A short introduction to the key STK frontend principles

Page 45: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

STK Frontend Principles

Page 46: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

46

As we’ve started with Magnolia STK four years ago, we were guided by the following principles.

Page 47: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

47

Easy and Complex

01 You can do very complex things with the magnolia STK, but still easy things can be done easily.

Page 48: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

48

Be responsive

02 Use the screen well Great designs for big and also for small screens.

Page 49: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

49

Robust & Reliable

03 You can trust the STK.

Page 50: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

50

Change is good thing

04 Easy to maintain Easy to change Easy to redesign

Page 51: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

? How are these principles represented in the frontend code?

Page 52: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

52

Media Queries for responsive websites are built in

<link media=“only screen and (min-device-width: 481px)”> <link media=“only screen and (min-width: 1200px”> <link media=“only screen and (min-width: 481px”) and (max-width: 980px)”> <link media=“handheld, only screen and (max-device-width: 480px)”>

Page 53: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

53

Every HTML template is self-contained

<div class=“text”> <div id=“breadcrumb”><h5><ul> <div id=“section”><h5><p>

Page 54: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

54

Article arcticle.html

Page 55: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

55

Every HTML template is self-contained

<div class=“text” role=“article”> <h1> <p id=“intro”> <div id=“toc”>

<h2> <ul>

<div class=“text-section”>

<!-­‐-­‐  not  -­‐-­‐>  <div  class=“text”>  

<h1>  <p  id=“intro”>  <h2>  <ul  id=“toc”>  <div>    

         

Page 56: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

56

Classes and IDs are comprehensible to humans

<!-- not --> <div class=“c3po”>

<!-- better --> <div class=“teaser no-img”> <div class=“links”> <div class=“text-box facts”>

Page 57: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

57

Important layout containers are layered and are so independent

-<div id=“wrapper">

+<div id=“branding">

+<div id=“nav-global">

+<div id=“wrapper-2">

+<div id=“site-info">

Page 58: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

58

Class and ids follow a logical pattern and they are extandable

<div id=“nav> <div id=“nav-box> <!-- extandable like this --> <div id=“nav-wrapper”> <div id=“nav”> <div id=“nav-box”> <div id=“nav-box-inner”>

Page 59: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

59

Classes can be combined for reuse, overwriting or special styling

<div class="teaser”> … <div class="teaser event-list"> <div class="teaser latest"> <div class="teaser latest links no-img">

Page 60: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

60

Every teaser is unique. STK counts the teasers for you

<div class="teaser” id=“teaser-1”> <div class="teaser” id=“teaser-2”> or <div class=“box” id=“box-1”> <div class=“box” id=“box-2”>

Page 61: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

61

Teasers can be grouped

<div class="teaser-group”> <div class="teaser“> <div class="teaser“>

Page 62: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

62

Each teaser group has it’s own teaser count

<div class="teaser-group” id="teaser-group-1” > <div class="teaser“ id=“tg-1-teaser-1“> <div class="teaser“ id=“tg-1-teaser-2“>

Page 63: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

! The secret ingredient

Page 64: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

64

Body IDs and classes

<body id=“home” class=“col-float3” >

<body id=“section” class=“col-subcol-subcol” >

<body id=“profile” class=“col-float2 >

Page 65: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

65

A powerful approach to built grids, and to change grids easily

Page 66: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

66

From 3 to 2 columns

3 columns <body class=“col-float3” >

2 columns <body class=“col-float2” >

Just change a number in the body class

• No additional changes in templates or HTML code needed

• the markup in the content area and in teasers stay the same

• No re-editing or copying for editors

Page 67: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

67

Let’s do some rapid prototyping now

With all this knowledge

Page 68: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

68

STK Rapid Prototyping

01 Copy the Prototype

Page 69: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

69

STK Rapid Prototyping

02 Choose welcome-col-float-3.html

Page 70: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

70

STK Rapid Prototyping

03 Delete the unnecessary HTML

Page 71: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

71

STK Rapid Prototyping

04 Just copy and re-write the css you need. Delete the rest. Start with an empty css file.

Page 72: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

Ich bin die Fusszeile 72

... to be continued

Rapid prototyping Tomorrow morning at the Community day. See you J

Page 73: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

73

1 The STK gives you general structure and lot of possibilities.

2 Don’t let it limit your thinking.

3 See the structure as relief and you use it as trampoline for your ideas and a starting point for fantastic future-proof frontend design.

To sum up

Page 74: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

74 Aperto Präsentations-Vorlage

Pizza tonight!

Page 75: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

75 Aperto Präsentations-Vorlage

Any questions?

Page 76: How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process

76

Web: www.aperto.de

http://www.vorsprungdurchwebstandards.de/

Twitter: https://twitter.com/javajim

Mail: [email protected]

Timo Wirth Director Frontend, aperto AG, Berlin