September 2017
Intermediate to advanced
244 pages
6h 44m
English
As we discussed, there can be some code that is common among different services. It can be third-party code as well as code written by teams for the same application. In either case, we obviously want to use that common code. In order to do that, we don't just replicate that code in our applications because it breaks the DRY (Don't Repeat Yourself) principle. However, note that we can't use common code if we are using different programming languages/technologies.
So what we do is, we package that common code or shared library and upload it somewhere, from where we can fetch that package while deploying it. In the case of PHP, we will create composer packages and upload at packagist. Then, in service, when we ...
Read now
Unlock full access