1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/sinatra-contrib/ideas.md

30 lines
991 B
Markdown
Raw Permalink Normal View History

2011-03-29 04:05:22 -04:00
* Extension that does something like this:
def build(*)
if settings.memcached?
use Rack::Cache, :backend => :memcached
use Rack::Session::Memcached
# ...
end
super
end
* `sinatra-smart-cache`: update cache header only if arguments are more
restrictive than curent value, set caching headers that way for most helper
2022-03-11 14:49:46 -05:00
methods (i.e. `send_file`)
2011-03-29 04:05:22 -04:00
* Some verbose logging extension: Log what filters, routes, error handlers,
templates, and so on is used.
* Form helpers, with forms as first class objects that accepts hashes or
something, so the form meta data can also be used to expose a JSON API or
similar, possibly defining routes (like "Sinatra's Hat"), strictly using
the ActiveModel API.
* Extend `sinatra-content-for` to support Liquid, Radius, Markaby, Nokogiri and
Builder. At least the first two probably involve patching Tilt.
2011-05-09 02:36:48 -04:00
* Rewrite of `sinatra-compass`?
2022-03-11 14:49:46 -05:00
* Helpers for HTML escaping and such.