I have created an issue in jira for this:
http://www.fornax-platform.org/tracker/browse/CSC-226

If you and others think it is important we will of course give it priority
and I think we can implement the support for the domain objects first,
rather soon.

/Patrik


amphoras wrote:
> 
> Hi Patrik,
> 
> You asked:  "Is it important to support multiple inheritance levels?"
> 
> I did not answer the question when this was first posted because it was
> before I started using  Sculptor.  
> 
> My answer is "Yes!"  Sculptor is very powerful, yet there is this
> limitation on inheritance that is quite bothersome.  I know that creating
> a tree of inherited objects can be one of those anti-patterns, so I
> understand the desire to not support it.  However, sometimes inheritance
> does make sense.  And even if it is being abused, sometimes we have no
> choice but to stick with it because the costs of refactoring the client
> code is too high.  Sculptor's support for inheritance is extremely
> important because it feeds into many other templates like the Hibernate
> template and other templates that I'm building.  If Sculptor only supports
> single-level inheritance, then my tools are stuck with that as the lowest
> common denominator even if they (like Hibernate) do support multi-level. 
> So it would be wonderful if this restriction can be removed.  It is giving
> me a headache right now because I need to create a model with multi-level
> inheritance.  ;)  
> 
> Is this something that is difficult to support?  Is there a hack or a few
> that I can put in to make it work for me until you come up with an elegant
> solution?  I am not using the CRUD generation part of Sculptor, which you
> mentioned before as being problematic for multi-level inheritance.  Any
> help that you can give me would be greatly appreciated.
> 
> Thanks!
> --Polly
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/problem-with-multi-levels-class-inheritance%3A-Best-practices-tp17598981s17564p18976084.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to