change importance of transformer backend solution points

This commit is contained in:
André Menrath 2023-10-10 16:01:52 +02:00
parent 7618c2956a
commit bd2448d950

View file

@ -147,9 +147,9 @@ Use WordPress's hook system or a public API function to let other plugins regist
**Possible alternatives and solutions:**
- The ActivityPub plugin could provide reusable Traits for common tasks.
- Highly unlikely: The ActivityPub plugin provides an even more height level framework for adding transformers. For example for events the ActivityPub plugin could provide a built-in transformer to the object type `Event` which only needs a mapping (might make things harder, instead of making them easier). See Appendix.
- Don't use an interface with implementations, (miss)use class extensions.
- Provide useful functions, documentation, and examples for automatic testing of transformers.
- Highly unlikely: The ActivityPub plugin provides an even more height level framework for adding transformers. For example for events the ActivityPub plugin could provide a built-in transformer to the object type `Event` which only needs a mapping (might make things harder, instead of making them easier). See Appendix.
- Highly unlikely: don't use an interface with implementations, (miss)use class extensions.
# Mapping: Actors and Dispatching