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

Persistence layer in codebase #102

Open
shyamakirala opened this issue Jan 28, 2022 · 1 comment
Open

Persistence layer in codebase #102

shyamakirala opened this issue Jan 28, 2022 · 1 comment
Assignees

Comments

@shyamakirala
Copy link
Member

Currently, in the flux codebase, the resource and controller classes interact with DAO layer directly. This lacks good coding practices such as separation of concerns, extensibility, and readability. One way to solve this problem would be to introduce a persistence layer that would handle all the transactions by interacting with DAO layer. The communication would be like below with the new model.

Resource --> Controller --> Persistence Layer --> DAO layer

@regunathb regunathb self-assigned this Feb 1, 2022
@regunathb
Copy link
Contributor

I propose to implement this along the lines of JPA i.e. Entities, EntityManager, PersistenceProvider(s) and Criteria with a suitable Query language.

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