Click here to Skip to main content
15,915,975 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionA library/design and storage question Pin
Rip Kirby7-Feb-07 22:27
Rip Kirby7-Feb-07 22:27 
AnswerRe: A library/design and storage question Pin
led mike8-Feb-07 11:45
led mike8-Feb-07 11:45 
QuestionFat file system design Pin
harsha_12347-Feb-07 21:15
harsha_12347-Feb-07 21:15 
AnswerRe: Fat file system design Pin
Steve S7-Feb-07 21:39
Steve S7-Feb-07 21:39 
QuestionHow do I approach a SDI application? Pin
Bob Pokorny5-Feb-07 18:27
Bob Pokorny5-Feb-07 18:27 
AnswerRe: How do I approach a SDI application? Pin
Code_Doctor16-Apr-07 17:50
Code_Doctor16-Apr-07 17:50 
QuestionWhat are better tools or methods to prepare design document(DSD) in asp.net Pin
suriee5-Feb-07 5:27
suriee5-Feb-07 5:27 
QuestionA Question of Object Architecture Pin
Roger Wright1-Feb-07 19:14
professionalRoger Wright1-Feb-07 19:14 
I'm considering embarking on my first C# adventure by way of creating an inventory system for the electrical power industry. I spent much of tonight trying to lay out an object heirarchy and only ended up confusing myself.

The top level class, InventoryItem, is a no-brainer. The next level is almost as simple - Overhead, Underground, Substation, Multi-use. Then it starts to get complicated. For example, a simple disconnect comes in multiple flavors - solid blade or fused, 15kV or 25kV, 200A or 600A, load-breaking or non-load-breaking, ganged or single-phase, 1-, 2, or 3-pole. That I can deal with by creating subclasses. But each type is made by multiple manufacturers, and sold by multiple vendors, each with its own pricing. No one vendor sells all products from a single manufacturer, and no manufacturer sells all products through one vendor. Each vendor's pricing is different, even for the same item from the same manufacturer, and prices change weekly. To make matters more interesting, several manufacturers make the same item, interchangeable at will, and we stock equivalent parts from multiple manufacturers and vendors as one SKU.

The goal here is to keep track of inventory items at the vendor/manufacturer level, but accumulate costs at the SKU level to be used for estimating future jobs.

Can someone among you geniuses suggest a logical class heirachy for this mess? I think the coding will be fairly straightforward, but the difference between a raging success and a dismal failure lies in getting the structure right from the get-go. Thanks, in advance, if you have a useful suggestion.

"...a photo album is like Life, but flat and stuck to pages." - Shog9

AnswerRe: A Question of Object Architecture Pin
Captain See Sharp4-Feb-07 15:43
Captain See Sharp4-Feb-07 15:43 
GeneralRe: A Question of Object Architecture Pin
DavidNohejl5-Feb-07 22:10
DavidNohejl5-Feb-07 22:10 
AnswerRe: A Question of Object Architecture Pin
#1236-Feb-07 0:05
#1236-Feb-07 0:05 
AnswerRe: A Question of Object Architecture Pin
cmk6-Feb-07 0:23
cmk6-Feb-07 0:23 
GeneralRe: A Question of Object Architecture Pin
Roger Wright7-Feb-07 13:24
professionalRoger Wright7-Feb-07 13:24 
GeneralRe: A Question of Object Architecture Pin
cmk7-Feb-07 16:47
cmk7-Feb-07 16:47 
AnswerRe: A Question of Object Architecture Pin
Pete O'Hanlon6-Feb-07 1:41
mvePete O'Hanlon6-Feb-07 1:41 
GeneralRe: A Question of Object Architecture Pin
Roger Wright7-Feb-07 13:12
professionalRoger Wright7-Feb-07 13:12 
QuestionNDIS Miniport Driver Pin
hkshah1-Feb-07 3:26
hkshah1-Feb-07 3:26 
AnswerRe: NDIS Miniport Driver Pin
Pete O'Hanlon1-Feb-07 4:45
mvePete O'Hanlon1-Feb-07 4:45 
QuestionDIME, Binary SOAP - sending email with attachment problem Pin
sharmankit30-Jan-07 8:20
sharmankit30-Jan-07 8:20 
QuestionQuesting regarding a triggered execution system Pin
JMP130-Jan-07 3:57
JMP130-Jan-07 3:57 
AnswerRe: Questing regarding a triggered execution system Pin
Pete O'Hanlon30-Jan-07 4:11
mvePete O'Hanlon30-Jan-07 4:11 
Question3tier app in vs 2005 Pin
amc404224-Jan-07 21:05
amc404224-Jan-07 21:05 
AnswerRe: 3tier app in vs 2005 Pin
Pete O'Hanlon24-Jan-07 23:52
mvePete O'Hanlon24-Jan-07 23:52 
GeneralRe: 3tier app in vs 2005 Pin
amc404225-Jan-07 6:11
amc404225-Jan-07 6:11 
GeneralRe: 3tier app in vs 2005 Pin
Pete O'Hanlon25-Jan-07 8:37
mvePete O'Hanlon25-Jan-07 8:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.