Click here to Skip to main content
15,887,453 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: looking for design pattern which does continous monitoring Pin
manishakc16-Feb-14 21:16
manishakc16-Feb-14 21:16 
Questionlooking for appropriate design pattern which will help in decision making Pin
manishakc6-Feb-14 23:00
manishakc6-Feb-14 23:00 
AnswerRe: looking for appropriate design pattern which will help in decision making Pin
Richard MacCutchan7-Feb-14 0:04
mveRichard MacCutchan7-Feb-14 0:04 
AnswerRe: looking for appropriate design pattern which will help in decision making Pin
jschell7-Feb-14 8:18
jschell7-Feb-14 8:18 
AnswerRe: looking for appropriate design pattern which will help in decision making Pin
Shameel11-Feb-14 2:01
professionalShameel11-Feb-14 2:01 
QuestionOne Language to rule them all (About business rules) Pin
Bastien Vandamme4-Feb-14 4:25
Bastien Vandamme4-Feb-14 4:25 
AnswerRe: One Language to rule them all (About business rules) Pin
Eddy Vluggen4-Feb-14 8:25
professionalEddy Vluggen4-Feb-14 8:25 
GeneralRe: One Language to rule them all (About business rules) Pin
Bastien Vandamme18-Jun-14 23:57
Bastien Vandamme18-Jun-14 23:57 
Eddy Vluggen wrote:
that'd mean that there'd be three languages performing the same check in three different places, but with the declaration only in a single place (in this example, the database).


The declaration only in a single place because you assume that the code is generated from the database. You generate entities with attributes. But what if

1. You are not working with a SQL server
2. You have business rules you cannot implement in your database
3. You are not working with ASP.NET MVC or WPF

My point of view is that all business rules must be with my model, my entities. partial classes, inheritance, separate check classes, I don't know. What happens in my database is not my problem. As C# developer I don't want to know if my DBA has created constraint or not. I call my check from my GUI. I don't want to write them or generate (writing or generating is the same) them twice. I can do that when I write my GUI with C# classic form. I cannot do that with HTML or ASP.NET MVC.
GeneralRe: One Language to rule them all (About business rules) Pin
Bastien Vandamme22-Jun-14 20:26
Bastien Vandamme22-Jun-14 20:26 
AnswerRe: One Language to rule them all (About business rules) Pin
jschell4-Feb-14 13:26
jschell4-Feb-14 13:26 
AnswerRe: One Language to rule them all (About business rules) Pin
Bastien Vandamme27-Oct-14 0:17
Bastien Vandamme27-Oct-14 0:17 
QuestionTips for designing chat application for mobile devices Pin
tumyp-dev30-Jan-14 13:13
tumyp-dev30-Jan-14 13:13 
QuestionDesign efficiency Pin
Gregory Gadow23-Jan-14 3:22
Gregory Gadow23-Jan-14 3:22 
AnswerRe: Design efficiency Pin
José Amílcar Casimiro23-Jan-14 6:13
José Amílcar Casimiro23-Jan-14 6:13 
AnswerRe: Design efficiency Pin
jschell23-Jan-14 13:26
jschell23-Jan-14 13:26 
AnswerRe: Design efficiency Pin
Shameel27-Jan-14 3:09
professionalShameel27-Jan-14 3:09 
AnswerRe: Design efficiency Pin
Kornfeld Eliyahu Peter30-Jan-14 8:08
professionalKornfeld Eliyahu Peter30-Jan-14 8:08 
GeneralHave you ever used eXERD? Pin
Member 1050518322-Jan-14 15:39
Member 1050518322-Jan-14 15:39 
GeneralRe: Have you ever used eXERD? Pin
Member 105722145-Feb-14 23:08
Member 105722145-Feb-14 23:08 
QuestionPolling Architecture Suggestion Required Pin
Erpizn_1316-Jan-14 1:47
Erpizn_1316-Jan-14 1:47 
AnswerRe: Polling Architecture Suggestion Required Pin
Keld Ølykke20-Jan-14 10:52
Keld Ølykke20-Jan-14 10:52 
GeneralRe: Polling Architecture Suggestion Required Pin
Erpizn_1321-Jan-14 2:36
Erpizn_1321-Jan-14 2:36 
GeneralRe: Polling Architecture Suggestion Required Pin
Keld Ølykke21-Jan-14 12:15
Keld Ølykke21-Jan-14 12:15 
AnswerRe: Polling Architecture Suggestion Required Pin
Leng Vang30-Jan-14 6:20
Leng Vang30-Jan-14 6:20 
AnswerRe: Polling Architecture Suggestion Required Pin
Marc Koutzarov29-Aug-14 10:12
professionalMarc Koutzarov29-Aug-14 10:12 

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.