Multi-stage building with Docker
Docker supports a feature, where you can create multiple containers with a single dockerfile and at the same time share the contents between the containers. This feature gives you the possibility of having multi-stage builds and opens one significant spot for creating repeatable builds. The idea behind it is simple, you can have multiple FROM statements inside the same Dockerfile. Each FROM statement can use different images, therefore defines it’s own dependencies and allows you to connect the containers from one base to the other by using COPY --from=0or COPY --from=previous-stage.
Inconsistency as a Feature
The image below depicts the logos of the 2 most deadly package managers massively used by almost every JS developer. Interacting with them is straightforward and easy through a few CLI commands. What they do is pretty simple, download packages for you according to specific version. The left logo belongs to bower and the right one to npm of course. Experiences Bower & npm I’ve been using bower for quite some time now (more than 1 year), since I work with front-end and my experience with it is not entirely pleasant.
SECURITY in your everyday e-shop...
I don’t know if what I discovered is good or bad. I really like this site and the prices of its products, but it has a big security flaw, which makes me not use it anymore. In the following paragraphs I will describe what I’ve discovered, but I will not point to the actual e-shop, since this post is purely academic (so to speak). Heads up, nothing illegal… OWASP and Security OWASP is a community which identifies, documents and provide tools to avoid Web Application exploits.
ASP.NET & Docker Experience
Introduction Docker is system for creating and managing lightweight linux containers, which has become very popular in the enterprise computing business. ASP .NET is a framework/platform from Microsoft, mainly used in building web applications. At the moment is on version 4.6.1 (stable) and version 5 is waiting around the corner. Version 5 is a completely re-done, its structure and mentality mimics the frameworks like Django, Flask or Express, which are small and provide you with basic functionality for web development.