SlideShare a Scribd company logo
@hpoom
Static Sites Can
be the Solution
By Simon Wood London Web - July 2014
1
/
@hpoom
About me
Head of Technology
and Innovation
Holiday Extras
Simon Wood
2
/
@hpoom
Holiday Extras
3
/
@hpoom@hpoom 4
/
@hpoom
What I am going to cover
5
/
@hpoom
Dynamic sites
don’t work
What I am going to cover
5
/
@hpoom
Dynamic sites
don’t work
Static Site
Generators
What I am going to cover
5
/
@hpoom
Dynamic sites
don’t work
Static Site
Generators
Flat file
CMS
What I am going to cover
5
/
@hpoom
Static does not mean static
Static Site !=
Static Content
6
/
@hpoom
Static does not mean static
Static Site ==
Static Architecture
7
@hpoom
Things are not
working now
8
”
@hpoom
WordPress is used
by more than 22%
of the top 10 million
websites as of
August 2013
Wikipedia
"WordPress Pencil and Pins-07" by Christopher Ross. Licensed under Creative Commons.- https://flic.kr/p/a688WQ9
@hpoom
Databases
don’t scale
10
@hpoom
cache Queries
11
@hpoom
Front Side Cache
12
”
@hpoom
Some websites are fried
up for the user every
time. But others are
baked once and served
up again and again.
Aaron Swartz
http://bit.ly/bake-fry
"Boston Wiki Meetup" by Sage Ross. Licensed under Creative Commons.- https://flic.kr/p/6QVV3613
@hpoom
WYSIWYG
FAIL
14
/
@hpoom
Problems with CMS
15
/
@hpoom
Problems with CMS
Security
15
/
@hpoom
Problems with CMS
PortabilitySecurity
15
/
@hpoom
Problems with CMS
Portability ReliabilitySecurity
15
@hpoom
The web has
Evolved
16
@hpoom
Site Speed
is important
17
/
@hpoom
500ms
Google
20%
revenue 18
/
@hpoom
Amazon
100ms 1%
revenue 19
/
@hpoom
Yahoo
400ms 9%
traffic 20
/
@hpoom
Medium
medium.com
Less is Less
Gov UK
www.gov.uk/transformation 21
”
@hpoom
The web's moved beyond
the desktop, and it's not
looking back. The number
of devices we're designing
for is growing just as
quickly as mobile traffic.
Ethan Marcotte
"Device lab" by Jeremy Keith. Licensed under Creative Commons.- https://flic.kr/p/kj1Dm722
/
@hpoom
CSS Pre-compilers
23
/
@hpoom
Javascript Proliferation
24
/
@hpoom
good tooling
25
/
@hpoom
client side Widgets
26
@hpoom
Static Site
Generators
27
/
@hpoom
History of SSG
28
/
@hpoom
History of SSG
Moveable Type
13 years old
28
/
@hpoom
History of SSG
nanoc
7 years old
Moveable Type
13 years old
28
/
@hpoom
History of SSG
nanoc
7 years old
jekyll
6 years old
Moveable Type
13 years old
28
@hpoom
Example
SSG Built Sites
29
/
@hpoom
Zurb Foundation assemble
foundation.zurb.com
30
/
@hpoom
Mozilla WebFWD Stacey
webfwd.org
31
/
@hpoom
GitHub Training Jekyll
training.github.com
32
/
@hpoom
staticsitegenerators.net 

 
 
 
 
 287
33
/
@hpoom
staticsitegenerators.net 

 
 
 
 
 287
