Click here to Skip to main content
15,892,746 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
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 
AnswerRe: Student needs help designing a OOP program Pin
Eddy Vluggen23-May-12 0:27
professionalEddy Vluggen23-May-12 0:27 
GeneralRe: Student needs help designing a OOP program Pin
Paul Conrad24-May-12 13:04
professionalPaul Conrad24-May-12 13:04 
AnswerRe: Student needs help designing a OOP program Pin
iPick1224-May-12 3:37
iPick1224-May-12 3:37 
AnswerRe: Student needs help designing a OOP program Pin
kishhr22-Jun-12 9:04
kishhr22-Jun-12 9:04 
QuestionLocalization - market possibilities vs. custom tool Pin
hoernchenmeister21-May-12 4:32
hoernchenmeister21-May-12 4:32 
GeneralRe: Localization - market possibilities vs. custom tool Pin
Manfred Rudolf Bihy21-May-12 4:52
professionalManfred Rudolf Bihy21-May-12 4:52 
GeneralRe: Localization - market possibilities vs. custom tool Pin
hoernchenmeister21-May-12 5:03
hoernchenmeister21-May-12 5:03 

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.