World Library  
Flag as Inappropriate
Email this Article

Padrino (web framework)

Article Id: WHEBN0035152483
Reproduction Date:

Title: Padrino (web framework)  
Author: World Heritage Encyclopedia
Language: English
Subject: Sinatra (software), Merb, Camping (microframework), Ruby Document format, Ruby Central
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Padrino (web framework)

Padrino
Padrinologo
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 release 0.12.2 / 12 May 2014 (2014-05-12)
Written in Ruby
Operating system Cross-platform
Type Web application framework
License MIT License
Website .com.padrinorbwww

Padrino is an open source web application framework, written in Ruby and based on Sinatra.[1][2] It is an alternative to other Ruby web application 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 originally 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. Padrino, as of March 2013, has 7 developers that comprise the core development team.[3]

Features

This is a list of major functionality Padrino provides on top of Sinatra:[4]

  • 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 altogether for a comprehensive upgrade to Sinatra (a full-stack Padrino application).

See also

External links

  • Official Site
  • Padrino Core Team

References

  1. ^ http://www.rubyinside.com/padrino-sinatra-webapp-framework-3198.html
  2. ^ http://thechangelog.com/post/708173099/episode-0-2-7-padrino-ruby-web-framework
  3. ^ http://www.padrinorb.com/team
  4. ^ http://stackoverflow.com/tags/padrino/info


This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.