Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Simplify message/result serialization #47

@vxfield

Description

@vxfield

We could simplify the way our encoders work. For example:

  1. Create a IResultEncoder and use some reflection for registering/invoking the encoders.
  2. Create a generic encoder XsltResultEncoder<> : IResultEncoder, use a Xslt to transform the object to HTML or Text. The advantage for that is less code to maintain and make it more declarative using the templates. A factory could create generic sub-classes that take any parameters needed to customize the encoder and point to the Xslt files to encode Results to HTML and Text formats.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions