Re: Long Life Objects



Thanks fo the post Mark Nicholls. Fowler's enterprise patterns are
mentioned often and I will take a look at them.

Lahman

So before I can speculate on an answer you are going to have to put some
more words around what you want to do with defaults.

Let me give the GUI scenario for an Admin user:
1) User loads the application for the first time and no address types
are predefined.
2) User must create whatever address types are desired with no
restriction on quantity or naming.
3) User decides to create two address types named 'Delivery 1' and
'Delivery 2'. Please note that no actual addresses have been created
yet, the user is just defining types.
4) When creating the 'Delivery 1', user selects a checkbox 'Use this
as the default delivery address type for all customers'.

Following this sequence, any 'Delivery 1' addresses that are created
in the future will be used as the default for all areas of the app
that require the selection of a delivery address, on the basis that it
will be the correct one 90% of the time. This is the purpose of the
'isDefault' attribute of AddressType as it currently stands. I would
be perfectly happy to scrap [AddressType] but would then need a way to
remember that every Delivery 1 Address that was created in the future
should have a true attribute 'isDefault'.

Hope that explains it clearly.

.



Relevant Pages

  • Re: Sent Email I did not Send
    ... prepared for more spam ... This is not the first time I have received an email ... >> delivery. ... >> The reason your mail is being returned to you is listed ...
    (microsoft.public.outlook.installation)
  • Re: Sending recorded delivery letters to BT
    ... in delivery being recorded, even if you pay for advice of delivery in ... The first time this happened RM sent a book of stamps, ...
    (uk.telecom)
  • Re: OT - online supermarkets - home delivery
    ... all the 'fridge' stuff was missing - an odd name ... since some of it's for the freezer). ... First time this happened I asked ... time for the 5-7pm delivery guy to finish early with my delivery* ...
    (uk.media.tv.misc)
  • Re: Access Query Delivery Using Time Blocks
    ... google groups and I wasn't sure if my first post was in the correct ... manage delivery logistics for items I rent out. ... use to record delivery date, delivery time, pickup date, pickup time, ... We heard you the first time. ...
    (comp.databases.ms-access)
  • Re: MPH in the UK
    ... milk for a long, long time. ... a morning delivery, and once around 6pm as he does the evening round. ... Last year he said hello to me for the first time. ... Wet Yorks via Cambridge, York, London and Watford ...
    (alt.usage.english)