Padrino is a
free and open-source
Free and open-source software (FOSS) is a term used to refer to groups of software consisting of both free software and open-source software where anyone is freely licensed to use, copy, study, and change the software in any way, and the source ...
web framework
A web framework (WF) or web application framework (WAF) is a software framework that is designed to support the development of web applications including web services, web resources, and web APIs. Web frameworks provide a standard way to build and ...
, written in
Ruby
A ruby is a pinkish red to blood-red colored gemstone, a variety of the mineral corundum ( aluminium oxide). Ruby is one of the most popular traditional jewelry gems and is very durable. Other varieties of gem-quality corundum are called sa ...
and based on
Sinatra. It is an alternative to other Ruby web frameworks such as
Ruby on Rails
Ruby on Rails (simplified as Rails) is a server-side web application framework written in Ruby under the MIT License. Rails is a model–view–controller (MVC) framework, providing default structures for a database, a web service, and web p ...
,
Merb
Merb is a discontinued model–view–controller web framework in Ruby, notable as a precursor to Rails 3. It brought increased focus on speed and modularity to Rails 3. The name Merb is a contraction of "Mongrel" and "Erb".
Precursor to and m ...
,
Nitro
Nitro may refer to:
Chemistry
*Nitrogen, a chemical element and a gas except at very low temperatures, with which many compounds are formed:
**Nitro compound, an organic compound containing one or more nitro functional groups, -NO2
**Nitroalkene, ...
and
Camping
Camping is an outdoor activity involving overnight stays away from home, either without shelter or using basic shelter such as a tent, or a recreational vehicle. Typically, participants leave developed areas to spend time outdoors in more nat ...
. It is dependent on the
Rack
Rack or racks may refer to:
Storage and installation
* Amp rack, short for amplifier rack, a piece of furniture in which amplifiers are mounted
* Bicycle rack, a frame for storing bicycles when not in use
* Bustle rack, a type of storage bin ...
web server interface.
Padrino was created and open-sourced in 2010. The framework was created by Nathan Esquenazi, Davide D'Agostino and Arthur Chiu based on the prio
sinatra_moregem. The framework was created in order to extend Sinatra to more easily support rich web applications.
Features
This 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: Built-in 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 together for a comprehensive upgrade to Sinatra (a full-stack Padrino application).
See also
*
Ruby on Rails
Ruby on Rails (simplified as Rails) is a server-side web application framework written in Ruby under the MIT License. Rails is a model–view–controller (MVC) framework, providing default structures for a database, a web service, and web p ...
References
External links
*
Padrino Core Team
Free software programmed in Ruby
Web frameworks
Software using the MIT license
{{web-software-stub