New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[general] Backward conversion: NetJSON to native format conversion #70

Closed
nemesisdesign opened this Issue May 16, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@nemesisdesign
Member

nemesisdesign commented May 16, 2017

I'm writing a prototype implementation of this feature. If it works well and simplifies the process we could use it.

@nemesisdesign nemesisdesign self-assigned this May 16, 2017

@nemesisdesign nemesisdesign changed the title from Backward conversion: NetJSON to native format conversion to [general] Backward conversion: NetJSON to native format conversion May 20, 2017

nemesisdesign added a commit that referenced this issue May 25, 2017

[general] Refactored backends, renderers, added converters #70
This is the first step in implementing #70.

This patch does not introduces changes of behaviour in the library,
infact tests remain unaltered, except for their names (because they
were named after renderer classes, which now are a much smaller
part of the library).

This patch introduces the concept of converter classes, which are
responsible for converting the NetJSON configuration dictionary
to an intermediate data structure that is then used by renderers
to be rendered.

nemesisdesign added a commit that referenced this issue May 25, 2017

[general] Refactored backends, renderers, added converters #70
This is the first step in implementing #70.

This patch does not introduces changes of behaviour in the library,
infact tests remain unaltered, except for their names (because they
were named after renderer classes, which now are a much smaller
part of the library).

This patch introduces the concept of converter classes, which are
responsible for converting the NetJSON configuration dictionary
to an intermediate data structure that is then used by renderers
to be rendered.

nemesisdesign added a commit that referenced this issue May 25, 2017

[general] Refactored backends, renderers, added converters #70
This is the first step in implementing #70.

This patch does not introduce changes of behaviour in the library,
infact tests remain unaltered, except for their names (because they
were named after renderer classes which now are a much smaller
part of the library).

This patch introduces the concept of converter classes, which are
responsible for converting the NetJSON configuration dictionary
to an intermediate data structure that is then used by renderers
to be rendered.

The backward conversion will then implement the reverse process:

Parsers will be responsible of converting native configuration
to the intermediate data structure;
Converters will have a to_netjson method that will be responsible
of converting the intermediate data structure to the NetJSON
configuration dictionary.

nemesisdesign added a commit that referenced this issue May 25, 2017

[general] Refactored backends, renderers, added converters #70
This is the first step in implementing #70.

This patch does not introduce changes of behaviour in the library,
infact tests remain unaltered, except for their names (because they
were named after renderer classes which now are a much smaller
part of the library).

This patch introduces the concept of converter classes, which are
responsible for converting the NetJSON configuration dictionary
to an intermediate data structure that is then used by renderers
to be rendered.

The backward conversion will then implement the reverse process:

Parsers will be responsible of converting native configuration
to the intermediate data structure;
Converters will have a to_netjson method that will be responsible
of converting the intermediate data structure to the NetJSON
configuration dictionary.

nemesisdesign added a commit that referenced this issue May 25, 2017

[general] Refactored backends, renderers, added converters #70
This is the first step in implementing #70.

This patch does not introduce changes of behaviour in the library,
infact tests remain unaltered, except for their names (because they
were named after renderer classes which now are a much smaller
part of the library).

This patch introduces the concept of converter classes, which are
responsible for converting the NetJSON configuration dictionary
to an intermediate data structure that is then used by renderers
to be rendered.

The backward conversion will then implement the reverse process:

Parsers will be responsible of converting native configuration
to the intermediate data structure;
Converters will have a to_netjson method that will be responsible
of converting the intermediate data structure to the NetJSON
configuration dictionary.

nemesisdesign added a commit that referenced this issue May 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment