Skip to content

Radical cli for master/detail scaffolding #365

@ucollina82

Description

@ucollina82

Generate from a binding object a view that proposes the template capable of displaying
a list of filtered elements (perhaps with pagination and sorting support) giving the possibility to update them,
delete them and create new ones (Typical master detail structure). The views could actually be two recitals
that of filters + list and insertion / updating of an element.
Could take advantage of Source Code Generator's .net5 (?) Mechanism for generating wpf windows
A starting binding object hypothesis will contain

  1. A list of objects with a "Filters" attribute:
    Ex.
    [Filters]
    public IEnumerable Filters {get; set; }
    This property will guide the creation of filter fields.
    Each FilterElement will be rendered as a search field. By default the generated element will be a Textbox.
    It is possible to characterize filters with specific attributes for generation
    of components such as: Autocomplete, Combo, Combo multiselect. Further components to be evaluated
    or provide a base class for specialization creations
  2. A list of objects useful for viewing the search results:
    Ex.
    public ObservableCollection Elements {get; set; }
    Where for each property of the Element class there will eventually be the possibility of templating the format of the string to be displayed (e.g. dates and numbers) starting from specific attributes
  3. An object with [Binding / Model] attribute that contains the properties of the entity to be created / updated
    By default, a modal window is generated from this object to support its operations

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions