<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Aran,<br>
did you look at <span>Plack::Session if you want something decoupled from Catalyst?<br>
I haven't used it so far as I don't require sessions that are shared with non-Catalyst stuff but it might be a better base for a futureproof session module.<br>
</span><br>
<div class="moz-cite-prefix">On 2015-07-09 02:17, Aran Deltac wrote:<br>
</div>
<blockquote cite="mid:CAL5V4pGZXLoEgMD5NPQccvLXauf9yBadCcebegAhW9q013_VoA@mail.gmail.com" type="cite">
<div dir="ltr">Hey guys,
<div><br>
</div>
<div>I've been working on a project which is a (mostly) drop in replacement for Catalyst::Plugin::Session.&nbsp; Here are the GitHub repos:</div>
<div><br>
</div>
<div>
<div><a moz-do-not-send="true" href="https://github.com/bluefeet/Web-Starch">https://github.com/bluefeet/Web-Starch</a></div>
<div><a moz-do-not-send="true" href="https://github.com/bluefeet/Web-Starch-Store-CHI">https://github.com/bluefeet/Web-Starch-Store-CHI</a></div>
<div><a moz-do-not-send="true" href="https://github.com/bluefeet/Web-Starch-Store-AmazonDynamoDB">https://github.com/bluefeet/Web-Starch-Store-AmazonDynamoDB</a></div>
<div><a moz-do-not-send="true" href="https://github.com/bluefeet/Web-Starch-Plugin-Sereal">https://github.com/bluefeet/Web-Starch-Plugin-Sereal</a></div>
<div><a moz-do-not-send="true" href="https://github.com/bluefeet/Catalyst-Plugin-Starch">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 moz-do-not-send="true" href="https://github.com/bluefeet/Web-Starch/blob/master/lib/Web/Starch/Manual.pod">https://github.com/bluefeet/Web-Starch/blob/master/lib/Web/Starch/Manual.pod</a><br>
</div>
<div><br>
</div>
<div>I'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've not put these modules on CPAN yet as I'd love some feedback before I do so.&nbsp; I want to make sure the module names, the interfaces, and just the entire design are acceptable to people.&nbsp; I want this to be a real step forward.</div>
<div><br>
</div>
<div>@work we've made extensive use of Catalyst::Plugin::Sesssion for years now, and related modules such as Catalyst::Plugin::Authentication.&nbsp; 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.&nbsp; This is unnecessary.&nbsp; Catalyst should be used to glue things together, not as a platform to build whole technologies on.&nbsp; 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.&nbsp; 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 class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
List: <a class="moz-txt-link-abbreviated" href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a>
Listinfo: <a class="moz-txt-link-freetext" href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a>
Searchable archive: <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a>
Dev site: <a class="moz-txt-link-freetext" href="http://dev.catalyst.perl.org/">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>
</body>
</html>