[dancer-users] Proposal: rename Dancer::Session::* to Dancer::SessionFactory::*
David Golden
xdg at xdg.me
Fri Jan 4 17:20:28 GMT 2013
On reflection, I think that it would be wise to rename session factory
modules away from "Dancer::Session::*".
E.g. Dancer::SessionFactory::YAML instead of Dancer::Session::YAML
Sessions work so differently on D2, that existing Dancer::Session
plugins are effectively going to be re-written. Managing
Dancer::Session::* plugins outside of the core in a way that works
with both D1 and D2 is going to be a PITA.
If instead, Dancer::Session::* are D1 session plugins and
Dancer::SessionFactory::* are D2 session plugins, then things will be
quite a bit easier. Existing D1 plugins can stagnate and new D2
plugins can be created.
Users migrating from D1 to D2 just need to install the corresponding
Dancer::SessionFactory::* (and update their config for the new config
structure for sessions), and everything should work fine.
David
--
David Golden <xdg at xdg.me>
Take back your inbox! → http://www.bunchmail.com/
Twitter/IRC: @xdg
More information about the dancer-users
mailing list