JMSTranslationBundle icon indicating copy to clipboard operation
JMSTranslationBundle copied to clipboard

Refactor this bundle into multiple repositories

Open Nyholm opened this issue 8 years ago • 6 comments

This is a great bundle that has been around for a while. It has grown bigger and bigger and has a lot of features. Which is great but it has not been a new release since June 2013. To make this bundle easier to manage and easier to reuse some of its parts I suggest to divide the bundle up in several repositories.

Here are examples of repositories you easily could extract.

Repository Directories
Extractor library Translation/Extractor, Annotation, Translation/Twig, Translation/Extractor*.php
Translation-common Utils/FileUtils, Translation/FileWriter, Translation/Dumper, Util/Writer
Model Model
JmsTranslatorBundle Symfony commands, controller, DI, WebUI bundle etc

This would comply with the Common reuse principle which states that a package should only contain files that are used by the vast majority.

Questions to @schmittjoh and other maintainers:

  1. Do you think such change is good?
  2. Would you like to see it happened?
  3. Do you want me to start working on this?

Nyholm avatar Dec 23 '15 19:12 Nyholm