[aida] Aida and Magma
r.j.rothwell at gmail.com
Sun Sep 28 00:40:55 CEST 2008
For a data entry application with Magma, you can simply create a session and
#begin it, if you are willing to #commitAndBegin regularly when you change
things, or #abort; #begin if you need to check for changes.
In an Aida application, you could easily #abort and #begin at the top of
every view method, and #commitAndBegin with all your action methods, but
since Aida is already providing "persistency" with the domain model, it
seems like you could pretty easily create a special "Magma Aware" Aida by
adding some well placed commits, aborts, and begins in the right places
within Aida and creating a "magmaSession" property for your application.
Would it be hard to hook into the Aida code that reads and writes the domain
model to provide such behavior?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Aida