Re: EOModeler...
Re: EOModeler...
- Subject: Re: EOModeler...
- From: Kieran Kelleher <email@hidden>
- Date: Sat, 10 Jan 2004 08:12:58 -0500
James,
IMHO, Object or Class discovery and design is the most difficult
concept for a WO beginner who may have not done true Object Oriented
Programming in Java or C++ before. A lot of the books and training
teach you the mechanics of code, syntax and approaches to do this or
that in code, but few really "teach" you how to design an object model
for your system. I have found the book "Beginning Java Objects" by
Jacquie Barker to be a great help. Also the book "UML Distilled" by
Martin Fowler is a good book.
Starting off with a simple short Functional Spec, (see this link......
http://www.joelonsoftware.com/articles/fog0000000036.html ) and then
using noun discovery, synonym grouping and elimination combined with
the I CRC cards technique (see this link to a white paper from OOPSLA
conference on CRC cards......
http://c2.com/doc/oopsla89/paper.html ) for deciding which classes I
need.
Then after thinking about required attributes and writing them on the
back of the CRC cards, I open EOModeler and start modeling, but up to
that point, I have been working on paper and a whiteboard!
After such an approach, you may discover that you need other classes
such as "User" classes to represent the actors that log in, manipulate
and view data, "Customer" class (subclass of User) to represent people
that the projects are for, "Admin" class for people who manipulate
users and customers, "ProjectTeamMember" class for people that work on
the project and add updates, "MileStone" class for project milestones,
etc.
I wish you success with your project.
- K
____________________________________
OS X 10.3.2 / WO 5.2.2 / MySQL 4.0.16
On Jan 10, 2004, at 12:05 AM, james cicenia wrote:
OK-
I have been throughly "righted" in my perspective. I think.
In my application I will have ProjectRequest objects and Project
objects. These two objects "are" currently stored in the database
as one Project table.
Is the EOM way to make a Project entity subclass the ProjectRequest
entity with both being set to the Project table in the database?
Or, do I make two tables out of the Project table?
I think the answer to these questions will really help me truly
understand
EOModeler. Then I can go on to learn WebObjects to actually build this
web app.
-James
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >EOModeler... (From: james cicenia <email@hidden>) |