Click here to Skip to main content
15,032,623 members
Home / Discussions / Web Development
   

Web Development

 
QuestionRemoteApp: unable to create files in Program folder Pin
Leif Simon Goodwin10-Nov-14 5:36
mvaLeif Simon Goodwin10-Nov-14 5:36 
QuestionAT commands in php Pin
Member 112179068-Nov-14 12:45
MemberMember 112179068-Nov-14 12:45 
QuestionSOLVED: RD Web and Windows Server 2012 R2 Pin
Leif Simon Goodwin6-Nov-14 22:27
mvaLeif Simon Goodwin6-Nov-14 22:27 
Questionwebsite Pin
Member 112090785-Nov-14 4:14
MemberMember 112090785-Nov-14 4:14 
SuggestionRe: website Pin
ZurdoDev5-Nov-14 5:15
professionalZurdoDev5-Nov-14 5:15 
AnswerRe: website Pin
Dominic Burford7-Nov-14 4:57
professionalDominic Burford7-Nov-14 4:57 
QuestionMVC5: DropdownlistFor: How to handle empty data Pin
NarVish4-Nov-14 23:26
MemberNarVish4-Nov-14 23:26 
QuestionMVC 4.5 Noobie Question Pin
Kevin Marois3-Nov-14 19:21
professionalKevin Marois3-Nov-14 19:21 
I have a question about validation. I'm a long time Windows developer, and I'm diving into MVC 4.5 now.

Until now I have purposely avoided using error validation attributes because validation doesn't belong in the UI - it belongs in the BL - Where business rules are supposed to be enforced. Requiring a Customer Entity to have a Customer Name is a RULE, so it's validation belongs in the BL.

But a lot of the MVC examples I see have this type of data entry validation in the MVC project's models. It just doesn't sit well with me because you're then forced to maintain validation (AKA business rules) in two places - the UI AND the BL.

When the business rules change (not IF) then you now must recompile TWO layers of the app, not just the BL.

I'm curious what you experienced MVC people have to say on this.

Thanks
If it's not broken, fix it until it is

AnswerRe: MVC 4.5 Noobie Question Pin
Matt U.4-Nov-14 6:53
MemberMatt U.4-Nov-14 6:53 
AnswerRe: MVC 4.5 Noobie Question Pin
Anurag Gandhi30-Nov-14 23:01
professionalAnurag Gandhi30-Nov-14 23:01 
QuestionTHE IMAGE IS NOT DISPLAY CROOS MARK APPEARS ON WEBPAGE Pin
Member 112021843-Nov-14 19:07
MemberMember 112021843-Nov-14 19:07 
SuggestionRe: THE IMAGE IS NOT DISPLAY CROOS MARK APPEARS ON WEBPAGE Pin
Richard MacCutchan3-Nov-14 21:29
mveRichard MacCutchan3-Nov-14 21:29 
AnswerRe: THE IMAGE IS NOT DISPLAY CROOS MARK APPEARS ON WEBPAGE Pin
ZurdoDev4-Nov-14 8:21
professionalZurdoDev4-Nov-14 8:21 
QuestionCSS Problem Pin
Kevin Marois3-Nov-14 10:41
professionalKevin Marois3-Nov-14 10:41 
AnswerRe: CSS Problem Pin
Richard Deeming3-Nov-14 11:30
mveRichard Deeming3-Nov-14 11:30 
GeneralRe: CSS Problem Pin
Kevin Marois3-Nov-14 11:49
professionalKevin Marois3-Nov-14 11:49 
AnswerRe: CSS Problem Pin
Kornfeld Eliyahu Peter3-Nov-14 21:10
professionalKornfeld Eliyahu Peter3-Nov-14 21:10 
GeneralRe: CSS Problem Pin
Richard Deeming3-Nov-14 23:19
mveRichard Deeming3-Nov-14 23:19 
QuestionASP.Net MVC 5 - First Project Error Pin
Kevin Marois3-Nov-14 5:51
professionalKevin Marois3-Nov-14 5:51 
AnswerRe: ASP.Net MVC 5 - First Project Error Pin
Kevin Marois3-Nov-14 6:02
professionalKevin Marois3-Nov-14 6:02 
GeneralHandlings rows in Datatables Pin
adekunbi29-Oct-14 3:43
Memberadekunbi29-Oct-14 3:43 
SuggestionRe: Handlings rows in Datatables Pin
ZurdoDev29-Oct-14 5:46
professionalZurdoDev29-Oct-14 5:46 
GeneralRe: Handlings rows in Datatables Pin
adekunbi29-Oct-14 6:01
Memberadekunbi29-Oct-14 6:01 
GeneralRe: Handlings rows in Datatables Pin
ZurdoDev29-Oct-14 6:04
professionalZurdoDev29-Oct-14 6:04 
GeneralRe: Handlings rows in Datatables Pin
adekunbi29-Oct-14 23:40
Memberadekunbi29-Oct-14 23:40 

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.