📜 ⬆️ ⬇️

Padrino - The Elegant Ruby Web Framework

image
Padrino (Godfather, translated from Italian) is a new ruby ​​framework written on the basis of Sinatra (DSL, designed to quickly create simple web applications). From myself I can say that this is a framework that combines the convenient functionality of Rails and the simplicity and speed of Sinatra.

Main features (missing in Sinatra):



To this you can add another excellent speed :


  # Rendering a string inline
   Merb 1.1.0 => 1749.97 rps
   Padrino 0.9.10 => 1629.15 rps
   Sinatra 1.0.0 => 1537.78 rps
   Rails 3.beta3 => 381.76 rps
   Ramaze 2010.04.04 => 270.08 rps

   # Rendering a basic erb template
   Merb 1.1.0 => 1490.8 rps
   Padrino 0.9.10 => 1416.84 rps
   Sinatra 1.0.0 => 1157.89 rps
   Rails 3.0.beta3 => 330.58 rps
   Ramaze 2010.04.04 => 254.23 rps

   # Rendering a simulated simple app
   Padrino 0.9.10 => 675.79 rps
   Sinatra 1.0.0 => 652.0 rps  
   Merb 1.1.0 => 642.29 rps
   Rails 3.0.beta3 => 201.86 rps
   Ramaze 2010.04.04 => 130.62 rps

Screencast:


Traditionally writing a blog.


Interested persons should proceed to the official website of the project.

')

Source: https://habr.com/ru/post/94911/


All Articles