[Seaside] Multiple entry point best practices
cnantais at gmail.com
Mon Sep 18 21:23:14 UTC 2006
I'm building an application that will have different entry points. It
will be structured like this:
This will allow users to bookmark, say, a photo with a url like
I need all four to share the same application header, footer, and
session so that it's one continuous application.
I seem to have two options:
1. Create subdirectory entry points for each
2. Override WARenderLoopMain>>start: and create rules to dispatch
requests to the right component.
What's the smartest way to do this?
In the case of #2, I don't know how to extract the component subdir
from the url (eg: 'photos' in /seaside/myapp/photos/243). I only know
how to get field values (eg: id=243).
Thanks in advance for any tips.
More information about the Seaside