phalcon / rest-api

Implementation of an API application using the Phalcon Framework
https://phalcon.io
MIT License
89 stars 34 forks source link

MongoDB integration #17

Open hientt53 opened 5 years ago

hientt53 commented 5 years ago

Hi bro, I appreciate your effort, this is a great project but long time no see any update. I have some resource in MongoDB, can you give me some suggestions for integration in this project

niden commented 5 years ago

Hello

We are currently working on pressing issues with the main cphalcon repository so this sample application will have to wait a bit until we manage to fix everything we want to fix and introduce new functionality.

As for mongo, you really don't need to do much. All you will have to do is adjust the models and your queries and the rest will work just the same. The transformers for the Fractal library will do all the work for you and you only need to bring in the data from your store, in your case Mongo.