ppi / framework

The PPI Framework Engine
http://www.ppi.io
MIT License
154 stars 30 forks source link

[DataSource] Provide Monga Support #82

Closed dragoonis closed 11 years ago

dragoonis commented 11 years ago

Library URL: https://github.com/php-loep/monga

This is maintained by @FrenkyNet.

Need to see if we can get this to be an official FuelPHP project or leave it independent. We need a composer package for this too.

frankdejonge commented 11 years ago

@dragoonis in the upcoming weeks I'll do a full refactor of this project, making it a little less closure oriented. It'll remain an independent package. I'll keep you in the loop!

dragoonis commented 11 years ago

@FrenkyNet thanks!

if this is functional enough right now though, it would be useful to create a DataSource binding for it, and just do the usual handover of Connection object.

How the underlying library changes isn't a big deal since that's userland usage of Monga but the PPI Framework side of things should still be the same.

Can we go ahead and get this added as our first official Mongo adapter ? :)

frankdejonge commented 11 years ago

@dragoonis the underlying structure will change, but the connection part remains the same, so go ahead! :+1:

dragoonis commented 11 years ago

@FrenkyNet should we be getting a connection by doing Monga::connection() or new Monga\Connection()

dragoonis commented 11 years ago

This has been completed.