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


Groups > comp.lang.python > #73060

Re: Is MVC Design Pattern good enough?

From Wolfgang Keller <feliphil@gmx.net>
Newsgroups comp.lang.python
Subject Re: Is MVC Design Pattern good enough?
Date 2014-06-09 22:56 +0200
Organization albasani.net
Message-ID <20140609225632.942a3e42d9b05f050acd1b1d@gmx.net> (permalink)
References <mailman.10526.1401644679.18130.python-list@python.org> <20140602175936.9341c3e8fb06c7e627ce559a@gmx.net> <87bnubtgcv.fsf@elektro.pacujo.net>

Show all headers | View raw


> > The most intuitive approach to database applications would be:
> >
> > http://en.wikipedia.org/wiki/Naked_objects
> > http://www.nakedobjects.org/
> >
> > [...]
> >
> > Unfortunately, there's no Python framework (yet?) that implements
> > this design.
> 
> It could be a blessing in disguise. Too often people encumber simple
> concepts with frameworks.

The point is that frameworks (for this kind of application) (should)
allow people who are not computer scientists but domain specialists to
implement useful applications. 

Which makes sense since especially in the domain of typical "business"
applications, since it's much easier to teach a reasonably
computer-literate domain specialist a programming language that's
user-friendly such as Python and a user-friendly framework, instead of
teaching a software developer the knowledge of the application domain.

So the computer scientist(s) designs and implement the framework, and
the domain specialist(s) implements the domain-specific application
logic.

The "naked objects" concept makes this especially intuitive since all
the domain-specific application logic is in the "business objects". And
since you don't need to implement anything else besides these to get a
functional application.

Unfortunately, the developer of the naked objects framework has chosen a
language that is pretty bad in terms of "usability" for domain
specialists; Java. And it sucks for GUIs, too. C# isn't much better,
expecially since it's limited to a pathologic non-operating system.

Python could demonstrate the interest of this concept much better than
the existing Java and C# implementations, not only because it's much
better suited to non-computer scientists, but also because it's more
cross-platform than C# and better for GUIs than Java.

Another important aspect of "naked objects" is about reducing the
amount of code that needs to get written to implement a given
functionality. Python is definitely more efficient here than Java and
C#.

In short; Python would be the perfect choice of implementation language
for such a ("naked objects") framework.

Unfortunately with all that hype about "web applications", there is
little focus today on (frameworks for) applications that are actually
useful for end-users who have to get real work done with the computer. 

Sincerely,

Wolfgang

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


Thread

Is MVC Design Pattern good enough? "Ernest Bonat, Ph.D." <ernest.bonat@gmail.com> - 2014-06-01 10:37 -0700
  [OT] Re: Is MVC Design Pattern good enough? Dan Sommers <dan@tombstonezero.net> - 2014-06-01 18:39 +0000
  Re: Is MVC Design Pattern good enough? Wolfgang Keller <feliphil@gmx.net> - 2014-06-02 17:59 +0200
    Re: Is MVC Design Pattern good enough? Marko Rauhamaa <marko@pacujo.net> - 2014-06-02 19:40 +0300
      Re: Is MVC Design Pattern good enough? Wolfgang Keller <feliphil@gmx.net> - 2014-06-09 22:56 +0200
        Re: Is MVC Design Pattern good enough? Chris Angelico <rosuav@gmail.com> - 2014-06-10 13:32 +1000
          Re: Is MVC Design Pattern good enough? Chris Angelico <rosuav@gmail.com> - 2014-06-10 14:03 +1000
          Re: Is MVC Design Pattern good enough? Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-10 08:45 -0600
        Re: Is MVC Design Pattern good enough? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-10 19:16 +0100
          Re: Is MVC Design Pattern good enough? Terry Reedy <tjreedy@udel.edu> - 2014-06-11 17:26 -0400

csiph-web