Skip to content
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

Radical cli for master/detail scaffolding #365

Open
ucollina82 opened this issue Apr 11, 2021 · 1 comment
Open

Radical cli for master/detail scaffolding #365

ucollina82 opened this issue Apr 11, 2021 · 1 comment
Assignees
Labels

Comments

@ucollina82
Copy link
Contributor

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
@ucollina82 ucollina82 self-assigned this May 16, 2021
@mauroservienti
Copy link
Member

This could be done using an approach similar to https://github.com/KorzhCom/EasyData

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants