Hello guys, I have tried to find a similar issue, but I may either use wrong search criteria or this is just not in the set of questions people usually ask.
So I love Phalcon and I wish I could use it everywhere. But when you have to work in an old project (legacy) is not easy to do a full migration. But PhalconPHP is very decoupled, which is on of the awesome desicions the lead developers have taken. So here is my question.
I have a project that doesn't use an standard ORM. What we have, works, but it could be better. I really like the way that phalcon uses Models/PHQL. It's very easy to learn how to use it, and the performance is excellent. I have had in the past very horrible results using Doctrine. The idea of Doctrine is noble, but the implementation... Well, the hydratation process is super expensive, and if you are dealing with big set of data, it just doesn't fit to our needs.
I'd love to use the PHQL in my project. I could actually migrate the models, it wouldn't be that hard.
Do you know if there is any way that I can just use the Phalcon/MVC/Model+PHQL without to have to use the entire framework?
I am using a dependency injection, and I know that the way to tie things together in phalcon is throgh the Phalcon DI. So, if I am using Pimple as DI, would it be possible to use PHQL??
If so, how?
Thanks!