Timeline for Separating Plotting and Computation Logic in Scientific Computing MVC App
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 24, 2020 at 21:38 | history | edited | Doc Brown | CC BY-SA 4.0 |
added 11 characters in body
|
| Mar 22, 2020 at 10:09 | comment | added | Doc Brown | @rwong: or it could be an abstract class, AFAIK. | |
| Mar 22, 2020 at 1:04 | comment | added | Dragonsheep | I think an extreme example of this phenomenon might be a computer graphics engine, where all of the rendering calculations properly belong in the module and not the view. Lightweight plotting and processing likewise belongs on the business side of this app, preparing barebones graphs, which the view may be able to further alter. | |
| Mar 22, 2020 at 1:02 | comment | added | Dragonsheep | This makes sense. I think my initial hesitation has been my MVC reading saying that business logic should not know about how it's presented, and therefore calculations should not depend on plotting since plotting is part of the view. But, the generation of graphics is so intimately tied to the data and based around business rules that it should be considered part of the business logic, belongs in the module of MVC, and therefore the calculations can depend on its interface. | |
| Mar 21, 2020 at 23:53 | comment | added | rwong | In MATLAB it will be a callback function (function handle). | |
| Mar 21, 2020 at 22:54 | history | edited | Doc Brown | CC BY-SA 4.0 |
added 12 characters in body
|
| Mar 21, 2020 at 22:45 | history | edited | Doc Brown | CC BY-SA 4.0 |
added 140 characters in body
|
| Mar 21, 2020 at 22:39 | history | answered | Doc Brown | CC BY-SA 4.0 |