[Seaside] Using Clean URLs
avishefi at gmail.com
Wed Mar 9 06:44:00 UTC 2011
Phillipe - Providing clean URLs doesn't have to mean that there are no
sessions, callbacks and continuations. A possible change would encode the _s
and _k params inside each page using hidden fields, therefore maintaining
the same abilities regardless of how the URL looks like. Obviously this is
not currently supported on Seaside, but still I would like to read your
opinion about making this possible.
Any other approaches to this?
On Tue, Mar 8, 2011 at 9:11 PM, Ramon Leon <ramon.leon at allresnet.com> wrote:
> On 03/08/2011 08:58 AM, Philippe Marschall wrote:
>> I think the issue would be better summarized as "Seaside without
>> sessions, callbacks and continuations". The use case in both cases
>> seems to be similar. Having the ability to run without sessions and
>> callbacks for some simple navigational landing pages and then some
>> time later have sessions, callbacks and continuations kick in.
> The approach from my blog, which I borrowed from CMSBox, and modified
> slightly to not create a new instance of the root component on each hit,
> does use Sessions, and maintains a single session for the duration; it's
> just in the cookie rather than the URL.
> It just doesn't use callbacks for navigation most of the time, I generate
> anchors with URL's that are parsed by the root component on each hit to load
> the correct content. But you can use callbacks whenever you want as it does
> in the pagers in the search results.
> Ramon Leon
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside