Proposal: rename Dancer::Session::* to Dancer::SessionFactory::*
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@xdg.me> Take back your inbox! → http://www.bunchmail.com/ Twitter/IRC: @xdg
On Fri, Jan 4, 2013 at 12:20 PM, David Golden <xdg@xdg.me> wrote:
On reflection, I think that it would be wise to rename session factory modules away from "Dancer::Session::*".
Implemented here: https://github.com/PerlDancer/Dancer2/pull/145 -- David Golden <xdg@xdg.me> Take back your inbox! → http://www.bunchmail.com/ Twitter/IRC: @xdg
participants (1)
-
David Golden