hi -
I have a server with 6 different seaside images (with different applications) all connecting to the same user database. Can magma handle such a scenario with several concurrent access (vast majority is read, but all can write) from various seaside applications in distinct images?
(The information I found on the wiki seemed somewhat contradictory in this respect, so I'm double-checking here, sorry for the noise!)
ts
You are already aware that Magma is a multi-user database, and that "users" can more abstractly be referred to as "sessions".
So I interpolate the key to your question to be about accessing the model from *multiple applications*. By multiple applications you mean applications that have their own domain models, but you want to share a single persistent User model across all applications.
The answer is yes. You may have multiple sessions to your User repository, at least one in each Seaside image. Of course, you should take care to try to keep the User domain generic to all the applications so application-specific objects don't get attached to the User model.
I try to be clear and deliberate in my choice of words on the Swiki. Please tell me which part was contradictory so I may fix it.
- Chris
On Sat, Jun 28, 2008 at 6:22 AM, sol tourne tournesolo@gmail.com wrote:
hi -
I have a server with 6 different seaside images (with different applications) all connecting to the same user database. Can magma handle such a scenario with several concurrent access (vast majority is read, but all can write) from various seaside applications in distinct images?
(The information I found on the wiki seemed somewhat contradictory in this respect, so I'm double-checking here, sorry for the noise!)
ts _______________________________________________ Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
magma@lists.squeakfoundation.org