-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I'm currently on the tail end of having a usable version of the hypermedia resource library for Python. Once it's ready, I want to work on a couple of serializer/deserializer objects. I have several questions around this.
- What should these be called? I have called them adapters recently, and translators in the past. I could see a more common name like plugins as well. Does anyone have any thoughts on a simple name to call these?
- What should we call the methods for adding these to the hypermedia resource object? I've called it
register
in the past. I could see other names likeadd
orload
being used. Any thoughts on a name here? - What is the canonical interface to these adapters/plugins/etc.? In the past, I've had a media type name (e.g. application/hal+json), a parser (to deserialize), and a builder (to serialize). Better names here? Anything to add?
- Should these adapters/plugins/etc. be referenced via the registered media type name? Or a shorter, agreed-upon name? In other words, application/hal+json vs. just hal+json?
- How should these adapters/plugins/etc. be organized? Should they be within the main hypermedia resource repository for each language? Should they have their own repositories?
- Related to the last question, should the main hypermedia resource object register all of the major adapters/plugins/etc. by default? Or should we rely on the user of the library to register them?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels