All-in-one tool to build, deploy and manage a website
ex: Wordpress, Drupal, Joomla
In no specific order :
It boils down to one thing :
A simple equation :
Layouts (HTML + CSS + Templating language)
Final HTML output
In DocPad, content is represented as Backbone Models and Collections during the render process.
QueryEngine supports NoSQL queries. Cool.
Display posts title sorted by date (code in eco)
<% for post in @database.findAll(layout: 'post').sortArray(date:-1) : %><%= post.title %><% end %>
Documents rendered based on extensions :
Example from this presentation's default.html.eco
<title><%= @document.title %> | <%= @site.name %></title>
This works too :
Possibilities are endless
Let's view this presentation's code !
Paris.js for hosting the event
Benjamin Lupton for creating DocPad
Drupal and its community for teaching me a lot about CMS
Impress.js, the tool used to create this presentation
GrandChaos600 for the That's all Folks font (next slide)
Warner Bros for the Looney Toons image (next slide)
This presentation is available here : https://github.com/DjebbZ/docpad-paris-js