Click here to Skip to main content
15,867,835 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Design Pattern advice Pin
Rob Grainger6-Jul-21 11:40
Rob Grainger6-Jul-21 11:40 
AnswerRe: Design Pattern advice Pin
Gerry Schmitz16-Nov-20 7:24
mveGerry Schmitz16-Nov-20 7:24 
QuestionData Class for data combined from Other Classes Pin
cjb11010-Nov-20 21:27
cjb11010-Nov-20 21:27 
AnswerRe: Data Class for data combined from Other Classes Pin
Richard Deeming10-Nov-20 21:50
mveRichard Deeming10-Nov-20 21:50 
AnswerRe: Data Class for data combined from Other Classes Pin
Gerry Schmitz10-Nov-20 21:53
mveGerry Schmitz10-Nov-20 21:53 
AnswerRe: Data Class for data combined from Other Classes Pin
Mycroft Holmes11-Nov-20 11:07
professionalMycroft Holmes11-Nov-20 11:07 
GeneralRe: Data Class for data combined from Other Classes Pin
cjb11011-Nov-20 19:20
cjb11011-Nov-20 19:20 
Questionn-Tier Design Question Pin
Kevin Marois2-Nov-20 7:10
professionalKevin Marois2-Nov-20 7:10 
I'm working on a busisness app for a client. Right now it's a WPF app. I have the UI layer, the BL, and the DAL. 99% of the BL just passes the call to & from the UI/DAL.

Now, I'm going to be introducing a Tablet piece. In the WPF app's ViewModels I have a Validate method which checks to see if the required fields are filled in, and also some business logic. One example is "You cannnot save a Job if the Approiver has not been set"

So, in the tablet app, I'm going to want to do the same logic.... when the user clicks Save, validate required fields and apply business rules. So It seems to me that the BL is a good place for this.

However, its also seems that passing all the data across the web to a Web API, only to have it rejected in the BL, isn't right.

Is this the right approach?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.


modified 2-Nov-20 15:34pm.

AnswerRe: n-Tier Design Question Pin
Richard Deeming2-Nov-20 22:16
mveRichard Deeming2-Nov-20 22:16 
GeneralRe: n-Tier Design Question Pin
Kevin Marois3-Nov-20 6:16
professionalKevin Marois3-Nov-20 6:16 
AnswerRe: n-Tier Design Question Pin
TimWallace23-Feb-21 22:54
TimWallace23-Feb-21 22:54 
RantWhen will developers stop using dynamic/asynchronous loading of pages/links/button Pin
Member 1124694812-Oct-20 5:15
Member 1124694812-Oct-20 5:15 
AnswerRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
Richard MacCutchan12-Oct-20 5:23
mveRichard MacCutchan12-Oct-20 5:23 
AnswerRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
Dave Kreskowiak12-Oct-20 8:27
mveDave Kreskowiak12-Oct-20 8:27 
GeneralRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
Greg Utas12-Oct-20 10:00
professionalGreg Utas12-Oct-20 10:00 
GeneralRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
Gerry Schmitz12-Oct-20 10:57
mveGerry Schmitz12-Oct-20 10:57 
GeneralRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
Richard MacCutchan12-Oct-20 20:56
mveRichard MacCutchan12-Oct-20 20:56 
GeneralRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
Gerry Schmitz12-Oct-20 22:20
mveGerry Schmitz12-Oct-20 22:20 
GeneralRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
Richard MacCutchan12-Oct-20 22:27
mveRichard MacCutchan12-Oct-20 22:27 
GeneralRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
Gerry Schmitz12-Oct-20 22:57
mveGerry Schmitz12-Oct-20 22:57 
GeneralRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
Richard MacCutchan13-Oct-20 2:45
mveRichard MacCutchan13-Oct-20 2:45 
GeneralRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
ZurdoDev13-Oct-20 3:16
professionalZurdoDev13-Oct-20 3:16 
AnswerRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
ZurdoDev13-Oct-20 3:15
professionalZurdoDev13-Oct-20 3:15 
GeneralRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
GenJerDan14-Oct-20 22:20
GenJerDan14-Oct-20 22:20 
GeneralRe: When will developers stop using dynamic/asynchronous loading of pages/links/button Pin
ZurdoDev15-Oct-20 1:07
professionalZurdoDev15-Oct-20 1:07 

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.