Top "Middleware" questions

Middleware is computer software that provides services to software applications beyond those available from the operating system.

Where do you put your Rack middleware files and requires?

I'm in the process of refactoring some logic built into a Rails application into middleware, and one annoyance I've run …

ruby-on-rails conventions rack middleware
What is the "env" variable in Rack middleware?

I know a Rack middleware filter is a Ruby class with an initialize and a call method. I know the …

ruby-on-rails rack middleware
Laravel 5 Function () not found

I'm putting together a site which has a protected section where users must be logged in to access. I've done …

php laravel middleware laravel-routing laravel-5
How to hold messages in JMS Message Queue if there are any error after consuming the message?

My scenario is - I post message in to queue and once message is consumed I am sending it to …

java jms message-queue middleware
npm express "hello world" middleware error

node --version v0.10.26 npm --version 1.4.3 I followed this: http://expressjs.com/guide.html which has this code var express = require(…

node.js express middleware
React-Redux and Websockets with socket.io

I'm new with that technology React-Redux and I would like your help with some implementation. I want to implement one …

reactjs socket.io redux middleware
How can I use body-parser with LoopBack?

I see that LoopBack has the Express 3.x middleware built-in. Indeed, body-parser is in loopback/node_modules. But I cannot …

node.js express middleware loopbackjs body-parser
Access "app" variable inside of ExpressJS/ConnectJS middleware?

This may not me be the right approach, but I want to conditionally add an object/parameter to the app …

node.js express middleware
Non-global middleware in Django

In Django there is a settings file that defines the middleware to be run on each request. This middleware setting …

python django middleware django-middleware
Get ordered list of middleware in a generic rack application?

The functionality I am looking for is similar to the rake middleware command in Rails, except for a generic rack …

ruby rake rack middleware