Watch our Blog Tutorial Screencast - Padrino Ruby Web Framework

Home

Padrino is a ruby framework built upon the excellent Sinatra Microframework. Sinatra is a DSL for creating simple web applications in Ruby with speed and minimal effort. This framework makes it as fun and easy as possible to code increasingly advanced web applications by expanding upon Sinatra while maintaining the spirit that made it great.

 

Features

Here is a list of 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, javascript_include_tag.
Form Helpers: Builder support such as: form_tag, form_for, field_set_tag, text_field.
Text Helpers: Useful formatting like: relative_time_ago, js_escape_html, sanitize_html.
Mailer: Fast and simple delivery support for sending emails (akin to ActionMailer).
Admin: Builtin Admin interface (like Django).
Logging: Provide a unified logger that can interact with your ORM or any library.
Reloading: Automatically reloads server code during development.
Localization: Full support of I18n

Note that as a user of Padrino, each of the major components can be pulled in separately to an existing Sinatra application or they can be used altogether for a comprehensive upgrade to Sinatra (a full-stack Padrino application). To read more about registering certain Padrino functionality into your Sinatra application, check out the Standalone Usage in Sinatra guide.

 

Guides

Padrino consists of multiple components which enhance Sinatra in a wide variety of ways. Each component is described in detail below:

blog comments powered by Disqus

Chapters

Guides Index

Info

  • Last edited by DAddYE
  • Edited 2 months ago
  • 0 Comments