Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Static Sites Can be the Solution

Static Sites Can be the Solution

Presentation on "Static Sites Can be the Solution" from Scotch on the Rocks 2014 #sotr14

Simon Wood

June 06, 2014
Tweet

More Decks by Simon Wood

Other Decks in Technology

Transcript

  1. @hpoom Static Sites Can be the Solution By Simon Wood

    1 Scotch on the Rocks 2014 #sotr14
  2. / @hpoom Dynamic sites don’t work 5 Static Site Generators

    Flat file CMS What I am going to cover
  3. ” @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/a688WQ
  4. ” @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/6QVV36
  5. ” @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/kj1Dm7
  6. / @hpoom History of SSG 28 nanoc 7 years old

    jekyll 6 years old Moveable Type 13 years old
  7. / @hpoom Lots of choice 35 assemble Cactus DocPad Dropplets

    Hexo Hugo Hyde Jekyll metalsmith Middleman Octopress Pelican Stacey Wintersmith GO JavaScript PHP Python Ruby
  8. / @hpoom Markdown is the future 38 "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
  9. ” @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/7uELQN
  10. @hpoom 43 --- layout: post title: Bloggling like a pro

    tags: ['baby', 'startup', 'prediction'] created: '2014-03-17T22:24:18+00:00' --- *content goes here*
  11. @hpoom 45 <!DOCTYPE html> <html lang ="en"> <head> <meta charset="UTF-8">

    <title>{{title}}</title> </head> <body> {{content}} </body> </html>
  12. ” @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, world\n");" by isipeoria. Licensed under Creative Commons.- https://flic.kr/p/bcgZ5g
  13. / @hpoom Some Flat File CMS 60 Kirby statamic Pico

    Stacey Cockpit Monstra razorCMS
  14. ” @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/dYKSNz
  15. / @hpoom Client side JS can do a lot 66

    Web Sockets WebRTC Canvas WebGL Local Storage Animation Video Audio Shadow DOM
  16. @hpoom Thank you please contact me if you have any

    questions Twitter: @hpoom Links: http://bit.ly/SOTR2014 logo 84 By Simon Wood Scotch on the Rocks 2014 #sotr14