help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Iliad: sessions and streaming


From: Nicolas Petton
Subject: Re: [Help-smalltalk] Iliad: sessions and streaming
Date: Tue, 23 Jun 2009 01:18:05 +0200

Le mardi 23 juin 2009 à 00:26 +0200, Nicolas Petton a écrit :
> Le lundi 22 juin 2009 à 23:49 +0200, Joachim Jaeckel a écrit :
> > Thanks a lot Nicolas!
> > 
> > The session is correctly handled! :-)
> > 
> > Thanks again for your support!
> 
> You're welcome :)
> 
> > 
> > It's great. Everything is working!
> > 
> > Now I'll start with the datbase connection.
> > 
> > As I see it correctly, there is only one type of session for the whole 
> > vm, isn't it?
> 
> Yes, that's right.
> 
> > 
> > Do you think (currently it's not neccessary for me, but maybe for other 
> > installations...) it would be possible in the future, to configure a 
> > session class for a specific application?
> 
> It's not planned. The main reason is that the Session class itself can
> be extended with the #preference* methods. Another reason is that I
> don't need it ;)
> 
> But now that you ask, I think this could be a preference of Application,
> so each application could set a special session class if needed.

Obviously, I said that without thinking. 

In fact, Iliad is kind of designed to run one app at the time (per vm),
similar to RubyOnRails (even if it's not completely true).

That's how I always deployed my web apps, so it was natural for me to
make Iliad work this way.

Of course you can have several apps, as there are several examples
running when you load Iliad-More-Examples package, but for instance they
share the same Public directory.

The problem is that you may want to use different applications, with
different paths, for a given web app. Let's say you have an app for user
management, and another one for something else. In this scenario, you
want to keep your session when going from one app to the another one, so
you can't set different session classes for each app.

Cheers!

Nico

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


reply via email to

[Prev in Thread] Current Thread [Next in Thread]