33
/
@hpoom@hpoom 34
/
@hpoom
Lots of choice
assemble Cactus DocPad Dropplets
Hexo Hugo Hyde Jekyll metalsmith
Middleman Octopress
Pelican Stacey Wintersmith
GO JavaScript PHP Python Ruby
35
@hpoom
Content
Templates
Sass
HTML
CSS
Publish
36
@hpoom
Markdown
37
/
@hpoom
Markdown is the future
"Markdown is the Future of Writing" by Robby Ingebretsen. - http://bit.ly/mdfuture
## A Little Markdown Example
Markdown is **awesome** because:
- it’s easy to *write*
- it’s easy to *read*
- it keeps you in the *moment*
A LITTLE MARKDOWN EXAMPLE
Markdown is awesome because:
• it’s easy to write
• it’s easy to read
• it keeps you in the moment
38
”
@hpoom
If your app has text fields
that can be formatted, and
you're using your own
janky custom markup
instead of Markdown,
you're doing it wrong.
Ernie Miller
"Old school (9/365)" by Jinny. Licensed under Creative Commons.- https://flic.kr/p/7uELQN39
/
@hpoom
content is versioned
40
/
@hpoom
Web Editor
dillinger.io
Markdown Tools
Mac Editor
mouapp.com
Books
gitbook.io
41
@hpoom
FRONT MATTER
42
@hpoom
---
layout: post
title: Bloggling like a pro
tags: ['baby', 'startup', 'prediction']
created: '2014-03-17T22:24:18+00:00'
---
*content goes here*
43
@hpoom
Templates
44
@hpoom
<!DOCTYPE html>
<html lang ="en">
<head>
<meta charset="UTF-8">
<title>{{title}}</title>
</head>
<body>
{{content}}
</body>
</html>
45
/
@hpoom
Template Engines
Eco Haml
Handlebars Jade
Mustache Twig
CoffeeScript JavaScript PHP Ruby
46
@hpoom
Pre-compilers
and tooling
47
@hpoom
Hosting
48
/
@hpoom
GitHub Pages
49
/
@hpoom
AWS S3
50
/
@hpoom
BitBalloon
51
@hpoom
Why so
many?
52
”
@hpoom
I believe that writing a
static site generator is
the new "Hello World". It
is stupidly trivial to
write a basic one.
Timo Zimmermann
http://bit.ly/ssghello
"printf("hello, worldn");" by isipeoria. Licensed under Creative Commons.- https://flic.kr/p/bcgZ5g53
@hpoom
ROLL YOUR
OWN SSG
54
@hpoom
Terminal
driven
55
@hpoom
Flat File
CMS
56
@hpoom
Example Flat
FILE CMS Sites
57
/
@hpoom
asana statamic
asana.com
58
/
@hpoom
World Backup Day Kirby
worldbackupday.com
59
/
@hpoom
Some Flat File CMS
Kirby statamic
Pico Stacey Cockpit
Monstra razorCMS
60
/
@hpoom
statamic
61
”
@hpoom
A flat-file CMS is a content
management system that
stores content in files and
folders rather than in a DB
like a traditional CMS
Jeremiah Shoaf
http://bit.ly/FlatCMS
"P1040010" by Mike Linksvayer. Licensed under Creative Commons.- https://flic.kr/p/dYKSNz62
@hpoom
Dynamic Elements
with Javascript
63
/
@hpoom
My blog needs comments
64
/
@hpoom
My blog needs comments
64
/
@hpoom
My blog needs comments
64
/
@hpoom
My blog needs comments
64
/
@hpoom
Bells & whistles
65
/
@hpoom
Bells & whistles
Surveys
65
/
@hpoom
Bells & whistles
Surveys Video
65
/
@hpoom
Bells & whistles
Surveys Video Charts
65
/
@hpoom
Client side JS can do a lot
Web Sockets WebRTC Canvas
WebGL Local Storage
Animation Video Audio Shadow DOM
66
@hpoom
Summary
67
@hpoom
Where it is
not Suitable
68
@hpoom
Not non-tech
accessible
69
@hpoom
not a solution
to everything
70
@hpoom
Requires
a Rethink
71
@hpoom
Other
options
72
/
@hpoom
I can’t change my CMS
73
/
@hpoom
Boost
I can’t change my CMS
73
/
@hpoom
Boost WP-Super
Cache
I can’t change my CMS
73
/
@hpoom
Boost WP-Super
Cache
I can’t change my CMS
Buster
73
/
@hpoom
Mixture
mixture.io
Alternatives
Hammer
hammerformac.com
Cactus
cactusformac.com
74
@hpoom
All else fails
then VARNISH
75
@hpoom
The Benefits
76
@hpoom
SPEED
77
@hpoom
Security
78
@hpoom
Simple Cheap
Hosting
79
@hpoom
Revision
Control
80
@hpoom
Portability
81
@hpoom
SIMPLICITY
82
@hpoom
Generate
once 83
@hpoom
Thank youplease contact me if you have any questions
Twitter: @hpoom
Links: http://bit.ly/LW-July
logo
By Simon Wood London Web - July 2014
84

More Related Content

Viewers also liked (19)

PDF
SMX 2010 Summary of Hot Topics from SEO Track
Matthew Pack
 
PDF
Holiday Extras
Matthew Pack
 
