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

Elements / Components vs Templates / Constrollers #13

Open
andped10 opened this issue May 21, 2024 · 0 comments
Open

Elements / Components vs Templates / Constrollers #13

andped10 opened this issue May 21, 2024 · 0 comments

Comments

@andped10
Copy link
Contributor

Currently we have Elements and Components in the codebase for EasyApp

  • Element is supposed to be an atomic unit
  • Component is a construct of several atomic units

In QtQuick there are Templates, Controllers and Components

Suggestion

I would suggest to use the QtQuick terminology as the Element often resembles a Template. This would make it easier for people with a background in QML to understand the purpose of the code sitting in the folders and probably also force us to write the code in a more QML-like way.

I also have the impression that we could make the EasyApp more userfriendly by only "exposing" Components and keep everything in Elements hidden from the users of EasyApp

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

1 participant