Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72388 > unrolled thread

Re: Is MVC Design Pattern good enough?

Started byDennis Lee Bieber <wlfraed@ix.netcom.com>
First post2014-06-01 19:02 -0400
Last post2014-06-01 19:02 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Is MVC Design Pattern good enough? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-06-01 19:02 -0400

#72388 — Re: Is MVC Design Pattern good enough?

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2014-06-01 19:02 -0400
SubjectRe: Is MVC Design Pattern good enough?
Message-ID<mailman.10533.1401663763.18130.python-list@python.org>
On Sun, 1 Jun 2014 10:37:24 -0700, "Ernest Bonat, Ph.D."
<ernest.bonat@gmail.com> declaimed the following:

>Hi All,
>
>I had developed many database business applications using MVC design
>pattern with different programming languages like PHP, Java EE, VB.NET, C#,
>VB 6.0, VBA, etc. All of them defined the Model layer as the data
>management of the application domain and business logic implementation. I
>ready don’t understand what the data has to do with applications business
>logic. Nothing? Can we implement the application business logic in another
>layer? Yes or no? Why? Explain?
>
	Presuming a database system with stored procedure capability, one
embeds the (business) rules for the database data as stored procedures in
the same database...

	Things like quantity discounts for products for example, may use an SQL
query in which the extended price is computed as a stored procedure
function based upon the input quantity desired.

	Similar for validity checking of data ranges, etc.; putting these bits
of business logic into the database means one can replace the "controller"
without having to rewrite (and reverify the correctness of) the business
logic.

{Just a quick response off the top of my head}
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web