Re: Parameterization of Object Models



I have a C++ library, but I only know the basics. I would like to discuss
the topic. I have a quote from Waite Group's Object Oriented Programming in
C++.

"Projects and Workspaces (from preface intro) -Visual C++ uses a concept
called a workspace, which is one level of abstraction higher than a project.
A
workspace can contain many projects. It consists of a directory and several
configuration files. Within it, each project can have its own directory, or
the files for all the projects can simply reside in the workspace directory.
Conceptually it's probably easiest, at least for the small programs in this
book, to assume that every project has its own separate workspace. That's
what we'll assume in this discussion. A project corresponds to an
application (program) that you're developing. It consists of all the files
needed to create that application as well as information about how these
files are to be combined. The result of building a project is usually a
single .EXE file that a user can execute. (Other results are possible, such
as .DLL files.)"

The above comment is rather similar to what I use for reference, the COM
programming approach.

I have the Grady Booch book Object-Oriented Analysis and Design with
Applications 3rd Edition. He offers a section for additional reading where
he says earlier editions of the book included topic on how to apply OOAD
across the project development lifecycle. But that's not your topic.

He states his book's goal -

Goals of Object-Oriented Analysis and Design with Applications 3rd Edition
by Grady Booch, et. al. 2007
To provide an understanding of the fundamental concepts and history of the
object model
To facilitate a mastery or the notation and process of object-oriented
analysis and design
To teach the realistic application of OOAD within a variety of problem
domains

Object-Oriented Analysis and Design with Applications 3rd Edition by Grady
Booch, et. al. 2007 is primarily a pragmatic book that addresses the
practical needs and concerns of software engineering practitioners, from the
architect to the software developer.

Waite Group's book used console applications and Borland C++ compiler .
Lets start there are you doing C++ using forms and some code generator
similar to the Optima++ or Power++ by Sybase? Are you writing code into
some less integrated compiler like the Code Warrior compiler which does C
language as well as C++, and Java.

The Waite Groups book index includes pre-comiled header files. Those are in
the object model. Do you have those?

They mention base classes, that must be your point. You need the base
classes? see pp. 337-341. Those are almost at the end of the book.

I have a book that says paramaterized implementation of. Mastering OO
Design in C++ by Horstmann, C.S. pp. 291-2.

Each operation of a class template is prepended by the template keyword.
The class is qualified with the template argument list.

The class interface of a parameterized class is the same as that of a
regular class prepended by the keyword template and a list of the template
parameters. He has an example of QUEUE and some functions for input and
output. Its a pretty classic book. Section 14.3.4 Changing a class to a
parameterized class. It is best to write and debug an individual
instansiation and then add the template keywords and type arguments. He
moves into the Instantiation Mechanism Here one template uses another.
QUEUE uses LINK. He doesn't show link on this page. He may be appending
one queue to the other.

His next section is on Class Library Design. Sections on Shared Base
Classes Trees and Forest. He has many examples But he is creating an
object model for his project. He moves to anothereexample of a Diagram
Editor. It resembles thse little tool boxes you use to place a circle on a
form and then place some labels on to the form that say "This is your
MyCircle object"..

What I can say is, that if you get a RAD tool like Power++ from Sybase then
alot of your forms and objects will be linked for you. But you can copy the
code onto the side into Notepad. And then simplify until that works and try
to put the premade project back together again.

Yeah likethe Humpty Dumpty project which I have never done. Anyway its
expensive to learn the higher level programming concepts and buying what
you can buy is cheaper in the long run. I have found some C++ books on file
share systems.

You don't want to code what is already been coded., Put that additionally,
into your model! Now I have to handicap Belmont Stakes 1 1/2 mi.with out
steeplechase fences. And teaching myself to play song called "Smoke on The
Water" on electric guitar. Author is Deep Purple whoever he is.







"Tony" <tony@xxxxxx> wrote in message
news:uAyWl.31195$Ws1.7922@xxxxxxxxxxxxxxxxxxxxxxx

"Crushed_Ice" <slipandslide@xxxxxxxxx> wrote in message
news:GJqdnS8Bb4KOfrTXnZ2dnUVZ_jGdnZ2d@xxxxxxxxxxx

[snipped off-track response to misunderstood solicitation]

You misunderstood my solicitation: it was not about object modelling, but
rather about "object models" (as implemented by programming languages). As
an example of what I was talking about, see the book "Inside the C++
Object
Model". The use of "object model" to mean "implementation of
object-orientation" is unfortunately confusing, I know.

"Tony" <tony@xxxxxx> wrote in message
news:TNIUl.31301$YU2.1548@xxxxxxxxxxxxxxxxxxxxxxx
Apparently, there is a nebulous area of computer language science that
is
Object Models. Or is there?

Object model implementation/paradigm can make or break a language (IMO,
as
I
seek to abandon C++ with that reason as high on the list of reasons).
OO
is
now historically discoverable and assessable. What are the "parameters
of
goodness", parameters in general, and such for computer programming
language
object models? Paraphrase existing "common" knowledge or interject your
own
concepts in this thread if you wish. I am creeping-up on that area in
my
own
language design but doing library development currently (and yes, doing
the
library development is hinting at the desired object model). The first
level
of discussion should be at the goal level and not specific elements
that
solve a problem such as inheritance or data+behavior.

(No specific question asked, purposely).








.



Relevant Pages

  • Re: Cpp Considered Harmful
    ... you just parse the template and show the user code ... > that a tool, to be at all effective in modern programming, has to do near ... > much easier than they can parse the underlying language itself. ... > resulting from the preprocessor, it merely has to preprocess it. ...
    (comp.lang.cpp)
  • Re: Problems with Template
    ... I understand what the template is and the document that opens, ... "checkboxes in MAIN group headers" This group of words sends chills down my ... programming Word, you need to learn it, comprehensively. ...
    (microsoft.public.word.vba.general)
  • Re: Problems with Template
    ... The expected and good result from using a document template is a new ... programming Word, you need to learn it, comprehensively. ... The form has various MAIN group headers ... When I email the form to other users for testing, it opens it with the ...
    (microsoft.public.word.vba.general)
  • Re: change design of Website with Publisher 07?
    ... The text is imported into the new template as are most of the design ... However, in some cases there will be some design elements, ... pictures etc. that Publisher will not know how to or where to put in the new ...
    (microsoft.public.publisher.webdesign)
  • Re: Everything you need can be found in this site.
    ... Web Template, CSS Template, Logo Template, Corporate Identity Package, ... high-quality website development. ... online shop or offline presentation or even as a design ... and web design because you can get on-the-fly support for any question ...
    (rec.audio.tubes)