All Projects → raggi → Async_sinatra

raggi / Async_sinatra

A plugin for Sinatra to provide a DSL extension for using Thin for asynchronous responses

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Async sinatra

Bugsnag Ruby
Bugsnag error monitoring & reporting software for rails, sinatra, rack and ruby
Stars: ✭ 211 (-51.38%)
Mutual labels:  sinatra, rack
Sham rack
run Rack applications in-process, without a server
Stars: ✭ 169 (-61.06%)
Mutual labels:  sinatra, rack
Ferrocarril
🚆 Experiments to embed Ruby on Rails in Rust with mruby
Stars: ✭ 66 (-84.79%)
Mutual labels:  sinatra, rack
rack-simple user agent
Rack::SimpleUserAgent is stupidly simple UA detector
Stars: ✭ 13 (-97%)
Mutual labels:  rack, sinatra
rack-cargo
🚚 Batch requests for Rack apps (works with Rails, Sinatra, etc)
Stars: ✭ 17 (-96.08%)
Mutual labels:  rack, sinatra
Rack Reducer
Declaratively filter data via URL params, in any Rack app, with any ORM.
Stars: ✭ 241 (-44.47%)
Mutual labels:  sinatra, rack
Sinatra
Classy web-development dressed in a DSL (official / canonical repo)
Stars: ✭ 11,497 (+2549.08%)
Mutual labels:  sinatra, rack
Rackula
Generate a static site from any rack middleware.
Stars: ✭ 49 (-88.71%)
Mutual labels:  async, rack
encrypted cookie
AES-128 encrypted session cookies for Rack (and Sinatra and other frameworks).
Stars: ✭ 54 (-87.56%)
Mutual labels:  rack, sinatra
serverless-rack
Serverless plugin to deploy Ruby Rack applications (Sinatra/Rails/Padrino/Cuba etc.) and bundle gems
Stars: ✭ 58 (-86.64%)
Mutual labels:  rack, sinatra
Many requests
Dead easy interface for executing many HTTP requests asynchronously. Also provides helper functions for executing embarrassingly parallel async coroutines.
Stars: ✭ 384 (-11.52%)
Mutual labels:  async
Ntex
framework for composable networking services
Stars: ✭ 381 (-12.21%)
Mutual labels:  async
Irc
the irc crate – usable, async IRC for Rust
Stars: ✭ 409 (-5.76%)
Mutual labels:  async
Quill
Asynchronous Low Latency C++ Logging Library
Stars: ✭ 422 (-2.76%)
Mutual labels:  async
Ava
Node.js test runner that lets you develop with confidence 🚀
Stars: ✭ 19,458 (+4383.41%)
Mutual labels:  async
React Social Network
Simple React Social Network
Stars: ✭ 409 (-5.76%)
Mutual labels:  async
React Query
⚛️ Hooks for fetching, caching and updating asynchronous data in React
Stars: ✭ 24,427 (+5528.34%)
Mutual labels:  async
Sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL.
Stars: ✭ 5,039 (+1061.06%)
Mutual labels:  async
Transmittable Thread Local
📌 TransmittableThreadLocal (TTL), the missing Java™ std lib(simple & 0-dependency) for framework/middleware, provide an enhanced InheritableThreadLocal that transmits values between threads even using thread pooling components.
Stars: ✭ 4,678 (+977.88%)
Mutual labels:  async
Asks
Async requests-like httplib for python.
Stars: ✭ 429 (-1.15%)
Mutual labels:  async

= async_sinatra

http://github.com/raggi/async_sinatra

== DESCRIPTION:

A Sinatra plugin to provide convenience whilst performing asynchronous responses inside of the Sinatra framework running under async webservers.

To properly utilise this package, some knowledge of EventMachine and/or asynchronous patterns is recommended.

Currently, supporting servers include:

  • Thin
  • Rainbows
  • Zbatery

== SYNOPSIS:

A quick example:

require 'sinatra/async'

class AsyncTest < Sinatra::Base register Sinatra::Async

aget '/' do body "hello async" end

aget '/delay/:n' do |n| EM.add_timer(n.to_i) { body { "delayed for #{n} seconds" } } end

end

See Sinatra::Async for more details.

== REQUIREMENTS:

  • Sinatra (>= 1.3.2)
  • An async webserver

== INSTALL:

  • gem install async_sinatra

== LICENSE:

(The MIT License)

Copyright (c) 2009 James Tucker

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].