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

Design and Architecture

 
QuestionHow to design a UX-UI Website ? Pin
RochaMartinez66831-May-23 23:13
RochaMartinez66831-May-23 23:13 
AnswerRe: How to design a UX-UI Website ? Pin
Gerry Schmitz1-Jun-23 5:02
mveGerry Schmitz1-Jun-23 5:02 
AnswerRe: How to design a UX-UI Website ? Pin
Shashank Sharma 20237-Jun-23 23:50
professionalShashank Sharma 20237-Jun-23 23:50 
QuestionObject Creation - Whose Responsibility Pin
Richard Andrew x6417-May-23 14:25
professionalRichard Andrew x6417-May-23 14:25 
AnswerRe: Object Creation - Whose Responsibility Pin
Gerry Schmitz17-May-23 17:50
mveGerry Schmitz17-May-23 17:50 
GeneralRe: Object Creation - Whose Responsibility Pin
Richard Andrew x6418-May-23 14:10
professionalRichard Andrew x6418-May-23 14:10 
GeneralRe: Object Creation - Whose Responsibility Pin
Gerry Schmitz18-May-23 18:48
mveGerry Schmitz18-May-23 18:48 
GeneralRe: Object Creation - Whose Responsibility Pin
Eddy Vluggen20-May-23 3:20
professionalEddy Vluggen20-May-23 3:20 
AnswerRe: Object Creation - Whose Responsibility Pin
jschell19-May-23 7:52
jschell19-May-23 7:52 
GeneralRe: Object Creation - Whose Responsibility Pin
Richard Andrew x6420-May-23 3:26
professionalRichard Andrew x6420-May-23 3:26 
QuestionBest Java dashboard library with React JS Pin
senthil kumar Apr20232-Apr-23 2:39
senthil kumar Apr20232-Apr-23 2:39 
AnswerRe: Best Java dashboard library with React JS Pin
jschell18-May-23 6:00
jschell18-May-23 6:00 
QuestionApp Update Framework Pin
Kevin Marois14-Mar-23 6:37
professionalKevin Marois14-Mar-23 6:37 
AnswerRe: App Update Framework Pin
jschell17-Apr-23 6:00
jschell17-Apr-23 6:00 
AnswerRe: App Update Framework Pin
Mycroft Holmes17-Apr-23 12:41
professionalMycroft Holmes17-Apr-23 12:41 
QuestionProject - develop a classified ads website Pin
Charlotte Dunand14-Mar-23 1:15
Charlotte Dunand14-Mar-23 1:15 
AnswerRe: Project - develop a classified ads website Pin
jschell16-Mar-23 11:10
jschell16-Mar-23 11:10 
QuestionHow do you like them PIMPLs Pin
Mircea Neacsu5-Mar-23 15:36
Mircea Neacsu5-Mar-23 15:36 
AnswerRe: How do you like them PIMPLs Pin
jschell16-Mar-23 11:20
jschell16-Mar-23 11:20 
GeneralRe: How do you like them PIMPLs Pin
Mircea Neacsu16-Mar-23 15:05
Mircea Neacsu16-Mar-23 15:05 
GeneralRe: How do you like them PIMPLs Pin
jschell20-Mar-23 6:25
jschell20-Mar-23 6:25 
QuestionDTO to UI, or not? Pin
Single Step Debugger3-Feb-23 7:58
Single Step Debugger3-Feb-23 7:58 
AnswerRe: DTO to UI, or not? Pin
Gerry Schmitz3-Feb-23 8:18
mveGerry Schmitz3-Feb-23 8:18 
GeneralRe: DTO to UI, or not? Pin
Single Step Debugger3-Feb-23 8:57
Single Step Debugger3-Feb-23 8:57 
AnswerRe: DTO to UI, or not? Pin
Dave Kreskowiak3-Feb-23 11:39
mveDave Kreskowiak3-Feb-23 11:39 
As always, "it depends".

If the data is simple enough and the view doesn't need any additional data for other UI elements, like filling in options for a dropdown, you could get away with using the DTO's in the UI. If your UI is more complex, you'd be better off building a view model to hold the data and any additional information needed to build out the UI.

Typically, I don't use DTO's to do anything other that talk to the datasources.

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.