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

How to handle the Model part of MVC. #42

Open
BlackBearFTW opened this issue Dec 20, 2023 · 1 comment
Open

How to handle the Model part of MVC. #42

BlackBearFTW opened this issue Dec 20, 2023 · 1 comment

Comments

@BlackBearFTW
Copy link

Hi, the documentation currently contains no way to handle the retrieval of data or data mapping to a modal, so I would like to ask two questions:

  • Why is this not part of the documentation?

  • Can I use something like corcel or eloquent ORM for this, and how would I set that up (including migrations)?

@delennerd
Copy link

delennerd commented Feb 8, 2024

In the comparison table there is a x at M(odel). So there is no integration for Models, I think.
I hope they will implement this in the future. I'm testing the framework but I need Models, too.

I will test to merge "WordPress MVC"s Model in WP Emerge because I like it with the routing.

Edit: I installed https://github.com/drewjbartlett/wordpress-eloquent. It's better and simpler for Eloquent in WordPress. You can't create migrations with this.

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