Seaside 30 + Magma on Squeak?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Seaside 30 + Magma on Squeak?

Tiarnán Ó Corráin
Hi--

I'm trying to get Seaside (v 3 -> 1.0.7), Magma, and the Seaside Magma helper loaded in Squeak (or Pharo, come to that.)

I get the same error on both:

This package depends on the following classes:
  WAConfigurationEditor
  WAConfigurationAttribute
You must resolve these dependencies before you will be able to load these definitions:
  WAConfigurationEditor>>renderMagmaLocationAttribute:on:
  WAConfigurationEditor>>visitMagmaLocationAttribute:with:
  WAMagmaLocationAttribute
  WAMagmaLocationAttribute>>accept:with:
  WAMagmaLocationAttribute>>options

I can't find WAConfigurationEditor in Seaside, or any of the add-on packages.  So I'm assuming that one of the following is true:
  • the Seaside Magma helper is obsolete 
  • WAConfigurationEditor is somewhere incredibly obvious that I've missed
  • there's a brand new way of integrating Seaside and Magma that I don't know about
  • none of the above
Anyone care to shed any light?  Is Seaside + Magma still a supported / recommended configuration?

all the best

Tiarnán


--
The law, in its majestic equality, forbids the rich as well as the poor to sleep under bridges, to beg in the streets, and to steal bread -- Anatole France

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside 30 + Magma on Squeak?

Chris Muller-3
You should be able to load each of Seaside and Magma individually,
which are both still maintained to this day.  The "Helper" package was
created years ago but not maintained.

Magma and Seaside will work together just fine.  Just as with any
database, you have to decide how you want your Seaside sessions to use
the database which is totally dependent on the needs of the
application.  Access to the DB occurs via Magma sessions.  The purest
approach is for each Seaside session to have its own Magma session --
its own isolated view of the persistent model.  While this offers the
least degradation as scale increases, the downside to that approach is
overall efficiency for small applications since there could be
multiple copies of the same parts of the domain (one for each session)
in memory, which were brought in through the DB machinery separately.

There were some creative sharing solutions to deal with this, or some
folks decided to use just one MagmaSession for all web clients.  But
Magma is not fast enough to handle very many users in that
configuration.  Magma was designed for the Magma-SERVER to handle lots
of clients, not for a single Magma-Client to handle lots of
web-clients...




On Wed, Sep 19, 2012 at 4:45 PM, Tiarnán Ó Corráin <[hidden email]> wrote:

> Hi--
>
> I'm trying to get Seaside (v 3 -> 1.0.7), Magma, and the Seaside Magma
> helper loaded in Squeak (or Pharo, come to that.)
>
> I get the same error on both:
>
> This package depends on the following classes:
>   WAConfigurationEditor
>   WAConfigurationAttribute
> You must resolve these dependencies before you will be able to load these
> definitions:
>   WAConfigurationEditor>>renderMagmaLocationAttribute:on:
>   WAConfigurationEditor>>visitMagmaLocationAttribute:with:
>   WAMagmaLocationAttribute
>   WAMagmaLocationAttribute>>accept:with:
>   WAMagmaLocationAttribute>>options
>
> I can't find WAConfigurationEditor in Seaside, or any of the add-on
> packages.  So I'm assuming that one of the following is true:
>
> the Seaside Magma helper is obsolete
> WAConfigurationEditor is somewhere incredibly obvious that I've missed
> there's a brand new way of integrating Seaside and Magma that I don't know
> about
> none of the above
>
> Anyone care to shed any light?  Is Seaside + Magma still a supported /
> recommended configuration?
>
> all the best
>
> Tiarnán
>
>
> --
> The law, in its majestic equality, forbids the rich as well as the poor to
> sleep under bridges, to beg in the streets, and to steal bread -- Anatole
> France
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside 30 + Magma on Squeak?

Tiarnán Ó Corráin
Hi Chris--

thanks.  I'll go for the one MagmaSession per Seaside session until it blows up on me.  On the bright side, it looks like load-balancing Seaside instances is stable and well-documented, so it shouldn't be difficult to deal with the capacity issues when they (if I'm lucky :-) arrive.

regards

Tiarnán


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Beach parasol

DiegoLont
Hi all,

I finally got around to adding my conditional field to Deltawerken. This did not go as smoothly as hoped, so I started making tests using Beach Parasol.

Well it took some time before I found out why my AJAX did not work: one should configure the Test Application overriding "configureTestApp: testApp". None of the existing tests in Beach Parasol use AJAX. I guess I should also wait for my AJAX call to finish, but locally this does not seem a problem, so I ignore this problem for now._______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside