corejs/corejs — Issue #63: Additional bootstrap enhancements
Author: derdesign
Created: 2012-02-12 21:01:28+00:00
State: open
Labels: enhancement

- Ability to run environment-specific code directly from bootstrap.

```javascript
environment: {
default: 'development',
development: function() {},
production: function() {},
debug: function() {}
}
```

- Ability to enable middleware from bootstrap:

```javascript
middleware: {
session: {storage: 'redis', guestSessions: true},
response_cache: {storage: 'redis'}
}
```