Re: [Prevayler-discussion] Schema Evolution
Brought to you by:
jsampson,
klauswuestefeld
From: Klaus W. <kla...@ya...> - 2004-04-28 04:10:55
|
An interesting twist to this would be to have "schema update transactions", more or less like smalltalk does, amidst your regular transactions. So you would have things like "AddAtributeTransaction", "RenameClassTransaction", "ChangeAtributeType" which would work on the object schema (performing all necessary conversions too) just like regular transaction work on the objects. Perfectly testable, perfectly safe, perfectly manageable, perfectly impossible to do in Java. :P See you, Klaus. --- S Doyle <sco...@ya...> wrote: > All, > > I wonder if the following idea would solve the schema evolution > problem, albeit in a radical fashion... > > Suppose that there were no snapshots and the only record of changes > to the prevalent system was the transaction log. The object model > would be constructed by replaying transactions. > > The object model could be changed at any time, and the transaction > classes would have to be updated to work with the new object model. > > The benefits may include: > - no schema evolution problem > - ThereCanOnlyBeOne would make more sense when applied to > transactions as opposed to the object model > - less possibility of not being able to recreate state when non-ECC > ram is corrupted > - this approach might work better with the HttPrevayler concept > > The drawbacks may include: > - references to other objects within a transaction would be trickier > - no performance improvement by simply reloading a snapshot > - i.e. the full log would have to be replayed > - maintenance of multiple versions of transaction may be necessary > > Thoughts? > Scot > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Photos: High-quality 4x6 digital prints for 25¢ > http://photos.yahoo.com/ph/print_splash > > > ------------------------------------------------------- > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek > For a limited time only, get FREE Ground shipping on all orders of $35 > or more. Hurry up and shop folks, this offer expires April 30th! > http://www.thinkgeek.com/freeshipping/?cpg=12297 > _______________________________________________ > To unsubscribe go to the end of this page: > http://lists.sourceforge.net/lists/listinfo/prevayler-discussion > _______________________________________________ > "Do you still use a database?" -- http://www.prevayler.org __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover |