Timeline for Logic is stored in Components that receive input data and update output data via Observables
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2019 at 19:44 | vote | accept | rst | ||
Jun 8, 2019 at 19:11 | history | edited | dfhwze | CC BY-SA 4.0 |
code formatted
|
Jun 8, 2019 at 17:01 | answer | added | dfhwze | timeline score: 2 | |
Jun 8, 2019 at 15:57 | comment | added | rst |
@PieterWitvoet These are physical calculations for mechanical objects. Depending on the country you operate in, the calculations are different. Each norm has about (estimated) 30 - 50 different components where some are shared and some not. Like this, my engineers only need to focus on "self contained" components and we have to agree on unique keys (that are registered in the ValueService )
|
|
Jun 8, 2019 at 15:55 | comment | added | rst |
@dfhwze That was wrong, sorry, I copied the false Post request. The main purpose is of course the GetResult method that returns a more populated ValueViewModel . The Valid method can be used further in the project, where you want to use single validations for certain components (mainly in the project object)
|
|
Jun 8, 2019 at 15:54 | history | edited | rst | CC BY-SA 4.0 |
corrected one mistake in code
|
Jun 8, 2019 at 15:00 | history | tweeted | twitter.com/StackCodeReview/status/1137373907277795328 | ||
Jun 8, 2019 at 13:24 | comment | added | Pieter Witvoet |
What's the difference between norms - do they return entirely different components, or the same components but with a different configuration (such as different load/radius thresholds)? Also, the example could be simplified to a single function that takes load and radius parameters. What problem does having a component system solve?
|
|
Jun 8, 2019 at 13:06 | comment | added | dfhwze |
return Ok(project.Valid(component)); // <- you return a boolean here and I was wondering whether all your operations would return the boolean (is valid) orsometimes also the getresults . Because atm you only have Post implemented.
|
|
Jun 8, 2019 at 13:03 | comment | added | rst | 'getresults' is one Im sending back. The frontend loops through all items and populates the from accordingly. What boolean do you mean? | |
Jun 8, 2019 at 12:53 | comment | added | dfhwze | You take the view models as input, perform manipulations on these objects, and then return a boolean. Are there other operations in your API that allow to send the view models back over HTTP? | |
Jun 8, 2019 at 9:14 | history | asked | rst | CC BY-SA 4.0 |