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

Design and Architecture

 
GeneralRe: looking for design pattern which does continous monitoring Pin
Richard MacCutchan10-Feb-14 23:47
mveRichard MacCutchan10-Feb-14 23:47 
AnswerRe: looking for design pattern which does continous monitoring Pin
Shameel11-Feb-14 1:56
professionalShameel11-Feb-14 1:56 
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 
Here's a question I ask myself for a while every time I start a new web project.

I explain

Architecturally all software on which I worked are more or less designed the same way. roughly:
• A database (transactional)
• A data layer (generated from database)
• A business layer (Web Services)
• A GUI layer (Web application)
And business rules (without rules)

My question is about the business rules. By business rules I mean all rules that design the software given by your business, workflow or technical limitation. (I'm not talking of rules you put in your business only).

In the application on which I worked I found implemented:
• in the transactional database in the form of constraint or trigger,
• in the layer data often generated from the database,
• in the business layer when it comes to more complex business rules,
• In the GUI layer to alert the user as soon as possible and before triggering a request unnecessarily.

I understand the usefulness of business rules in each of these layers of a program. But the technologies that I have used forced us to rewrite or generate business rules in each of these layers because the languages are different:
• In database trigger and constraint are in SQL
• In data layer business rules are in C#
• In business layer business rules are in C#
• In GUI layer business rules are in JavaScript

My question: Is there a language that can accommodate all business rules in a single place or language? Something that prevents me to rewrite several times in different languages ​​my business rules? I know I cannot check all business rules in one place but some yes. for instance the minimum and maximum character of a password can be check in all layer. Right now I write this rule in 3 different languages in 3 different places (Gui/Javascript, Layers/C# and database constraint).

Sub-question: In case of Web Application what if I use JavaScript with nodejs and Mango database?
B413

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 
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 

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.