Hi Chris, Keith,
Magma + Seaside Would you guys mind collaborating to be sure what we have is "one good thing" and not "two separate pretty good almost-the-same things"?
Sure - I did release a new 'Magma seaside' and sushi store changeset a few days ago which works with Chris's latest Magma release.
I would welcome some feeback and collaboration on the seaside integration - there is a lot we still need to do (eg. shared sessions, preallocated sessions) that I would like for our own applications.
PS, to answer a question from the list: I released the sushi store chages as a changeset as it only makes very minor changes to the Seaside demo and I wanted to emphasise that - changesets are often better at isolating a few changes than monticello IMO. A small changeset really shows how little effort it required to add Magma to an application.
I would also like to invite all of us to use the mailing list more often - there arre other lurkers who might add be able to add something to our discussions.
Cheers
Brent
Hi!
Brent Pinkney brent.pinkney@aircom.co.za wrote:
Hi Chris, Keith,
Magma + Seaside Would you guys mind collaborating to be sure what we have is "one good thing" and not "two separate pretty good almost-the-same things"?
Sure - I did release a new 'Magma seaside' and sushi store changeset a few days ago which works with Chris's latest Magma release.
I would welcome some feeback and collaboration on the seaside integration - there is a lot we still need to do (eg. shared sessions, preallocated sessions) that I would like for our own applications.
In Gjallar we have Q2MagmaSessionPool which is derived from Cees' pool in Kilauea. It can probably be cleaned up more etc, but it works.
I should probably sit down and look through our Seaside/Magma integration and check if there is something interesting in there.
regards, Göran
I have opened a public area in squeaksource for sharing code. I quite like to be able to browse packages in monticello.
It is called MagmaSeasideWIP.
children
I am working on my own and this is pretty new territory for me anyhow, so I would value the collaboration.
Keith
___________________________________________________________ All New Yahoo! Mail Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
oops, bit of cut an paste went wrong there... should have read
MCHttpRepository location: 'http://www.squeaksource.com/MagmaSeasideWIP' user: '' password: ''
(instead of children!)
Keith
___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html
If anyone is interested a first cut demo of MagmaControlPanel is available in
http://www.squeaksource.com/MagmaSeasideWIP
Although the sushi store does not really need its own contol/initialization panel I have added one as an example.
The UI is very rudimentary, stylesheets fairly non existent, but... it works (I think)
Keith
------------ Notes:
Using the Seaside configuration application you can access MagmaControlPanel. (you have to over-ride the default magma location configuration to access the link)
MagmaControlPanel provides a UI for creating a repository if it does not exist
(note: it takes magma quite a long time to report that a repository does not exist, which is not really necessary just to check for the existence of a file, I have held back from hacking this into the mainstream release.)
User is offered a choice of root objects for their repository (just as in the configuration editor a number of sessions/main/configurations are offered, except that some context is provided for the user to know what they are selecting - this contextual information for the uninitiated user is missing from seaside IMHO)
Once a root object has been selected and the repository is online, it may be deleted through the UI.
The repository root object provides a component (itself) to be rendered as a status/initialization/configuration display.
The commit strategy is #commitAndBegin performed on every page refresh, so the MagmaControlPanel handles the magmaSession entirely. The repository root object does not/cannot have any access to the magmaSession while in the context of the WAConfigurationEditor because this is using WASession.
The magmaSession is disconnected when the user clicks the #done button. I have not made any other attempt to clear up open sessions, hoping that they will be garbage collected and handled nicely somewhere eventually. (Is this naive?)
Status display for all open RepositoryControllers is also provided, although what stats would be useful to report here I dont know.
___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
magma@lists.squeakfoundation.org