-
Notifications
You must be signed in to change notification settings - Fork 508
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 tries hard to make it as fun and easy as possible to code much more advanced web applications by building upon the Sinatra philosophies and foundation.
Here is a list of major functionality Padrino provides on top of Sinatra:
Agnostic | Full support for many popular testing, templating, mocking, and data storage choices. |
Generators | Create Padrino applications, models, controllers i.e: padrino-gen 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 | Ajax admin that displays your data records in sortable grids, tree, windows. |
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 language localization and can auto-set user’s locale. |
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.
Padrino consists of multiple components which enhance Sinatra in a wide variety of ways. Each component is described in detail below:
- Installation
- Getting Started
- Generators
- Application Helpers
- Controllers and Routing
- Development and Terminal Commands
- Mounting Sub-applications
- Delivering Mail
- Admin and Authentication
- Site Caching
Read about why we chose to develop a framework on top of Sinatra.
At the moment Padrino is not quite ready for production, but version 1.0.0 will be ready so please help us by contributing and testing!
Official website | http://padrino.github.com |
RDoc | http://padrino.github.com/api |
http://www.twitter.com/padrinorb |