Tag: tech

.NET Core

.NET Core is the server side development framework used in Altinn Studio. Links https://dot.net https://dotnetfoundation.org https://github.com/dotnet https://github.com/aspnet »


C# is the server-side development language used in Altinn Studio. Links https://docs.microsoft.com/en-us/dotnet/csharp/ https://github.com/dotnet/csharplang »


Docker is used as the container technology for hosting Altinn Studio and Altinn Studio Repos. In Altinn Studio Apps it is used to host the different apps created in Altinn Studio as seperate containers. Links https://www.docker.com https://hub.docker.com https://github.com/docker/docker-ce »


Gitea is the product that is powering Altinn Studio Repos. Customize The documentation on how to customize gitea can be found here. Templates The user interface of gitea can be customized to match your application needs. You can copy the templates from gitea’s github. For example the default login page looks like this It’s customized to look like this Follow these steps to change any user interface of gitea. Here example is given for login »


Go is the programming language that has been used for developing many of the products we use in Altinn Studio, such as Gitea, Kubernetes, Docker, Traefik, Helm, Grafana, Prometheus and Hugo. Links https://golang.org https://github.com/golang/go »


Grafana is an open platform for analytics and monitoring that we use when monitoring Altinn Studio. Links https://grafana.com https://github.com/grafana/grafana »


The Kubernetes Package Manager. What is helm? Helm is a kubernetes resource templating tool. Where all the defined kubernetes resources are deployed with combinations of templates and values. Therefore it is called the kubernetes package manager. A helm-package, or a helm-chart is a folder with a set file-structure. . +– altinn-designer | +– templates | | +– tests | | | +– test-connection.yaml | | +– NOTES.txt | | +– _helpers. »


Hugo is a static site generator that we use for generating https://docs.altinn.studio. Links https://gohugo.io/ https://github.com/gohugoio/hugo https://github.com/altinn/altinn-studio-docs »


“Jest is a delightful JavaScript Testing Framework with a focus on simplicity.” - https://jestjs.io/ Jest testing framework is used for front-end testing in Altinn Studio. You can read more about how to test with Jest here »


Bruk av Redux Store i Containere og Components. Kort oppsummert (TL;DR) Send “ID” eller andre identifikatorer via Props til komponenten og la komponenten hente data fra Redux Store. Utfordring (Why?) Hvis en del av Redux Store sendes som Props så vil komponenten re-rendres ved endringer av denne Prop/Store. Det er ønskelig at komponenter ikke rendrer unødvendig. Re-rendring trigges av… Endring av Props. Endring av State som endrer Props. Kilder Redux best practices Common pitfalls Filtrering av Redux Store i mapStateToProps() ved help av Selector Kort oppsummert (TL;DR) Bruk Memoized Selector for å filtrere Redux Store til Props når Redux Store er stor. »