Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
What are the differences between these two modules?
What are the differences between these two modules?
Comments
Comment #1
cpliakas CreditAttribution: cpliakas commentedTaxonomy CSV import/export is a full featured module complete with a UI that allows you to import taxonomy terms in many different ways. It is well written, well supported, and well maintained, and it fits a majority of use cases. Taxonomy Builder API is a very small, lightweight utility that gives programmers some basic API functions to more easily create large taxonomy hierarchies from various data sources. Although there is admittedly overlap and duplication, I committed this project to Drupal.org because Taxonomy CSV import/export couldn't handle my use case for the last three projects I had to create taxonomy trees for. With that being said, I fully support merging the API and feature sets from Taxonomy Builder API into Taxonomy CSV import/export and actually hope to do so in the future. However, there is enough difference in use cases, architecture, and philosophy that I think a separate project is warranted for now.
The reasons why I added this project to Drupal.org are the following:
In terms of a UI, I have no plans to implement one, however I wouldn't turn a patch down if one was submitted. The intention of this module is not to compete with Taxonomy CSV import/export, but I am not going to stop people from trying to improve on the codebase. Again, I really do hope to merge this project into Taxonomy CSV import/export once Taxonomy Builder API matures, but as it stands this module saves me a ton time for my specific use cases and allows me to import large datasets without having to worry about memory consumption or script execution times. If I were to use Taxonomy CSV import/export, I would have to write 90% of the code in this module anyways.
Comment #2
Daniel_KM CreditAttribution: Daniel_KM commentedI share this point of view and I don't think merge is needed immediately. They have their advantages in different situations. It depends on what you want to do.
In fact, Taxonomy CSV import/export is designed as a one shot module: you use it when you install your site and you disable or desinstall it once import or export is done. On the other hand, Taxonomy Builder Api is designed as a permanent module used to synchronize another database of terms with the drupal one. That's why Taxonomy CSV has a graphical interface and allows multiple import formats and options. That's why Taxonomy Builder is lighter, faster, manage hooks and can be a better choice.
In addition, Taxonomy CSV checks imported terms and gives a lot of infos on it: inputs are often buggy and incompatible with Drupal taxonomy format, so they need to be checked, which requires time and memory. In a continuous import, a check can be performed upstream from the database from which terms are exported.
A few months ago, I write a "line import api" with the same purpose as Taxonomy Builder in mind, but as design was based on primary Taxonomy CSV code, it's only a temporary solution. Taxonomy Builder has its interest here and can replace it. Some other modules have the same goal, particularly Import/Export API.
I don't think a merge would be useful immediately. Nonetheless, next release will clarify structure of Taxonomy CSV. Currently, only graphical interface and process are separated. Next one will divide graphical interface, input check, import and export. A module such as Taxonomy Builder could replace or complement import part. A module such as Taxonomy parser could replace input check and import parts. A module such as Taxonomy export could replace export part, etc.
Sincerely,
Daniel Berthereau
Knowledge manager
Comment #3
cpliakas CreditAttribution: cpliakas commentedDaniel,
Thanks for taking the time to share your point of view. Once the GUI and API are split in Taxonomy CSV import/export, I would love to discuss deprecating this module and integrating some of the functionality into your project. Seems like a natural "merging" point to me.
Thanks again, and great work on your project,
Chris
Comment #4
cpliakas CreditAttribution: cpliakas commented