[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Prototype OO was Re: Inheritance/defaulting of attributes

  • From: dak@s...
  • To: Liam Quin <liamquin@i...>
  • Date: Fri, 17 Oct 97 13:24:48 -0400

prototype insert

[Lee mentioned (Hi, Lee!), in passing comment about the 
Model-View-Controller paradigm]:

| SoftQuad's Sculptor SGML product used (uses, if they still sell it) an MVC
| paradigm, together with an object-oriented dialect of Scheme. Today one
| would probably use Java rather than Scheme because more programmers would
| like it, although Scheme goes well with DSSSL.  But once you'd got
| over the rather steep learning curve, Sculptor is/was pretty powerful.

We're still selling it, I'm happy to say.

One minor point of clarification (not to distract from this very interesting
conversation about OO models!):

[...]

| SoftQuad Sculptor doesn't give much access to the DTD.

Hmm.  I think I'd put that another way:  Sculptor's access to the DTD
is abstracted for editing, at the level of:

1)  You can get access to the definitions of atomic items in the DTD
(elements, attributes, general entities, parameter entities, notation 
entities), and

2)  You can get access to some of the relations between these
(e.g. for elements: element-content-type, attribute-definition-list) but

3)  Access to the content model is:

3.1) by type, if you ask the document or DTD:
  ANY, EMPTY, CDATA, RCDATA, MIXED, ELEMENT, or CONREF, and

3.2) by the various DTD constraints on how the document manipulation 
primitives act, which can also be pre-tested, by (e.g.) can-insert?.

...which is when it's needed in the editing environment.  Sometimes,
it would be nice to have more, but you can generally synthesize what
you need, which is a large part of the advantage of having a general-
purpose, dynamic programming language in the scripting environment.

[End of digression.  Back to the regularly scheduled abstract discussion
about OO in the markup environment.]

Best,
Dak

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.