A minimalistic website framework based on Padrino.
One step beyond to Sinatra, but far more lighter than Rails, Picciotto uses some Padrino's components to help you build hybrid static/dinamic websites. It's mainly composed by several opinionated tools used in everyday web development.
- Haml templating
- Sass stylesheets
- HTML5 Boilerplate layout (mostly ripped from compass-html5-boilerplate and compass)
- Rspec tests
- semi-static pages (renders static haml files)
Just clone this repo:
git clone git://github.com/apeacox/picciotto.git
Add semi-static pages
Picciotto spots support for semi-static pages out of the box, just add your HAML files under
So, if you put yourpage.html.haml, it will be rendered as:
Note: You can't put files under main/static's subdirectories (ex: app/views/main/static/some_subdir/yourfile.haml), or you'll get a 404 page.
By default, Picciotto has no database support because:
- Maybe you don't need it now, so it's better start with a bare minimum codebase
- If you need a db, then choose what really fits your needs, ORM included
Edit Gemfile and add more dependencies to your needs (ex. padrino-mailer, database support, cucumber, etc...)
Read Padrino's documentation if you want to extend Picciotto to your needs.