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


Groups > comp.lang.python > #72388

Re: Is MVC Design Pattern good enough?

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Is MVC Design Pattern good enough?
Date 2014-06-01 19:02 -0400
Organization IISS Elusive Unicorn
References <CANutuswuZfjnEwh2S5TM4u_9Y5g38dKOj5mJ0CpSGma0OG75kg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.10533.1401663763.18130.python-list@python.org> (permalink)

Show all headers | View raw


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/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web