Magma used in production apps?

Chris Muller asqueaker at gmail.com
Fri Feb 29 02:12:59 UTC 2008


Oh yes, you're talking about that Command framework you have.  I am
very interested in taking a look at that.  Is it separable from
Gjaller for use in other apps?

On Thu, Feb 28, 2008 at 2:44 AM,  <goran at krampe.se> wrote:
> Hi!
>
>  (hmmm, your base64 encoding makes my Celeste slightly confused)
>
>
>  "Chris Muller" <asqueaker at gmail.com> wrote:
>
> > Can you expand on what you mean about the "non standard" part?
>
>
>  Yes, what I mean is that in Gjallar we have reified all our kinds of
>  database modifications.
>  This means we have a class hierarchy subclassing Q2Txn (Q2 = Gjallar
>  prefix), for example there is a Q2CaseCreateTxn.
>
>  So when we create a case in Gjallar we don't do (silly pseudo code
>  coming up) as one would typically do:
>
>  session begin.
>  allCases add: aNewCase.
>  session commit.
>
>
>  Instead we do a much more elaborate operation kinda like:
>
>  session begin.
>  txn := Q2CaseCreateTxn new.
>  txn subject: 'blabla'; description: 'more text'. "etc etc"
>  txn apply. "this does mainly the same thing as the typical code above"
>  allTransactionsSinceDawnOfTime add: txn.
>  session commit.
>
>  ...but in a much more elaborate, convoluted way of course only in order
>  to make it really hard for a Gjallar newbie to understand what the heck
>  is going on and thus make the wrong conclusion that using Magma is
>  complicated. :) :)
>
>
>
>  regards, Göran
>  _______________________________________________
>  Magma mailing list
>  Magma at lists.squeakfoundation.org
>  http://lists.squeakfoundation.org/mailman/listinfo/magma
>


More information about the Magma mailing list