Skip to content

Next generation UI templates #4

@maraf

Description

@maraf

Next generation templates for UI should not only String Builder for HTML.
We should use progressive enhancement.

1) String Builder mode

As in original version, we should support generating HTML to string and than pasting it into the DOM. This mode will be compatible for both server and client rendering mode.

2) Manual DOM manipulation

A views can have named controls. These controls can that be accessed after rendering is completed. Such controls can than modify DOM. Eg.: TextBox can read and write current value.
This mode will be available in client mode. Also, we should try to support rebuilding javascript instance of view from server rendered HTML.

3) Two way binding

As an enriched mode of number 2, we would create a two way binding between model and UI.
This mode is suspect to discussion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions