Misplaced Pages

Padrino (web framework)

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Ruby web framework
Padrino
Padrino logo
Original author(s)Nathan Esquenazi, Davide D'Agostino, Arthur Chiu, Joshua Hull
Developer(s)Nathan Esquenazi, Davide D'Agostino, Arthur Chiu, Joshua Hull, Uchio Kondo, Darío Javier Cravero, Florian Gilcher
Stable release0.15.3 Edit this on Wikidata / 25 February 2023; 22 months ago (25 February 2023)
RepositoryPadrino Repository
Written inRuby
Operating systemCross-platform
TypeWeb framework
LicenseMIT License
Websitewww.padrinorb.com Edit this at Wikidata

Padrino is a free and open-source web framework, written in Ruby and based on Sinatra. It is an alternative to other Ruby web frameworks such as Ruby on Rails, Merb, Nitro and Camping. It is dependent on the Rack 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 prior sinatra_more gem. 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

References

  1. "Release 0.15.3". 25 February 2023. Retrieved 25 March 2023.
  2. "Padrino: A Webapp Framework Wrapped Around Sinatra".
  3. "#27: Padrino Ruby Web Framework - Changelog". changelog.com. Archived from the original on 2016-10-04.
  4. "'padrino' tag wiki".

External links

Ruby programming language
Implementations
Active
Discontinued
IDE
Applications
Libraries and frameworks
Server software
People
Other
Web frameworks
.NET
C++
ColdFusion
Common Lisp
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Rust
Scala
Smalltalk
Other languages


Stub icon

This Web-software-related article is a stub. You can help Misplaced Pages by expanding it.

Categories: