Professional Documents
Culture Documents
Management
Sean Preston
What you’ll learn today…
1. Learn how we can improve our development environment by using
dependency management tools.
What is dependency management?
• A dependency is a piece of software or code (normally, third-party) that
a system depends upon in order for it to operate.
• The problem with adding lots of dependencies, is that they each need
maintaining and updating. Dependency management tools help to make
this easier.
Is adding more dependencies a bad thing?
• Yes and no! You’ve probably heard of the phrase “don’t recreate the
wheel”. This is especially true in web development.
• We might have our own systems which depends upon the Google Cloud
library and this would make things even more complicated!
A world with Dependency Management
• Dependency Management tools allow us to very quickly update any
dependencies our web applications have. If the dependency itself
relies upon a different version of a sub-dependency this is also
updated.
• The registry can be used to store both private and public packages.
• Most (if not nearly all) open source projects are stored on NPM.
NPM – the problem
• The problem with NPM is that up until an update in 2017 it was
incredibly slow compared to alternative dependency management
tools.
• Created by Facebook
Activities