Blast off with Grav
The Dynamic Flat-file CMS
Finding Balance
DB Backed
- Great Administration interface
- Live production editing
- User permissions
- Password protected areas
- Personalization
- Web forms
- User submitted content
- WYSIWYG Editors
Flat-file Generated
- Content tied to functionality
- Content Deployment
- Configuration Deployment
- Speed & Scale
- Secure
- Fewer server dependencies
- More exact content entry
(no copy/paste from Word fail)
CMS Benefits
- Only requirement is PHP 5.5.9+ and a web server
- Content is dynamically rendered
- Content is all in Markdown or HTML
- Configuration is all in YAML
- Twig templates
- CLI for common tasks
- Sub 100ms page loads
-
Impressive Admin UI (Optional)
- User Logins
- Production Content Entry
- Production Configuration Changes
- Markdown editor
- Module installation and upgrades
- Self upgrades
- Core, Admin, and Skeleton Installs
Anatomy of Grav Content
Content Architecture
/user/pages/01.blog/2014-11-30.pomade-bar/item.md
/user/pages/01.resume/default.md
content base path
page path
template name
YAML Frontmatter
Markdown Content
Using Frontmatter in Templates
---
title: Pomade/Hair Styling Bar
date: 11/30/2014
taxonomy:
category: blog
tag: [personal care, hair style, recipe]
description: "In the past I've used traditional spreadable pomade..."
slug: 2014/11/pomadehair-styling-bar
custom_data: "My Custom Data"
---
{{ page.title }}
{{ page.date }}
{{ page.taxonomy.category }}
{{ page.taxonomy.tag }}
{{ page.description }}
{{ page.slug }}
{{ page.header.custom_data }}
Addition Content Types
- Blog List
- Modular
- Custom!
Demo Time
Resources
- Grav Homepage - https://getgrav.org/
- Documentation - http://learn.getgrav.org/
- Forum - https://getgrav.org/forum
- Chat - https://gitter.im/getgrav/grav
Blast off with Grav
By akoebbe
Blast off with Grav
Blast off with Grav The Dynamic Flat-file CMS
- 2,471