473,406 Members | 2,273 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

C# design question

Hi all,

I need someone to push me in the right direction. Most of my projects
at work are small tracking applications that help people generate
month end production reports, i.e. (This many users did this many
items between these dates). I have already developed several and they
all do pretty much the same thing, log an item in and timestamp it
each time someone touches it. Well I have been asked to build another
one and decided I am tired of cuting and pasting a lot of code. My
goal, if possible, is to build a workflow framework that I can reuse.
I would also like to have a common interface for this framework.
Kindof like a portal that I can just add modules to each time someone
wants a new tracking system. Does anyone have any good books they can
point me too or concepts they can share with me. I have looked on the
web and at bookstore but I have not found a good referecne for what I
want to do. Also I am new to the whole dotnet\c# thing, I come from
vb5\6 background, so if there is something in the framework that
already does this please let me know, I don't want to reinvent the
wheel.

Thanks

Frank
Nov 15 '05 #1
4 1282

"Frank" <fp***@hotmail.com> wrote in message
news:bd**************************@posting.google.c om...
Hi all,

I need someone to push me in the right direction. Most of my projects
at work are small tracking applications that help people generate
month end production reports, i.e. (This many users did this many
items between these dates). I have already developed several and they
all do pretty much the same thing, log an item in and timestamp it
each time someone touches it. Well I have been asked to build another
one and decided I am tired of cuting and pasting a lot of code. My
goal, if possible, is to build a workflow framework that I can reuse.
I would also like to have a common interface for this framework.
Kindof like a portal that I can just add modules to each time someone
wants a new tracking system. Does anyone have any good books they can
point me too or concepts they can share with me. I have looked on the
web and at bookstore but I have not found a good referecne for what I
want to do. Also I am new to the whole dotnet\c# thing, I come from
vb5\6 background, so if there is something in the framework that
already does this please let me know, I don't want to reinvent the
wheel.

Thanks

Frank


It is difficult to know exactly how you want to structure your 'framework',
but 3 basic design patterns appear to be evident - the Abstract Factory
(different modules), the Bridge (different implementation for similar
objects), and the Strategy pattern (different business rules depending on
context).

The simplest way to get started is to draw up your basic things, then find
what varies and encapsulate it (always favoring compostition over
inheritance). What 'thingy' (implementaion, algorithms, or whole objects) is
actually changing with each revision/additional/... will lead you to a
solution. (One of many probably - note there is seldom a single 'correct'
solution outside the aspects of your specific problem domain.)

When you think you have an idea of which way to go, then a Google search
should turn up a few C# implementations of the pattern you need.

I appreciate that this response is likely too vague and not as concrete as
what you were looking for <g>.

HTH
-ralph
Nov 15 '05 #2
Frank,

Even though your application is in C#, I don't think that is at the
heart of the issue that you are addressing. You probably are
unnecessarily restricting your search for help in looking only for
solutions that pertain to .NET or C#.

A book I read that really helped me to see software solutions in a whole
new way was The Pragmatic Programmer by Andrew Hunt and David Thomas.
You can buy it at bookstores, or you can get it at their (excellent)
site, http://pragmaticprogrammer.com.

I think that you, also, will find the book very useful.

-Mike Gage


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #3
I have that book to .... it's one of my favourites

"Mike Gage" <mi******@mikegage.com> wrote in message
news:uk******************@TK2MSFTNGP12.phx.gbl...
Frank,

Even though your application is in C#, I don't think that is at the
heart of the issue that you are addressing. You probably are
unnecessarily restricting your search for help in looking only for
solutions that pertain to .NET or C#.

A book I read that really helped me to see software solutions in a whole
new way was The Pragmatic Programmer by Andrew Hunt and David Thomas.
You can buy it at bookstores, or you can get it at their (excellent)
site, http://pragmaticprogrammer.com.

I think that you, also, will find the book very useful.

-Mike Gage


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #4
I have that book to .... it's one of my favourites

"Mike Gage" <mi******@mikegage.com> wrote in message
news:uk******************@TK2MSFTNGP12.phx.gbl...
Frank,

Even though your application is in C#, I don't think that is at the
heart of the issue that you are addressing. You probably are
unnecessarily restricting your search for help in looking only for
solutions that pertain to .NET or C#.

A book I read that really helped me to see software solutions in a whole
new way was The Pragmatic Programmer by Andrew Hunt and David Thomas.
You can buy it at bookstores, or you can get it at their (excellent)
site, http://pragmaticprogrammer.com.

I think that you, also, will find the book very useful.

-Mike Gage


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Don Vaillancourt | last post by:
Hello all, Over the years as I design more database schemas the more I come up with patterns in database design. The more patterns I recognize the more I want to try to design some kind of...
9
by: sk | last post by:
I have an applicaton in which I collect data for different parameters for a set of devices. The data are entered into a single table, each set of name, value pairs time-stamped and associated with...
17
by: tshad | last post by:
Many (if not most) have said that code-behind is best if working in teams - which does seem logical. How do you deal with the flow of the work? I have someone who is good at designing, but...
19
by: neelsmail | last post by:
Hi, I have been working on C++ for some time now, and I think I have a flair for design (which just might be only my imagination over- stretched.. :) ). So, I tried to find a design...
8
by: indrawati.yahya | last post by:
In a recent job interview, the interviewer asked me how I'd design classes for the following problem: let's consider a hypothetical firewall, which filters network packets by either IP address,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.