introduction to jekyll and static-site generators

9
Static-site Generators Static-site Generators Jekyll to be specific… Jekyll to be specific…

Upload: ruben-tan

Post on 17-May-2015

995 views

Category:

Technology


6 download

DESCRIPTION

This is a presentation about jekyll and static-site generators in general. It discusses various use cases that justifies the use of such a tool, in between choosing plain HTML and a database-powered CMS.

TRANSCRIPT

Page 1: Introduction to Jekyll and Static-Site Generators

Static-site GeneratorsStatic-site GeneratorsJekyll to be specific…Jekyll to be specific…

Page 2: Introduction to Jekyll and Static-Site Generators

Who am I?Who am I?

• Ruben TanRuben Tan

• VP of EngineeringVP of Engineering

• OnApp KLOnApp KL

• Super Awesome HairSuper Awesome Hair

Page 3: Introduction to Jekyll and Static-Site Generators

DatabaseDatabaseDatabaseDatabase

Static-site GeneratorsStatic-site Generators

HTMLHTMLHTMLHTML

SSGSSGSSGSSG

MVCMVCFrameworkFramework

MVCMVCFrameworkFramework CMSCMSCMSCMS

CustomCustomWebappWebappCustomCustomWebappWebapp

Page 4: Introduction to Jekyll and Static-Site Generators
Page 5: Introduction to Jekyll and Static-Site Generators

MarkdownMarkdown# Heading 1# Heading 1

## Heading 2## Heading 2

### Heading 3### Heading 3

This is a **paragraph** with This is a **paragraph** with an _underline_an _underline_

* Bullet 1* Bullet 1* Bullet 2* Bullet 2

<h1>Heading 1</h1><h1>Heading 1</h1>

<h2>Heading 2</h2><h2>Heading 2</h2>

<h3>Heading 3</h3><h3>Heading 3</h3>

<p>This is a <p>This is a <strong>paragraph<strong> <strong>paragraph<strong> with an with an <em>underline</em></p><em>underline</em></p>

<ul><li>Bullet 1</li><ul><li>Bullet 1</li><li>Bullet 2</li></ul><li>Bullet 2</li></ul>

Page 6: Introduction to Jekyll and Static-Site Generators

Demo Time!Demo Time!

Page 7: Introduction to Jekyll and Static-Site Generators

Benefits of SSGsBenefits of SSGs

• Very very easy to kickstartVery very easy to kickstart

• Comes with powerful templating featuresComes with powerful templating features

• Highly customizableHighly customizable

• Very little need to dive into server-side code Very little need to dive into server-side code (PHP/Ruby/etc)(PHP/Ruby/etc)

• Can be used to prototype high-content websitesCan be used to prototype high-content websites

Page 8: Introduction to Jekyll and Static-Site Generators

When to use SSG?When to use SSG?

1.1. Markdown/textile works better than HTMLMarkdown/textile works better than HTML

2.2. You need some form of simple templatingYou need some form of simple templating

3.3. Your client doesn’t need to update content by Your client doesn’t need to update content by themselvesthemselves

4.4. You don’t need to perform complex data You don’t need to perform complex data operationsoperations

5.5. You kind of don’t really like UI control panelsYou kind of don’t really like UI control panels

Page 9: Introduction to Jekyll and Static-Site Generators

One more tool in your One more tool in your boxbox