Video (in Spanish) http://youtu.be/bDchXm0avPk
Frontenders has almost two years, and also its website!. It is time to move from a static web to more updatable one.
For this we are going to use "Middleman", a static site generator. This talk is about the migration process and the advantages of using this kind of tools.
Tony Camaiani @tonycamaiani is Frontender at peerTransfer, co-founder & co-organizer of @frontendersVLC meetup.
4. Old Version
Static Html / Css
2 index.html
Copy index.html to past.html
Add talks slides
Css images for sponsors
Header and Footer duplicated
5.
6.
7.
8.
9. Why change?
Update content more easily
Separate content from markup
No css edits
Status of Event
HAML & SASS
Common Header and Footer
10. Static Site Generators
A static-site generator simply takes your pre-compiled (and pre-processed) languages like Haml, Jade,
Sass, LESS, Stylus, CoffeeScript, and others, and compiles them into the equivalent language that is
understood by the browser; HTML, CSS, and JavaScript, respectively.
http://drewbarontini.com/articles/middleman/
Middleman Jekyll Assemble.io
...
https://www.staticgen.com
CodeKit Hammer Mixture
...
11. Middleman
middlemanapp.com
Command-line tool for creating static websites, with Ruby and the Sinatra web framework.
ERb, Haml, Sass, CoffeeScript
Multiple asset management solutions, including Sprockets
Pretty URLs
LiveReload extension
CSS minification and Javascript compression
Support for numerous templating languages to simplify your HTML development, which will allow you
to add variables, call methods and use loops and 'if' statements.