--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:

> Thanks for the link.  And I have looked at EsiObjects before (briefly), and
> frankly I find EsiObject in need of a good soundbyte.  I.e. "EsiObjects is
> ____________________" And no more than 5 words can go in the blank.  But
> from what I have seen, it just won't fit.
> 
> Even now, I just looked at the programmer's reference guide.  It states:
> 
> The EsiObjects Runtime Module contains all the components of a
> state-of-the-art object
> oriented database system. This module contains support for the Class
> Development
> Environment and all Application Runtime Environments. It implements:
> • A robust, comprehensive object model implementation based on the Smalltalk
> class
> model. This model implements all the concepts required of a full object
> oriented
> system, particularly, encapsulation, inheritance and polymorphic behavior.
> • A compiler that implements the 1995 ANSI standard M language and
> EsiObjects
> language extensions in support of the object model....
> 
> 
> So it is a runtime module.... i.e. a separate executable?  Separate from M?

> And it has it's own compiler that "extends" the language?  And what is that
> Smalltalk (I'm not familiar with this) implementation?  So would I be
> writing in Smalltalk?

<MPZ>  The parser generator is written using a java based tool called antlr
(http://www.antlr.org).  You write code in a "superset" of the M Language.  It
is actually quite intuitive to learn and you can pick it up quickly. 
Basically, the compiler "transforms" your code to ansi M.  


> 
> When I checked before, it seemed that EsiObjects allowed one to access the
> database in an object oriented way, meaning that globals become objects.
> But this didn't have application with VistA and fileman.

<MPZ>  If I remember correctly (I haven't got an ESIObjects setup with me at
the moment), you can specify whether your objects are persistent or not.  if
you needed to access a Fileman file, you create an object wrapper around that
file.  I believe that ESI has done this in the past, and may have developed a
tool to build these object wrappers automagically.  Intersystems has a similar
tool to do the same thing in cache.


> 
> I think that if I were to develop a separate application from VistA, then
> EsiObjects would be a very strong tool to have.  I would just have to spend
> some time figuring out how to use it.
> 
> But for right now, I am seeing if I can write code in standard M (with no
> fancy tricks) that lets one store data is globals or arrays that then act
> like objects from other languages.

<MPZ>  I have done something similar here at the BCCDC.  I built our Food
Poisoning Management System using an OO metaphor.  Each Food Quality record is
an "object" so to speak built up from smaller "component objects" (mostly
lists).  I built an API to access the "member data" based on an existing data
dictionary.  What I learned from this was that there was a lot of upfront
effort to get the application developed.  It is providing quite a bit of
downstream benefit as the app is very easy to maintain.  But through the while
process, I just kept thinking (I wish I had a tool to do this!!!).

I'll keep monitoring the wiki to sww your progress on this.  I am very
interested in it.

</MPZ>
> 
> Kevin
> 
> 
> On 12/1/05, Michael Zacharias <[EMAIL PROTECTED]> wrote:
> >
> > Kevin
> >
> > If you haven't already, check out ESIObjects (http://www.esiobjects.org
> > ).  It
> > is an OO extension to M that uses M as the enabling language (i.e. the OO
> > abstraction is done similarily to what you are doing.  Using M data
> > structures,
> > etc).
> >
> >
> > Michael
> >
> >
> > --- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
> >
> > > Chris,
> > >
> > > Excellent.  But I am seeing what can be done without changing the
> > > language definition.  It might get done quicker that way   ;-\
> > >
> > > Kevin
> > >
> > >
> > >
> > > On 12/1/05, Chris Richardson <[EMAIL PROTECTED]> wrote:
> > > > Kevin;
> > > >
> > > >    Funny you should ask....   WorldVistA was started by those of us
> > who
> > > were
> > > > part of the Object Oriented Working Group of a Task Group, of a
> > > subcommittee
> > > > of the MUMPS Development Committee.  This working group long out lived
> > (or
> > > > was at least active) the MDC's activity.  You might want to take a
> > look at
> > > > the Object Oriented Check List X3H7.  We have lots of plans for this
> > > > technology.
> > > >
> > > >     Best wishes;   Chris
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Kevin Toppenberg" <[EMAIL PROTECTED]>
> > > > To: "Hardhats Sourceforge" <hardhats-members@lists.sourceforge.net>
> > > > Sent: Wednesday, November 30, 2005 8:51 PM
> > > > Subject: [Hardhats-members] Object Oriented(OO) in Mumps
> > > >
> > > >
> > > > I am still interested if the array structures that are intrinsic to M
> > > > could be leveraged to achieve object oriented code.
> > > >
> > > > Here is some working code have written around a simple OO framework:
> > > >
> > >
> >
> http://openforum.worldvista.org/~forum/index.php?title=Object_Oriented_Progr
> > > > amming_with_M
> > > >
> > > > The sample program doesn't really show much of the OO abilities. I was
> > > > mostly worknig on getting the execution of member functions to work.
> > > > But each object has its own variable set and share common methods.
> > > >
> > > > Let me know what you all think.
> > > >
> > > > ("why?" --> "because!")
> > > >
> > > > Kevin
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > > files
> > > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > > searching your log files as easy as surfing the  web.  DOWNLOAD
> > SPLUNK!
> > > > http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
> > > > _______________________________________________
> > > > Hardhats-members mailing list
> > > > Hardhats-members@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > > files
> > > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > > searching your log files as easy as surfing the  web.  DOWNLOAD
> > SPLUNK!
> > > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> > > > _______________________________________________
> > > > Hardhats-members mailing list
> > > > Hardhats-members@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files
> > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> > > _______________________________________________
> > > Hardhats-members mailing list
> > > Hardhats-members@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> > __________________________________________________________
> > Find your next car at http://autos.yahoo.ca
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> > _______________________________________________
> > Hardhats-members mailing list
> > Hardhats-members@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> >
> 



        

        
                
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to