On Thu, 2009-08-27 at 07:19 +0200, Daniel Werner wrote:
> Hello Mac,
> 
> I'm  new to Storm as well, but already found this to be an interesting read:
> 
> https://storm.canonical.com/Infoheritance
> 
> Not too straightforward, but it sounds like this may be similar to
> what you want.
> 
> --
> Daniel

Hej Daniel,

        thank you for the tip. I had a second look to that page (I previously
skimmed through it) and - if I inspected the code correctly - it
kind-of-does what I need, but it is somehow an overkilling solution for
my needs.

        Sure it gives you a lot of flexibility, but it also introduce a level
of complexity that is un-needed for what I want to achieve, which is
basically the possibility to create new records by:

> teacher = Teacher(u'Mr.Cleese', u'Spam High School').

I suppose I can achieve that by wrapping into the class Teacher the code
to manage at the same time the two classes of the two table I need to
use, but I was wondering if there was a more elegant solution that does
not need to introduce an adapter in my design but simply makes good use
of the Storm design.

I suppose though that the answer is still in the page you sent to me:
"Storm doesn't support classes that have columns in multiple tables."

That would be a fantastic new feature to implement... (hint, hint).

Thank you for your help,
Mac.


-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to