Re: Is this correct OO design?
- From: cmo63126@xxxxxxxxx
- Date: 15 Apr 2005 07:55:54 -0700
No it's not a concurrency-related issue. I have a news portion of my
web app. where each news article has the potential for a document
library associated with it. if the user creates a press release and
wants to upload related documentation, they have the ability to do so.
there's 3 areas that potentially must be modified when an article has
changed:
1. Articles Table: housing all data related to article itself
Fields include: (title, summary, body, opendate, closedate,
DepartmentName, DocLibraryID (see 2.), etc...
2. DocLibrary Table: housing all documents (if any) associated with a
given article.
Fields include: (ArticleID, FilePath, other irrelevant fields)
3. Physical Directory where docs are stored.
when the article is updated - I assuming it's the proper way of doing
so - I start my changes from the bottom up in steps 3-2-1 fashion.
I my example I need to check if the user has modified the article to
display under a different department or has changed its display date.
This will effect the physical path to the article's document library.
for example:
Original article: Created for "Public Relations" on January 31, 2005
path: /Docs/News/PublicRelations/2005_01_31/
Updated article: Moved to "General News" on April 15, 2005
new path: /Docs/News/GeneralNews/2005_04_15/
.
- Follow-Ups:
- Re: Is this correct OO design?
- From: Nick Malik [Microsoft]
- Re: Is this correct OO design?
- References:
- Is this correct OO design?
- From: cmo63126
- Re: Is this correct OO design?
- From: Nick Malik [Microsoft]
- Is this correct OO design?
- Prev by Date: Question on Service Controller
- Next by Date: Re: Run .NET application without install the framework
- Previous by thread: Re: Is this correct OO design?
- Next by thread: Re: Is this correct OO design?
- Index(es):