Re: sale.submit() or submitter.submit(sale)
- From: "Daniel T." <daniel_t@xxxxxxxxxxxxx>
- Date: Sun, 27 Jan 2008 20:17:32 -0500
greatlord_5@xxxxxxxxxxx wrote:
I am a newbie to OOD.
The basic philosophy says, prefer methods that inform the object of
external state changes.
There is a sale that has to be posted to a ledger. The ledger is on a
mainframe and the sale comes from the web. The operation of submitting
the sale to the ledger is a big one and can be successful, failed or
undefined.
A basic handshake protocol will suffice. No need to add a submitter
class is there?
.
- References:
- sale.submit() or submitter.submit(sale)
- From: greatlord_5
- sale.submit() or submitter.submit(sale)
- Prev by Date: Re: Refactoring into ravioli code
- Next by Date: Re: Use cases email system
- Previous by thread: Re: sale.submit() or submitter.submit(sale)
- Next by thread: Re: sale.submit() or submitter.submit(sale)
- Index(es):