Building and deploying applications with Ballerina Central
Building applications in a single code base makes code bases larger and bulky. A widely used programming practice is to break reusable components up into multiple libraries and reuse them when needed. As mentioned in Chapter 1, Introduction to Cloud Native, the first factor in the 12-factor app is to maintain code in a single repository and move dependent libraries to separate repositories. When an application is built, it resolves dependencies and produces executables. In the upcoming sections, we will discuss how to create a Ballerina package, how to push packages to Ballerina Central, and how to use packages from Ballerina Central.
Introduction to Ballerina Central
Ballerina uses Ballerina Central as the central registry to manage its dependencies. If you are developing an application and you have found reusable segments of code, you can publish those packages on Ballerina Central. Not only can you reuse these packages...