O$ programming style
There was a topic about this in the forum:
developer.omnis.net/forums/topic/object-classes-versus-table-classes
Andrea Zen
> —–Original Message—–
> From: omnisdev-en [mailto:omnisdev-en-bounces@lists.omnis-dev.com] On
> Behalf Of Mike Rowan
> Sent: Thursday, December 21, 2017 8:10 AM
> To: OmnisDev List – English <omnisdev-en@lists.omnis-dev.com>
> Subject: Re: O$ programming style
>
> Doug,
> If you had a minute, could you elaborate on your comment “table classes in
> objects” ?
>
> Do you mean something other than defining a row or list var of the object
> method using MyRow.$definefromsqlclass(‘MyTable’) ?
>
> > On 19 Dec 2017, at 6:59 am, Doug Easterbrook <doug@artsman.com>
> wrote:
> >
> > hi Mike
> >
> > to add to what ken and andrea said… — yes sticking things into objects
> have benefits.
> >
> > but don’t forget that table classes are also objects and can encapsulate a lot
> of stuff.
> >
> > sometimes there are objects in table classes. sometimes there are table
> classes in objects.
> >
> > depends what you need to accomplish — but yes, there should be
> separation from the window. its worth it.
> >
> >
> >
> >
> > Doug Easterbrook
> > Arts Management Systems Ltd.
> > mailto:doug@artsman.com
> > www.artsman.com
> > Phone (403) 650-1978
> >
> >
> >
> >
> > see you at the third annual users conference
> >
> tickets.proctors.org/TheatreManager/95/online?performance=29086
> <tickets.proctors.org/TheatreManager/95/online?performance=290
> 86>
> >
> >> On Dec 18, 2017, at 6:46 AM, Mike Rowan <michael.rowan3@gmail.com>
> wrote:
> >>
> >> I have recently written a lot of code using the idea that ‘Omnis
> Programming’ seems to suggest, namely having almost no operational code
> in the methods of a window, by shifting them to an object instantiated as an
> instance variable of type object of the window.
> >>
> >> I’n not sure I see any advantage for a desktop library, and wonder what I
> have missed. In fact it seems to add a whole extra layer of pain.
> >>
> >> Meanwhile, seasons greetings to all
> >>
> >> Mike
> >>
> __________________________________________________________
> ___
> >> Manage your list subscriptions at lists.omnis-dev.com
> >
> >
> __________________________________________________________
> ___
> > Manage your list subscriptions at lists.omnis-dev.com
>
> __________________________________________________________
> ___
> Manage your list subscriptions at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com