Took a while but I finally had a look here. A few notes:
- It's not immediately obvious to me what the example really tries to
achieve. Are you attempting to decouple from `S`?
- Lift itself provides dependency injection out of the box with `FactoryMaker`
and `Injector`, one of which allows you to inject things by request/session
and the latter of which allows generalized dependency injection and stack-
limited customization of an injected variable.
- That said, I get that some may prefer to use some other framework they're
more familiar with. I dig that possibility, and to that end I'd ask what you think
Lift could do to make that easier to be implemented externally to the core.
Can you maybe lay out an explanation of which bits of Lift's internals you felt
needed to change in order to let you achieve this, and why?
Thanks for sharing!
Antonio