Watch our Blog Tutorial Screencast - Padrino Ruby Web Framework

The Elegant Ruby Web Framework

Padrino Ruby Framework
gem install padrino
padrino g project myapp -d datamapper -b
cd myapp
padrino g admin
padrino rake dm:migrate seed
padrino start
Padrino Admin

Padrino Admin is an easy way to manage your data!

Dashboard Page Index Page


Padrino is a ruby framework built upon the Sinatra web library. Sinatra is a DSL for creating simple web applications in Ruby. Padrino was created to make it fun and easy to code more advanced web applications while still adhering to the spirit that makes Sinatra great!



Many people love the simplicity and expressiveness of Sinatra but quickly come to miss a great deal of functionality provided by other web frameworks such as Rails when building non-trivial applications.

Our goal with Padrino is to stay true to the core principles of Sinatra while at the same time creating a standard library of tools, helpers and functions that will make Sinatra suitable for increasingly complex applications.


Here is a list of the major functionality Padrino provides on top of Sinatra:

Agnostic: Full support for many popular testing, templating, mocking, and database libraries.
Generators: Create Padrino applications, models, controllers i.e: padrino g project.
Mountable: Unlike other ruby frameworks, principally designed for mounting multiple apps.
Routing: Full url named routes, named params, respond_to support, before/after filter support.
Tag Helpers: View helpers such as: tag, content_tag, input_tag.
Asset Helpers: View helpers such as: link_to, image_tag.
Form Helpers: Builder support such as: form_tag, form_for, field_set_tag.
Text Helpers: Useful formatting like: relative_time_ago, js_escape_html.
Mailer: Fast and simple delivery support for sending emails (akin to ActionMailer).
Caching: Simple route and fragment caching to easily speed up your web requests.
Admin: Built-in admin interface (akin to Django) with authentication.
Logging: Provide a unified logger that can interact with your ORM or any library.
Reloading: Automatically reloads server code during development.
Localization: Full support for I18n localization.