wpemerge
wpemerge copied to clipboard
How to handle the Model part of MVC.
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)?
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.