Click here to Skip to main content
15,886,258 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
GFRANTA25-May-12 11:22
GFRANTA25-May-12 11:22 
QuestionRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
Maximilien25-May-12 12:34
Maximilien25-May-12 12:34 
AnswerRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
Eddy Vluggen26-May-12 2:49
professionalEddy Vluggen26-May-12 2:49 
GeneralRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
Maximilien26-May-12 8:06
Maximilien26-May-12 8:06 
QuestionCross cutting concerns Pin
Leslie Sanford25-May-12 3:43
Leslie Sanford25-May-12 3:43 
AnswerRe: Cross cutting concerns Pin
Eddy Vluggen25-May-12 3:52
professionalEddy Vluggen25-May-12 3:52 
GeneralRe: Cross cutting concerns Pin
jschell25-May-12 9:02
jschell25-May-12 9:02 
AnswerRe: Cross cutting concerns Pin
jschell25-May-12 9:12
jschell25-May-12 9:12 
Leslie Sanford wrote:
I was wondering if there are any design patterns in object oriented programming that address cross cutting concerns,


As stated I doubt it. There might be a pattern for specific situations but I don't suppose it can be generalized for all situations.

Leslie Sanford wrote:
You want to log (a classic cross cutting concern) the results of this method, so you create a decorator class to wrap the original class


Nope. Not how I would do it at all. I have been doing logging for 20 years and originally I thought that very idea (logging on all methods) was a good approach. Spending that same 20 years creating back end servers and some with very high volumes I now realize that that sort of approach does not work. One must carefully place logging with careful consideration, otherwise one must deal with massive logs (hundreds of gigs daily) and be overwhelmed with non-essential data when trying to diagnose the very problems that logs exist to solve.

I suspect that a database API layer where one wants logging might be a better example in that one might want to track the actual database calls. However for a case like that I would generate the API code anyways rather than trying to dynamically impose a solution.
AnswerRe: Cross cutting concerns Pin
Ed K6-Jun-12 3:49
Ed K6-Jun-12 3:49 
AnswerRe: Cross cutting concerns Pin
Keld Ølykke20-Jun-12 6:00
Keld Ølykke20-Jun-12 6:00 
QuestionScope For Hospital Management Pin
santosh_pathak22-May-12 21:57
santosh_pathak22-May-12 21:57 
AnswerRe: Scope For Hospital Management Pin
Pete O'Hanlon22-May-12 22:06
mvePete O'Hanlon22-May-12 22:06 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak22-May-12 22:14
santosh_pathak22-May-12 22:14 
GeneralRe: Scope For Hospital Management Pin
Pete O'Hanlon22-May-12 22:21
mvePete O'Hanlon22-May-12 22:21 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak22-May-12 22:25
santosh_pathak22-May-12 22:25 
GeneralRe: Scope For Hospital Management Pin
Vivi Chellappa27-May-12 21:51
professionalVivi Chellappa27-May-12 21:51 
AnswerRe: Scope For Hospital Management Pin
Bernhard Hiller22-May-12 22:30
Bernhard Hiller22-May-12 22:30 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak22-May-12 22:55
santosh_pathak22-May-12 22:55 
AnswerRe: Scope For Hospital Management Pin
jschell23-May-12 10:28
jschell23-May-12 10:28 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak23-May-12 17:15
santosh_pathak23-May-12 17:15 
GeneralRe: Scope For Hospital Management Pin
jschell24-May-12 8:29
jschell24-May-12 8:29 
AnswerRe: Scope For Hospital Management Pin
wizardzz5-Jun-12 6:49
wizardzz5-Jun-12 6:49 
AnswerRe: Scope For Hospital Management Pin
kishhr22-Jun-12 9:02
kishhr22-Jun-12 9:02 
QuestionStudent needs help designing a OOP program Pin
Dora Gaxiola22-May-12 13:44
Dora Gaxiola22-May-12 13:44 
AnswerRe: Student needs help designing a OOP program Pin
Richard MacCutchan22-May-12 22:47
mveRichard MacCutchan22-May-12 22:47 

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.