<div dir="ltr">Ya, I have Plack::Middleware::Session listed in the alternatives section of the manual.  Thanks for the reply!<br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jul 9, 2015 at 7:14 AM Hartmaier Alexander &lt;<a href="mailto:alexander.hartmaier@t-systems.at">alexander.hartmaier@t-systems.at</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div bgcolor="#FFFFFF" text="#000000">
Hi Aran,<br>
did you look at <span>Plack::Session if you want something decoupled from Catalyst?<br>
I haven&#39;t used it so far as I don&#39;t require sessions that are shared with non-Catalyst stuff but it might be a better base for a futureproof session module.<br>
</span></div><div bgcolor="#FFFFFF" text="#000000"><br>
<div>On 2015-07-09 02:17, Aran Deltac wrote:<br>
</div>
</div><div bgcolor="#FFFFFF" text="#000000"><blockquote type="cite">
<div dir="ltr">Hey guys,
<div><br>
</div>
<div>I&#39;ve been working on a project which is a (mostly) drop in replacement for Catalyst::Plugin::Session.  Here are the GitHub repos:</div>
<div><br>
</div>
<div>
<div><a href="https://github.com/bluefeet/Web-Starch" target="_blank">https://github.com/bluefeet/Web-Starch</a></div>
<div><a href="https://github.com/bluefeet/Web-Starch-Store-CHI" target="_blank">https://github.com/bluefeet/Web-Starch-Store-CHI</a></div>
<div><a href="https://github.com/bluefeet/Web-Starch-Store-AmazonDynamoDB" target="_blank">https://github.com/bluefeet/Web-Starch-Store-AmazonDynamoDB</a></div>
<div><a href="https://github.com/bluefeet/Web-Starch-Plugin-Sereal" target="_blank">https://github.com/bluefeet/Web-Starch-Plugin-Sereal</a></div>
<div><a href="https://github.com/bluefeet/Catalyst-Plugin-Starch" target="_blank">https://github.com/bluefeet/Catalyst-Plugin-Starch</a></div>
</div>
<div><br>
</div>
<div>The manual is a good place to start:</div>
<div><br>
</div>
<div><a href="https://github.com/bluefeet/Web-Starch/blob/master/lib/Web/Starch/Manual.pod" target="_blank">https://github.com/bluefeet/Web-Starch/blob/master/lib/Web/Starch/Manual.pod</a><br>
</div>
<div><br>
</div>
<div>I&#39;m using this @work and will be deploying it to production, replacing Catalyst::Plugin::Session, sometime next week if all goes well this week.</div>
<div><br>
</div>
<div>I&#39;ve not put these modules on CPAN yet as I&#39;d love some feedback before I do so.  I want to make sure the module names, the interfaces, and just the entire design are acceptable to people.  I want this to be a real step forward.</div>
<div><br>
</div>
<div>@work we&#39;ve made extensive use of Catalyst::Plugin::Sesssion for years now, and related modules such as Catalyst::Plugin::Authentication.  So far everything has &quot;just worked&quot; when I replaced Catalyst::Plugin::Session with Catalyst::Plugin::Starch.</div>
<div><br>
</div>
<div>Why do this?</div>
<div>
<ul>
<li>Catalyst::Plugin::Session (C:P:S) is slower in NYTProf reports than I would expect it to be.
</li><li>C:P:S is tied into Catalyst.  This is unnecessary.  Catalyst should be used to glue things together, not as a platform to build whole technologies on.  By decoupling sessions from Catalyst many wins can be had in reusability and unit testing (etc?).
</li><li>C:P:S can be difficult and messy to extend.  This is partly due to how Catalyst plugins work, but also due to the design of C:P:S.
</li></ul>
</div>
<div>Aran<br>
</div>
</div>
<br>
<fieldset></fieldset> <br>
</blockquote></div><div bgcolor="#FFFFFF" text="#000000"><blockquote type="cite"><pre>_______________________________________________
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a>
</pre>
</blockquote>
<br>
<br>
<font face="Verdana" color="Purple" size="2"><br>
*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*<br>
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien<br>
Handelsgericht Wien, FN 79340b<br>
*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*<br>
Notice: This e-mail contains information that is confidential and may be privileged.<br>
If you are not the intended recipient, please notify the sender and then<br>
delete this e-mail immediately.<br>
*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*&quot;*<br>
</font>
</div>

_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br>
</blockquote></div>