Prototype OO was Re: Inheritance/defaulting of attributes
John Gossman
JohnGo at asymetrix.com
Fri Oct 10 19:33:03 BST 1997
This is an excellent idea. For declarative languages especially,
prototype is a very good model for inheritance because it provides
default values for data fields and layouts of schemas, which is
primarily what you need (there is no behavior to inherit). I have used
this as the basis for my XML based OXF (Open Exchange Format). It seems
to be easier to understand for those who are not fluent in OO technique.
John Gossman
Asymetrix Learning Systems
>----------
>From: Meltsner, Kenneth J[SMTP:Kenneth.J.Meltsner at jci.com]
>Sent: Thursday, October 09, 1997 9:44 AM
>To: xml-dev at ic.ac.uk
>Subject: Prototype OO was Re: Inheritance/defaulting of attributes
>
>
>
> [Apologies for jumping in from outside the document/XML community -- I
> was reading the archive and found this thread interesting. An earlier
> attempt at sending this out failed, so this may be a duplicate as
> well.]
>
> The XML community may want to look at prototype-based object-oriented
> programming as an alternative to traditional class-instance objects.
> Prototypes allow the designer/user to create an object, change its
> properties, and then create new objects that inherit from the original
> prototype. There's a lot more details, including a description of
> inheritance by delegation of methods/properties to parent prototypes,
> but it tends to be a more useful approach for objects that model real
> world objects -- my dissertation used a variant of prototypes to
> implement an object-oriented approach to simulation for chemical
> thermodynamics.
>
>
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list