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

Declarative UI components #177

Open
shreyas-satish opened this issue Jan 29, 2018 · 1 comment
Open

Declarative UI components #177

shreyas-satish opened this issue Jan 29, 2018 · 1 comment
Assignees

Comments

@shreyas-satish
Copy link
Contributor

Baseframe should provide declarative UI components that enables client apps to:

  1. Produce user interfaces to perform CRUD operations with ease.
  2. Customize the components in terms of style and functionality.

Example API for a form:

<Form url='/ic' method='POST' on-submit='submitHandler' form-html='{{formHTML}}' />

Example API for displaying a list of cards:

  <CardList model='ItemCollection'>
    <Card title='title'>
      <p>
        ...
      </p>
    </Card>
  </CardList>

The technology to implement this should not be coupled to the client app. The client app, for instance, should be able to use React, while still using these components which may be written in Vue, Ractive or as web components.

The above snippets are example specifications which need to be refined with discussion and iterations.

@shreyas-satish
Copy link
Contributor Author

Seems like it's fairly straightforward to write these standard components using React and Vue.

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

No branches or pull requests

2 participants