Re: OOP/OOD Philosophy
- From: "frebe" <fredrik_bertilsson@xxxxxxxxxxx>
- Date: 9 Jul 2005 12:19:51 -0700
> "I'm sorry, but we didn't plan for XML. So, you can't without,
> essentially, a rewrite."
Lets say you have these classes with the given properties:
class Customer
-CustomerID
-Name
-Telephone
class Order
-OrderID
-CustomerID
-DeliveryDate
class OrderRow
-OrderID
-PartNo
-Quantity
class Part
-PartNo
-Description
How would the DTD for your XML look like? If you want to find all
customers that ordered a given part, how would you implement that
search? How would you do to check that only existing PartNo are entered
by the user?
Fredrik Bertilsson
http://butler.sourceforge.net
.
- Follow-Ups:
- Re: OOP/OOD Philosophy
- From: Phlip
- Re: OOP/OOD Philosophy
- References:
- Re: OOP/OOD Philosophy
- From: Nick Malik [Microsoft]
- Re: OOP/OOD Philosophy
- From: topmind
- Re: OOP/OOD Philosophy
- From: Robert C . Martin
- Re: OOP/OOD Philosophy
- From: topmind
- Re: OOP/OOD Philosophy
- From: Robert C . Martin
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Robert C . Martin
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Michael Feathers
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Phlip
- Re: OOP/OOD Philosophy
- From: Michael Feathers
- Re: OOP/OOD Philosophy
- Prev by Date: Re: OOP/OOD Philosophy
- Next by Date: Re: OOP/OOD Philosophy
- Previous by thread: Re: OOP/OOD Philosophy
- Next by thread: Re: OOP/OOD Philosophy
- Index(es):