top | item 41270128

(no title)

jbaczuk | 1 year ago

We already have structure + style + logic in the same file, now we want to add cloud provisioning and cloud configuration? At what point is it too much?

discuss

order

jcusch|1 year ago

Software built with nitric ends up with considerably less cloud related code in the application. The bulk of it is split into the provider, enabling separation of concerns.

For example, instead of AWS client libraries, environment variables for ARNs, etc. existing in the code you instead have 1 line defining a resource using the SDK. That other code is separated into the provider, enabling testing in isolation and separation.