I.T. Discussion Community!
-Collapse +Expand
Coder
Search Coder Group:

Advanced
-Collapse +Expand Coder Study Test
PRESTWOODCERTIFIED
-Collapse +Expand Coder Store
PRESTWOODSTORE

Prestwood eMagazine

November Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyCoding & OO BoardObject Orientation (OO) Topic   Print This     

Message based modeling

Message based modeling in Object Orientation (OO) topic (part of our Coding & OO group).

Quick Search: Message   modeling   Message based   Message based modeling  
bjkersey
 (Inactive)
Salt Lake City, Ut, USA
Looking for input about message based modeling as compared to responsibility based modeling, per D. Taylor's Object Technology: A Managers Guide.
Thanks
BJKerser
 Posted 19 years ago (Thread Starter)
Comment Quote
About bjkersey -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #331, 4 replies
Thread Started 12/19/2000 7:14:00 PM
View Counter=3190
Last Reply Posted 4/8/2001 2:41:00 AM)
Location=Salt Lake City, Ut, USA  
Joined=19 years ago   MB Posts=2  
bjkersey
 (Inactive)
Salt Lake City, Ut, USA
Brian,
Thanks for the reply. You are right, there is no "message based modeling". As you can tell, I am still trying to figure out how all this works. We are using CFObjects for Cold Fusion and trying to build an HR Portal that supports Payroll, Benefits, HR and other departments. This means (we think) that the attributes for an employee for a Benefits user are a lot diffrent than the attributes for a Payroll user, but we really like the idea that either of these would be able to udate the employee phone number, for example. Thanks again for the reply.
BJKersey
 Posted 19 years ago (Thread Starter)
Comment Quote
About bjkersey -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #336 (Level 1.1)  Reply to 331
Thread Started 12/20/2000 12:58:00 PM
View Counter=2
Location=Salt Lake City, Ut, USA  
Joined=19 years ago   MB Posts=2  
Most Recent Post
lorriman
 (Inactive)
London,
In reeference to previous post. It's often suggested that emplyee be derived from person but since being an employee is a persons relationship with a company it can often be more appropriate to model this with a relationship class. Ie.
RElationship
|
Employee (person*, company* and other employee attribs)
 Posted 18 years ago
Comment Quote
About lorriman -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #1681 (Level 1.2)  Reply to 331
Reply Posted 4/8/2001 2:41:00 AM
Location=London,  
Joined=18 years ago   MB Posts=1  
Deleted Member

Originally posted by bjkersey:
Looking for input about message based modeling as compared to responsibility based modeling, per D. Taylor's Object Technology: A Managers Guide.
Thanks
BJKerser



This is an interesting and very open-ended question. I hope my rely is of some use. I have not read this book since 1998 and do not have a copy but I believe he defined OO as
1. Polymorphism (here is where he referred to messages)
2. Inheritance
3. Encapsulation.

In his book the role of the "Message" was discussed at length. I do not recall any discussion of modelling techniques - I could be mistaken. I think the term "Message" was originally defined by SIMULA - once again I could be mistaken.
Anyway - when a class is modelled typically attributes(properties), methods and relationships will be captured. Many time the scope/visibility of each of the above is also captured. I believe that messages could arguably be considered the public interface of a class.
I hope this serves to start a discussion and or a request for clarification or elaboration.

Brian Leonard
 Posted 19 years ago
Comment Quote
About deleted_member -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #335 (Level 1.3)  Reply to 331
Reply Posted 12/20/2000 12:35:00 PM
Location=-- USA 
Joined=12 years ago   MB Posts=184  
Deleted Member

Originally posted by bjkersey:
Brian,
Thanks for the reply. You are right, there is no "message based modeling". As you can tell, I am still trying to figure out how all this works. We are using CFObjects for Cold Fusion and trying to build an HR Portal that supports Payroll, Benefits, HR and other departments. This means (we think) that the attributes for an employee for a Benefits user are a lot diffrent than the attributes for a Payroll user, but we really like the idea that either of these would be able to udate the employee phone number, for example. Thanks again for the reply.
BJKersey



Without doing some ColdFusion research I cannot give you implementation level information - but the concepts you are considering are exactly the power of OOA and D.
The problem you described is commonly solved using a class hierarchy and inheritance. At the top of the hierarchy you define a base class (i.e person) that has the common or generalized atributes of all member classes (i.e. name, email, phone etc.)
Then specialization or descendant classes would be defined that have the attributes that are specific or meaningfull to the class being described (i.e. Customer might have a credit card number while and Employee would have a hire date - since both classes extend Person they also both have the name, email and phone attributes defined in Person.)
The problems you are dealing with are not unique and ther have been significant efforts defing a set of business related classes.
I suggest looking here
Old UBB Archived Link: [URL=http://www4.ibm.com/software/ad/sanfrancisco/.]http://www4.ibm.com/software/ad/sanfrancisco/.[/URL]

This is one example of a set of business objects implemented in this case using JAVA.
Of course you can develop your own - I have many many times and each time I did a better job.
Now I spend more time researching others efforts, applying design patterns to solve problems and adopting or extending the applicable efforts of others to design each process automation solution.
Let me know if I can be of any more help.
Brian Leonard
Do you know UML? Do you have any modelling tools - I could send an example model of a class hierarchy if you like.
 Posted 19 years ago
Comment Quote
About deleted_member -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #339 (Level 1.4)  Reply to 331
Reply Posted 12/20/2000 5:03:00 PM
Location=-- USA 
Joined=12 years ago   MB Posts=184  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1123A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #331 Counter
3190
Since 4/2/2008

Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech