Class inheritance

21 views
Skip to first unread message

Kevin Stembridge

unread,
May 7, 2012, 9:38:52 AM5/7/12
to rogue...@googlegroups.com
Hi all,
I'm creating a Lift application for the first time. I've never used Scala or MongoDB before either. I've got something working using Rogue and I'm pretty impressed so far. But I'm stuck on one issue.  I'd like to use class inheritance in the domain model of the application I'm building. Inheritance is no problem in Scala and from what I've read MongoDB can manage it as well. But finding a tool that can map between the two has proven difficult.

The guys on the Lift mailing list have indicated that the Record framework doesn't play well with inheritance. Do you have any experience with trying to create domain models that include type hierarchies in the Lift/Rogue applications you have built?

Cheers,
Kevin
Reply all
Reply to author
Forward
0 new messages