Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.
2012-05-30 @ParisJS
by DjebbZ
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)
+
Content
=
Final HTML output
In DocPad, content is represented as Backbone Models and Collections during the render process.
Query-Engine provides extensive Querying, Filtering, and Searching abilities for Backbone.js Collections as well as JavaScript arrays and objects
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 !
Check-list :
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