ODP
Apache Cordova, Hybrid Application Development
thedumbterminal
 
PDF
Presentation Hassle Free Anna
Matthew Pack
 
PDF
Osservatorio congressuale Torino 2014 2015
Sviluppo Piemonte Turismo Srl
 
PDF
How to set your ADI business profile
Roadio
 
PDF
Surviving the enterprise storm - @RianVDM
Future Insights
 
PDF
Break away old
Emily Rumbelow
 
PDF
Role of Cognitive Analytics in a era of Industry 4.0
Bhaswar Goswami
 
PPT
Online Presence
Simon Wood
 
PDF
BreakAway
Emily Rumbelow
 
PDF
Design+Startup 2013
Jeffrey Kalmikoff
 
PPT
Hotleads:upsell
Anthony Cowell
 
PDF
Get to know Holiday Extras 2011
Matthew Pack
 
PDF
How to get started with Roadio in under 60 seconds
Roadio
 
KEY
Access to iDevices
will wade
 
PDF
Cinematic UX, Brad Weaver
Future Insights
 
PDF
Scottish Communicators Network - 22 October 2014 - People Make Glasgow
Jane Robson
 
PDF
How to manage your payments
Roadio
 
SMX 2010 Summary of Hot Topics from SEO Track
Matthew Pack
 
Holiday Extras
Matthew Pack
 
Apache Cordova, Hybrid Application Development
thedumbterminal
 
Presentation Hassle Free Anna
Matthew Pack
 
Osservatorio congressuale Torino 2014 2015
Sviluppo Piemonte Turismo Srl
 
How to set your ADI business profile
Roadio
 
Surviving the enterprise storm - @RianVDM
Future Insights
 
Break away old
Emily Rumbelow
 
Role of Cognitive Analytics in a era of Industry 4.0
Bhaswar Goswami
 
Online Presence
Simon Wood
 
BreakAway
Emily Rumbelow
 
Design+Startup 2013
Jeffrey Kalmikoff
 
Hotleads:upsell
Anthony Cowell
 
Get to know Holiday Extras 2011
Matthew Pack
 
How to get started with Roadio in under 60 seconds
Roadio
 
Access to iDevices
will wade
 
Cinematic UX, Brad Weaver
Future Insights
 
Scottish Communicators Network - 22 October 2014 - People Make Glasgow
Jane Robson
 
How to manage your payments
Roadio
 

Similar to Static Sites Can be the Solution (Simon Wood) (20)

PPTX
Static Site Generators - Developing Websites in Low-resource Condition
IWMW
 
PPTX
Static Site Generators: what they are and when they are useful
Paul Walk
 
PDF
Going Back to Static HTML Sites - SEMPRO 2017
LumoLink
 
PDF
Going back to static html sites / Artem Daniliants / LumoSpark
LumoSpark
 
PDF
#1 - HTML5 Overview
iloveigloo
 
PPTX
EMPTECH QUARTER 1 MODULE 1: WHAT IS ICT.pptx
Jess956809
 
PDF
Static website generators
Merlin Rebrović
 
PDF
A Comprehensive Guide on Building Lightning-Fast Websites with React Static S...
Inexture Solutions
 
PPTX
Building a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
St. Petersburg College
 
PDF
Top 8 react static site generators for 2020
Katy Slemon
 
KEY
Sustainability and bit-rot
Kiran Jonnalagadda
 
PPTX
MDN Development & Web Documentation
Jay Patel
 
PDF
Building Hypermedia Apis With Html5 And Node Mike Amundsen
goorgaudias
 
PDF
The Future is Static
Eric Gardner
 
PDF
Cape Cod Web Technology Meetup - 3
Asher Martin
 
PDF
The future is mostly static
Juho Vepsäläinen
 
PDF
Building for real standards (includes notes)
Christian Heilmann
 
PPTX
Documenting metadata application profiles and vocabularies
Paul Walk
 
Static Site Generators - Developing Websites in Low-resource Condition
IWMW
 
Static Site Generators: what they are and when they are useful
Paul Walk
 
Going Back to Static HTML Sites - SEMPRO 2017
LumoLink
 
Going back to static html sites / Artem Daniliants / LumoSpark
LumoSpark
 
#1 - HTML5 Overview
iloveigloo
 
EMPTECH QUARTER 1 MODULE 1: WHAT IS ICT.pptx
Jess956809
 
Static website generators
Merlin Rebrović
 
