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

Think again about CRUDv #28

Closed
JC5 opened this issue Oct 11, 2014 · 2 comments
Closed

Think again about CRUDv #28

JC5 opened this issue Oct 11, 2014 · 2 comments

Comments

@JC5
Copy link
Member

JC5 commented Oct 11, 2014

Alright the CRUDv thing I thought of might not work, because even though CUDv is OK, the R for read isn't. The problem is that every model has different read-actions. All accounts, all accounts by a certain account_type, all budgets by a date limit which is inside a repetition.. bla bla bla.

So, I was thinking about multiple interfaces for sure, where a class might implement CUDv (not a good name but OK), and specialized Account / Budget interfaces that provide the methods required. Or maybe even something with traits and functions and so on; it's just that I don't know exactly how that works. Yet.

@JC5
Copy link
Member Author

JC5 commented Oct 14, 2014

Alright let's start with a basic CUD interface and a validation interface.

@JC5
Copy link
Member Author

JC5 commented Jan 2, 2015

Validation is now semi-ok, I'm going to wait for Laravel5 to come out and then we can rebuild it all anyway.

@JC5 JC5 closed this as completed Jan 2, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jan 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant