<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&lt;&lt;&lt;<br>
On Wed, Jun 18, 2014 at 8:11 PM, Andy Burnett<br>
&lt;<a href="mailto:andy.burnett@knowinnovation.com">andy.burnett@knowinnovation.com</a>&gt; wrote:<br>
&gt;<br>
&gt; ᐧ<br>
&gt; &lt;&lt;<br>
&gt;&gt;<br>
&gt;&gt; &gt; I believe (if I remember correctly), that the app (vaguely) described here<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;   <a href="http://forum.world.st/Another-Pharo-based-solution-released-td4762341.html" target="_blank">http://forum.world.st/Another-Pharo-based-solution-released-td4762341.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; is also using web sockets. But you should ask.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; It is perfectly possible to combine Seaside with other servers/services in the same or different images. But this is a broad subject.<br>
&gt;&gt;<br>
&gt;&gt; Correct. Implement the real time part in Zinc and let the other things<br>
&gt;&gt; go through to the Seaside adapter.<br>
&gt;&gt;<br>
&gt;&gt; Cheers<br>
&gt;&gt; Philippe<br>
&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt;<br>
&gt; Thanks guys. I want to be absolutely clear about your advice - partly for my benefit, but also for people who might search for these answers.<br>
&gt;<br>
&gt; If we take the example of creating a real time things to do list.<br>
&gt;<br>
&gt; Seaside could be appropriate for creating e.g. the login system, account management, reporting etc. Basically, anything that doesn&#39;t need to be updated in real time, and shared between users synchronously<br>
&gt; The real time components would be handled by Zinc, and integrated into the overall application.<br>
<br>
Correct.<br>
<br>
&gt; If I have got that right, this poses some other questions:<br>
&gt;<br>
&gt; How does one handle session management and authentication between the two elements. For example. I login to the Seaside session on port 80, and navigate to the real time url. Let&#39;s assume Zinc is running on port 3000.  Is there any - built-in - way for the Zinc server to know that I am authenticated already? Or, do I have to roll my own approach?<br>

<br>
I would run both on the same port. Remember Seaside is not a web<br>
server, Zinc is. Zinc does it&#39;s thing first and the delegates to<br>
Seaside. For the real time parts you would simply implement them in<br>
Zinc an then not delegate to seaside.<br>
I would try to avoid dependencies on seaside sessions from the<br>
realtime part. Instead I would depend only on domain objects. You may<br>
need a &quot;message bus&quot; between the parts.<br>
<br>
Cheers<br>
Philippe<br>
&gt;&gt;&gt;<br>
<br></blockquote><div><br></div><div>Thanks everyone.</div><div><br></div><div>Philippe, I hadn&#39;t quite understood the relationship between Zinc and Seaside, so that is a useful observation. I might try splitting things the way you suggest.</div>
<div><br></div><div>Cheers</div><div>Andy </div></div></div></div>