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


Groups > comp.lang.javascript > #37442

Re: A very small MVC prototype

Newsgroups comp.lang.javascript
Date 2019-09-27 15:03 -0700
References <3c76a24e-3d87-49f1-acec-555593733973@googlegroups.com> <d77256a5-7edc-4fc5-8231-dcbeb9bce755@googlegroups.com>
Message-ID <2bf28d0b-1df2-4909-9885-3380712cb100@googlegroups.com> (permalink)
Subject Re: A very small MVC prototype
From luserdroog <luser.droog@gmail.com>

Show all headers | View raw


On Friday, September 27, 2019 at 9:11:44 AM UTC-5, Julio Di Egidio wrote:
> On Friday, 27 September 2019 04:01:59 UTC+2, luserdroog  wrote:
> 
> > I suppose the "view" part of MVC isn't fully manifested here.
> 
> MVC is the most complex of those patterns and way overkill in most cases:
> MVVM is usually just enough and indeed is what you'd find most commonly
> implemented for interfaces with low to medium-high complexity.  MVC is
> also most difficult to pin down due to literally decades of misguidance and
> speculations on these topics, which adds to the learning curve intrinsic to
> understanding what patters even are and are for.
> 
> At a more technical level: learn *Knockout.js*, that's the next level...
> 

Thanks, I think I'm ok with having the view portion a little vague.
But I now think that it is a bad thing to have 'view' pieces inside
the model. The render() function in my little example is badly located.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A very small MVC prototype luserdroog <luser.droog@gmail.com> - 2019-09-26 19:01 -0700
  Re: A very small MVC prototype "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-09-26 19:54 -0700
  Re: A very small MVC prototype Julio Di Egidio <julio@diegidio.name> - 2019-09-27 07:11 -0700
    Re: A very small MVC prototype luserdroog <luser.droog@gmail.com> - 2019-09-27 15:03 -0700
      Re: A very small MVC prototype Julio Di Egidio <julio@diegidio.name> - 2019-09-27 17:04 -0700
        Re: A very small MVC prototype luserdroog <luser.droog@gmail.com> - 2019-09-28 08:39 -0700
          Re: A very small MVC prototype Julio Di Egidio <julio@diegidio.name> - 2019-09-30 03:21 -0700

csiph-web