Exploring how Seaside and Magma could work together, I am trying to install Magma in a 3.9 image. According to http://wiki.squeak.org/squeak/5817 the 'Magma seaside' package is needed. I cannot find it...
In the SqueakMap browser I see Magma server, client and tester. But no Magma seaside. I did find the MagmaServerLoader through Montecillo.
I guess that the following code is a little bit out of date (from the Pier install script): magma := squeaksource project: 'MagmaTester'. magma install: 'MagmaServerLoader'; install: 'Magma server'; install: 'Magma client'; install: 'Magma seaside'; install: 'Magma sunit'.
How can I try Seaside+Magma in a 3.9 image?
Thank, Thierry
Hi Thierry,
The 'Magma seaside' package is on the "MagmaTester" project on SqueakSource, not SqueakMap. Add this HTTP repository to your Monticello:
MCHttpRepository location: 'http://www.squeaksource.com/MagmaTester' user: 'squeak' password: 'squeak'
Open that then you'll see "Magma seaside".
I guess that the following code is a little bit out of date (from the
Yes, even though all of the packages are available on SqueakSource, the easiest way to install the latest _base Magma_ is from SqueakMap (the current version is "1.0r39").
The "Magma seaside" package on MagmaTester of SqueakSource is just a demonstration of one of unlimited ways Magma and Seaside can be used together. From what I recall, it adds a panel to the Seaside configuration where you can specify a MagmaLocation. The gorgeous thing about this demo is the "scalability with transparency"; you can prototype your app with just one server and local-sessions but then later add multiple Seaside-server/Magma-client images serving the overall app without a single change to the application code. That's what that Sushi Store for Magma demo is all about.
Brent Pinkney is the maintainer but I'm not sure whether he's with the Squeak community any more. I imagine this demo probably "almost works" but is more there just to show a simple example than to provide a foundation for apps. Magma Pier and Gjaller have done much more for providing foundations..
Just to be clear, there's absolutely nothing special needed to make Magma "work" with Seaside. Magma doesn't care whether its used by Seaside or anything else; so other Magma/Seaside types of integrations are possible and useful to explore. So if you just load base Seaside and base Magma in one image, then save a copy of that image and try loading "Magma seaside" and then the Magma Sushi store demo, you will have two images where one shows how it was *trying* to use them together (even if it no longer quite works) and the other one is a place where you can start with a fresh exploration based on the ideas in the other.
This is just one suggestion I hope helps, it's all "hard fun"!
Kind Regards, Chris
--- Thierry Thelliez thierry.thelliez.tech@gmail.com wrote:
Exploring how Seaside and Magma could work together, I am trying to install Magma in a 3.9 image. According to http://wiki.squeak.org/squeak/5817 the 'Magma seaside' package is needed. I cannot find it...
In the SqueakMap browser I see Magma server, client and tester. But no Magma seaside. I did find the MagmaServerLoader through Montecillo.
I guess that the following code is a little bit out of date (from the Pier install script): magma := squeaksource project: 'MagmaTester'. magma install: 'MagmaServerLoader'; install: 'Magma server'; install: 'Magma client'; install: 'Magma seaside'; install: 'Magma sunit'.
How can I try Seaside+Magma in a 3.9 image?
Thank, Thierry _______________________________________________ Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
Hi all!
Chris wrote: [SNIP
Brent Pinkney is the maintainer but I'm not sure whether he's with the Squeak community any more. I imagine this demo probably "almost works" but is more there just to show a simple example than to provide a foundation for apps. Magma Pier and Gjaller have done much more for providing foundations..
I have begun a blog entry/article explaining how Gjallar uses Magma - what we have added (like the session pool) and how we have tied it into the Seaside request handling (we use our own WASession subclass with a single method override).
Just to be clear, there's absolutely nothing special needed to make Magma "work" with Seaside.
Exactly. It is up to you as a developer to figure out how you want to use Magma - for example, in Gjallar we use one Magma session per Seaside user session - but also one single shared session for some readonly viewing.
It is a bit of a hack, but it gave us some relief from the problem of having users viewing LOTS of object and thus forcing every session to fault their own copies of those objects.
Btw, I have the intention of sitting down and "strip" Gjallar down to a very small example app which only does login/logut and has a trivial domain model. This way it could be used as a neat starting point for building an app.
regards, Göran
Göran Krampe wrote:
Btw, I have the intention of sitting down and "strip" Gjallar down to a very small example app which only does login/logut and has a trivial domain model. This way it could be used as a neat starting point for building an app.
I would be very much interested in such an example since I am trying to work my way towards using Magma along with Seaside. I installed Gjallar and found it a bit intimidating for a Smalltalk novice like me (besides having some trouble logging in at first :)
JP
Chris, Thanks for the pointer. I was able to see the package. But now I am getting another error.
This package depends on the following classes: WADispatcherEditorPlugin
Where is the WADispatcherEditorPlugin class?
I see a WADispatcherEditor under Seaside-Components-Tools (seaside 2.6.a)
Thanks, Thierry
The 'Magma seaside' package is on the "MagmaTester" project on SqueakSource, not SqueakMap. Add this HTTP repository to your Monticello:
MCHttpRepository location: 'http://www.squeaksource.com/MagmaTester' user: 'squeak' password: 'squeak'
Open that then you'll see "Magma seaside".
I was able to load it but I am not sure to understand the Monticello conventions.
There are two entries: Magma seaside, and Magam seaside-kph.20 (<- the one I ended up loading)
In the first package it see a version number of 54. But this one did not work.
What kph means? Did I load the right package?
Thanks, Thierry
On 2/7/07, Thierry Thelliez thierry.thelliez.tech@gmail.com wrote:
Chris, Thanks for the pointer. I was able to see the package. But now I am getting another error.
This package depends on the following classes: WADispatcherEditorPlugin
Where is the WADispatcherEditorPlugin class?
I see a WADispatcherEditor under Seaside-Components-Tools (seaside 2.6.a)
Thanks, Thierry
The 'Magma seaside' package is on the "MagmaTester" project on SqueakSource, not SqueakMap. Add this HTTP repository to your Monticello:
MCHttpRepository location: 'http://www.squeaksource.com/MagmaTester' user: 'squeak' password: 'squeak'
Open that then you'll see "Magma seaside".
Thierry Thelliez wrote:
I was able to load it but I am not sure to understand the Monticello conventions.
There are two entries: Magma seaside,
Magam seaside-kph.20 (<- the one I ended up loading)
This one was submitted to the server in error, and only the project administrator can remove it. ( Chris? )
You need the Magma-seaside one.
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
I have removed Magma seaside-kph.20 from the MagmaTester project on SqueakSource.
Thanks..
--- Keith Hodges keith_hodges@yahoo.co.uk wrote:
Thierry Thelliez wrote:
I was able to load it but I am not sure to understand the
Monticello
conventions.
There are two entries: Magma seaside,
Magam seaside-kph.20 (<- the one I ended up loading)
This one was submitted to the server in error, and only the project administrator can remove it. ( Chris? )
You need the Magma-seaside one.
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 _______________________________________________ Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
Thierry Thelliez wrote:
Chris, Thanks for the pointer. I was able to see the package. But now I am getting another error.
This package depends on the following classes: WADispatcherEditorPlugin
Where is the WADispatcherEditorPlugin class?
I see a WADispatcherEditor under Seaside-Components-Tools (seaside 2.6.a)
The current streams for Seaside are, 2.6b1 for the "stable" and 2.7a "cutting edge"
2.6b1 has WADispatcherEditorPlugin as do some recent 2.7a packages. For some reason the latest 2.7a package has not had it merged in yet.
Keith
___________________________________________________________ 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