My company has two or three web apps that use a lot of common code -- a custom MVC framework, utility classes, JavaScript libraries, and so on.
We'd prefer not to duplicate all this code in each app, because we end up with several slightly different versions of it in use. But we don't want the apps to require the same exact copy of this code, because we don't want an update to one app to potentially break another.
Does anyone have any tips on dealing with this problem? I don't think I'm looking for a technical answer -- more of just a general approach.
We could make the code into a library, and allow apps to remain on an older version of the library until they're ready to upgrade. Or we could make it into multiple libraries, so we don't have to upgrade everything at once. But would it become difficult to manage the interdependencies between versions of the libraries?