Click here to Skip to main content
15,881,709 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: In OO, How to handle the object parameter of a method Pin
Bohdan Stupak6-Apr-21 22:20
professionalBohdan Stupak6-Apr-21 22:20 
GeneralRe: In OO, How to handle the object parameter of a method Pin
Rob Grainger6-Jul-21 11:11
Rob Grainger6-Jul-21 11:11 
GeneralRe: In OO, How to handle the object parameter of a method Pin
Bohdan Stupak24-Jul-21 23:40
professionalBohdan Stupak24-Jul-21 23:40 
QuestionHow can a method return a validation result Pin
codecs112-Mar-21 19:54
codecs112-Mar-21 19:54 
AnswerRe: How can a method return a validation result Pin
Gerry Schmitz13-Mar-21 7:56
mveGerry Schmitz13-Mar-21 7:56 
AnswerRe: How can a method return a validation result Pin
Mycroft Holmes13-Mar-21 11:13
professionalMycroft Holmes13-Mar-21 11:13 
AnswerRe: How can a method return a validation result Pin
Eddy Vluggen13-Mar-21 12:11
professionalEddy Vluggen13-Mar-21 12:11 
AnswerRe: How can a method return a validation result Pin
codecs113-Mar-21 19:02
codecs113-Mar-21 19:02 
Thanks for all your replies!! I have gotten the idea that the caller must validate the data first.

But if it is a DLL static method for providing services to the upper presentation layer such as Winform, Webform, Asp.net Mvc, WCF or WPF:
public static List<Student> FindStudents(StudentCriteria sc);
The presentation layer has no any idea or logic on the Student and also StudentCriteria.
It just calls the static service using the information such as age or Name to get List<Student>

If you are the developer of such service layer, how do you design the signature of the stateless
method FindStudents(...)?
(i.e. For the service consumer, All he needs to know is just to call one service and get the data)

modified 14-Mar-21 21:23pm.

AnswerRe: How can a method return a validation result Pin
Richard Deeming14-Mar-21 22:21
mveRichard Deeming14-Mar-21 22:21 
GeneralRe: How can a method return a validation result Pin
codecs116-Mar-21 0:15
codecs116-Mar-21 0:15 
Questionwhat is types of Architecturel rendering ? Pin
Member 1506545021-Feb-21 23:46
Member 1506545021-Feb-21 23:46 
AnswerRe: what is types of Architecturel rendering ? Pin
Victor Nijegorodov22-Feb-21 1:19
Victor Nijegorodov22-Feb-21 1:19 
QuestionHow to store data to be able to report on it. Pin
20212a11-Feb-21 7:05
20212a11-Feb-21 7:05 
AnswerRe: How to store data to be able to report on it. Pin
Gerry Schmitz11-Feb-21 7:15
mveGerry Schmitz11-Feb-21 7:15 
GeneralRe: How to store data to be able to report on it. Pin
20212a11-Feb-21 7:33
20212a11-Feb-21 7:33 
GeneralRe: How to store data to be able to report on it. Pin
Gerry Schmitz11-Feb-21 7:45
mveGerry Schmitz11-Feb-21 7:45 
GeneralRe: How to store data to be able to report on it. Pin
Mycroft Holmes11-Feb-21 10:07
professionalMycroft Holmes11-Feb-21 10:07 
QuestionWhat are some intuitive ways to visually show communication packets between several devices, as well as general debug information? Pin
arnold_w1-Feb-21 7:47
arnold_w1-Feb-21 7:47 
AnswerRe: What are some intuitive ways to visually show communication packets between several devices, as well as general debug information? Pin
Greg Utas1-Feb-21 8:05
professionalGreg Utas1-Feb-21 8:05 
GeneralRe: What are some intuitive ways to visually show communication packets between several devices, as well as general debug information? Pin
arnold_w1-Feb-21 8:30
arnold_w1-Feb-21 8:30 
QuestionSystem Monitoring Pin
aslamkazi24-Jan-21 20:53
aslamkazi24-Jan-21 20:53 
AnswerRe: System Monitoring Pin
Richard MacCutchan24-Jan-21 22:06
mveRichard MacCutchan24-Jan-21 22:06 
QuestionShould this be its own class? Pin
RobertSF18-Jan-21 7:23
professionalRobertSF18-Jan-21 7:23 
AnswerRe: Should this be its own class? Pin
Matthew Dennis18-Jan-21 7:40
sysadminMatthew Dennis18-Jan-21 7:40 
AnswerRe: Should this be its own class? Pin
Richard MacCutchan18-Jan-21 22:18
mveRichard MacCutchan18-Jan-21 22:18 

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.