A Comprehensive Guide on Building Lightning-Fast Websites with React Static S...
Inexture Solutions
 
Building a Simple Mobile-optimized Web App Using the jQuery Mobile Framework
St. Petersburg College
 
Top 8 react static site generators for 2020
Katy Slemon
 
Sustainability and bit-rot
Kiran Jonnalagadda
 
MDN Development & Web Documentation
Jay Patel
 
Building Hypermedia Apis With Html5 And Node Mike Amundsen
goorgaudias
 
The Future is Static
Eric Gardner
 
Cape Cod Web Technology Meetup - 3
Asher Martin
 
The future is mostly static
Juho Vepsäläinen
 
Building for real standards (includes notes)
Christian Heilmann
 
Documenting metadata application profiles and vocabularies
Paul Walk
 
Ad

More from Future Insights (20)

PDF
The Human Body in the IoT. Tim Cannon + Ryan O'Shea
Future Insights
 
PDF
Pretty pictures - Brandon Satrom
Future Insights
 
PDF
Putting real time into practice - Saul Diez-Guerra
Future Insights
 
PDF
A Universal Theory of Everything, Christopher Murphy
Future Insights
 
PDF
Horizon Interactive Awards, Mike Sauce & Jeff Jahn
Future Insights
 
PDF
Reading Your Users’ Minds: Empiricism, Design, and Human Behavior, Shane F. B...
Future Insights
 
PDF
Front End Development Transformation at Scale, Damon Deaner
Future Insights
 
PDF
The Future is Modular, Jonathan Snook
Future Insights
 
PDF
Designing an Enterprise CSS Framework is Hard, Stephanie Rewis
Future Insights
 
PDF
Accessibility Is More Than What Lies In The Code, Jennison Asuncion
Future Insights
 
PDF
Sunny with a Chance of Innovation: A How-To for Product Managers and Designer...
Future Insights
 
PDF
Designing for Dyslexia, Andrew Zusman
Future Insights
 
PDF
Beyond Measure, Erika Hall
Future Insights
 
PDF
Real Artists Ship, Haraldur Thorleifsson
Future Insights
 
PDF
Ok Computer. Peter Gasston
Future Insights
 
PDF
Digital Manuscripts Toolkit, using IIIF and JavaScript. Monica Messaggi Kaya
Future Insights
 
PPTX
How to Build Your Future in the Internet of Things Economy. Jennifer Riggins
Future Insights
 
PDF
The Wordpress Game Changer. Jenny Wong
Future Insights
 
PDF
A behind the-scenes look at cross-browser testing with web driver, Adrian Bat...
Future Insights
 
PDF
Angular Performance: Then, Now and the Future. Todd Motto
Future Insights
 
The Human Body in the IoT. Tim Cannon + Ryan O'Shea
Future Insights
 
Pretty pictures - Brandon Satrom
Future Insights
 
Putting real time into practice - Saul Diez-Guerra
Future Insights
 
A Universal Theory of Everything, Christopher Murphy
Future Insights
 
Horizon Interactive Awards, Mike Sauce & Jeff Jahn
Future Insights
 
Reading Your Users’ Minds: Empiricism, Design, and Human Behavior, Shane F. B...
Future Insights
 
Front End Development Transformation at Scale, Damon Deaner
Future Insights
 
The Future is Modular, Jonathan Snook
Future Insights
 
Designing an Enterprise CSS Framework is Hard, Stephanie Rewis
Future Insights
 
Accessibility Is More Than What Lies In The Code, Jennison Asuncion
Future Insights
 
Sunny with a Chance of Innovation: A How-To for Product Managers and Designer...
Future Insights
 
Designing for Dyslexia, Andrew Zusman
Future Insights
 
Beyond Measure, Erika Hall
Future Insights
 
Real Artists Ship, Haraldur Thorleifsson
Future Insights
 
Ok Computer. Peter Gasston
Future Insights
 
Digital Manuscripts Toolkit, using IIIF and JavaScript. Monica Messaggi Kaya
Future Insights
 
How to Build Your Future in the Internet of Things Economy. Jennifer Riggins
Future Insights
 
The Wordpress Game Changer. Jenny Wong
Future Insights
 
A behind the-scenes look at cross-browser testing with web driver, Adrian Bat...
Future Insights
 
Angular Performance: Then, Now and the Future. Todd Motto
Future Insights
 
Ad

Static Sites Can be the Solution (Simon Wood)