Re: Parameterization of Object Models
- From: "Crushed_Ice" <slipandslide@xxxxxxxxx>
- Date: Sat, 6 Jun 2009 15:14:27 -0500
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
Object
"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++
Model". The use of "object model" to mean "implementation ofis
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
OOObject Models. Or is there?I
Object model implementation/paradigm can make or break a language (IMO,
as
seek to abandon C++ with that reason as high on the list of reasons).
ofis
now historically discoverable and assessable. What are the "parameters
mygoodness", parameters in general, and such for computer programminglanguage
object models? Paraphrase existing "common" knowledge or interject yourown
concepts in this thread if you wish. I am creeping-up on that area in
thatown
language design but doing library development currently (and yes, doingthe
library development is hinting at the desired object model). The firstlevel
of discussion should be at the goal level and not specific elements
solve a problem such as inheritance or data+behavior.
(No specific question asked, purposely).
.
- References:
- Parameterization of Object Models
- From: Tony
- Re: Parameterization of Object Models
- From: Crushed_Ice
- Re: Parameterization of Object Models
- From: Tony
- Parameterization of Object Models
- Prev by Date: Re: Parameterization of Object Models
- Next by Date: The Eiffel Compiler tecomp version 0.18.1 released.
- Previous by thread: Re: Parameterization of Object Models
- Next by thread: Re: Parameterization of Object Models
- Index(es):
Relevant Pages
|