Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Hamlit | 976 | 1,804 | 14 | 4 months ago | 117 | February 03, 2022 | other | Ruby | ||
High Performance Haml Implementation | ||||||||||
Sinatra Partial | 105 | 754 | 21 | 6 years ago | 11 | July 28, 2017 | 3 | other | Ruby | |
Just the partials helper in a gem. That is all. | ||||||||||
Sinatra Prawn | 46 | 2 | 12 years ago | 3 | August 10, 2014 | 5 | mit | Ruby | ||
Sinatra extension to add support for pdf rendering with Prawn templates. | ||||||||||
React Sinatra | 37 | 5 years ago | 2 | January 19, 2017 | 1 | mit | Ruby | |||
React on Sinatra Integration, Server Side Rendering | ||||||||||
Tilt Jbuilder | 22 | 462 | 6 | 6 years ago | 12 | January 30, 2016 | 3 | mit | Ruby | |
Support for rendering Jbuilder templates in Tilt | ||||||||||
Sinatra Markaby | 9 | 14 years ago | 3 | August 10, 2014 | 1 | mit | Ruby | |||
Sinatra plugin to enable markaby (.mab) template rendering | ||||||||||
Cells Sinatra | 9 | 13 years ago | Ruby | |||||||
View Components for Sinatra. | ||||||||||
Ruby Oc | 5 | 3 | 1 | 7 years ago | 5 | November 10, 2015 | 2 | mit | Ruby | |
OpenComponents for Ruby | ||||||||||
Tumblr Dashboard Rss Sinatra App | 5 | 12 years ago | Ruby | |||||||
Sinatra application for rendering tumblr dashboard rss | ||||||||||
Chuck Renderer | 4 | 6 years ago | 2 | gpl-3.0 | CSS | |||||
Docker image for ChucK rendering as a service |
View Components for Sinatra
Cells are object-oriented view components for your MVC-apps. They provide a decent way for encapsulating logic and rendering - thus helping in creating reusable widgets.
For a detailed discussion on cells see github.com/apotonick/cells
Rendering cells in your Sinatra app is easy.
require 'cells-sinatra' MyApp < Sinatra::Base helpers Cells::Sinatra get "/" do @top_posts = render_cell(:post, :top10) # ... do more end
Copyright © 2010, Nick Sutterer
Released under the MIT License.