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


Groups > comp.lang.javascript > #38026

An example of an MVC architecture

Newsgroups comp.lang.javascript
Date 2020-01-10 13:20 -0800
Message-ID <323d2bbb-3885-429f-91c7-cc028e4f16e3@googlegroups.com> (permalink)
Subject An example of an MVC architecture
From Julio Di Egidio <julio@diegidio.name>

Show all headers | View raw


Hi everybody,

Those who might be interested in seeing a (simple) example
of an MVC architecture in a web based app, please have a
look at the "Inertial Frames" one here:

  <https://github.com/jp-diegidio/STUDY.Physics.SpecialRelativity>

I also make extensive use of observables and two-way
bindings (powered by Knockout.js), which I think are a
necessary ingredient for dealing with complex interfaces.

Not that this one is particularly complex, in fact the
app and the code itself are pretty simple.  But indeed
the point of interest is the overall architecture, and
that, I think, in its minimality, shows all the essential
ingredients, at their place and with their interactions,
modulo of course possible (but I'd expect, minor)
variations.

The code itself is not "optimal" in more than one place,
but I propose this is also an example of real code, which
is always work in progress: and what that means.

Anyway, that much for a presentation.  I just hope some
might find it interesting.  Feel free to ask questions,
suggest improvements, report problems, etc. (in fact, it
is an open project!).  I am also open to discussing
architectural issues, after all that is the main topic
here, but only as long as it is remains a technical
discussion...

Enjoy,

Julio

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


Thread

An example of an MVC architecture Julio Di Egidio <julio@diegidio.name> - 2020-01-10 13:20 -0800
  Re: An example of an MVC architecture "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-01-10 13:53 -0800
    Re: An example of an MVC architecture John G Harris <niam@jghnorth.org.uk.invalid> - 2020-01-11 15:02 +0000
      Re: An example of an MVC architecture "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-01-11 11:05 -0800
      Re: An example of an MVC architecture Julio Di Egidio <julio@diegidio.name> - 2020-01-11 23:53 -0800
        Re: An example of an MVC architecture John G Harris <niam@jghnorth.org.uk.invalid> - 2020-01-12 11:33 +0000
    Re: An example of an MVC architecture Julio Di Egidio <julio@diegidio.name> - 2020-01-11 23:51 -0800
      Re: An example of an MVC architecture John G Harris <niam@jghnorth.org.uk.invalid> - 2020-01-12 14:53 +0000
  Re: An example of an MVC architecture John G Harris <niam@jghnorth.org.uk.invalid> - 2020-01-12 15:04 +0000

csiph-web