|
I did feel I'd picked a good example, yes. I've learned that all the problems we face in the business environment are present in this example. But Joe... you answered a question I didn't ask. I said "adding an address" Where I was going with this example was i wanted to see which layer determined that "Qu" was an invalid entry, and how it would respond. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@MartinVT.com --------------------------------------------------------- -------Original Message------- From: midrange-l@midrange.com Date: Tuesday, November 26, 2002 12:37:13 PM To: midrange-l@midrange.com Subject: RE: Application design > From: Booth Martin > > Right. Good idea. Lets see an example Joe. Perhaps a simple > example:adding an address to a person's name. They live in Quebec, Canada > and have provided "Qu" as their province. (Quebec is usually "PQ") > > We don't need real code, but what does get done where? This actually kind of a cool example. Let's say that you start out with a standard customer file, with a customer name, address and all that jazz. You might define a business entity to be "Address", which contains a bunch of attributes, including street address, state/province, postal code, and so on. Your code is simple: GetAddress(customer)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.