Doh! I just looked at the Quick Start again and saw how it does it.

John

On Wed, Jan 09, 2002 at 07:50:25PM -0500, John Holland wrote:
> OK, I've been thinking about this a bit - how does one use inheritance
> in this system? Can the CSV file declare an object is a subclass of
> another CSV-based object?
> 
> On Wed, Jan 09, 2002 at 05:23:03PM -0600, Ian Bicking wrote:
> > Each MK object is composed of a generated portion, and a subclass that
> > you can customize.  You'll notice the subclass (which is just
> > boilerplate) is very boring, and will not change as you change your
> > model, so you are safe.  The superclass (named, I think, as *Gen) will
> > get overwritten, and you should not edit that code.  I think MK places
> > those generated classes in a different directory.
> > 
> > On Wed, 2002-01-09 at 17:09, John Holland wrote:
> > > I've been learning about MiddleKit today and something struck me as peculiar-
> > > 
> > > the Quickstart says to design your objects in a CSV spreadsheet, and that it
> > > will then generate code. It also says that regenerating the code is often
> > > needed as design changes.
> > > 
> > > But I might want to add additional methods etc to the objects. Wouldn't that
> > > code be lost in the regeneration? That sounds like it would be kind of a pain.
> > > 
> > > Is that actually a problem in use of MiddleKit?
> > > 
> > > John
> > > 
> > > _______________________________________________
> > > Webware-discuss mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/webware-discuss
> > > 
> > 
> > 
> > 
> > _______________________________________________
> > Webware-discuss mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/webware-discuss
> 
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to