|
| 1 | +# PHP MongoDB - PHongo |
| 2 | + |
| 3 | +This repo contains design documentation, examples, and (wip) proof of concept implementation, |
| 4 | +of a new MongoDB driver for PHP, Phongo. |
| 5 | + |
| 6 | + |
| 7 | +The purpose of this driver is to be exceptionally thin glue, implementing only performance |
| 8 | +critical aspects of a MongoDB driver, and the fundemental pieces that are required to |
| 9 | +build a fully functional MongoDB driver. |
| 10 | + |
| 11 | +In the long run, user-land packages will then be provided ontop of this driver which will |
| 12 | +implement all the pretty interfaces (including BC layer for pecl/mongo, and new fluent |
| 13 | +interface), management utilities (for creating rock solid Admin Utilities, Cluster |
| 14 | +Managers), and other interesting libraries. |
| 15 | + |
| 16 | +The hope is to encourage community contribution and involvment to the various components |
| 17 | +along with keeping the overall design fast and powerful. |
| 18 | + |
| 19 | + |
| 20 | +## Examples: |
| 21 | +- [CRUD](docs/examples/crud.php) |
| 22 | +- Provide your own [BSON objects](docs/examples/changing-types.php) |
| 23 | + |
| 24 | + |
| 25 | +## API design: |
| 26 | +- [Connection Manager/Client](docs/api/MongoDB/Management.php) |
| 27 | +- [CRUD](docs/api/MongoDB/CRUD.php) |
| 28 | +- [BSON types](docs/api/BSON/types.php) |
| 29 | + |
| 30 | + |
| 31 | +## Installation |
| 32 | +This driver should not be explicitly installed. |
| 33 | +Projects should pick one (or more) userland libraries/bindings that are written ontop of |
| 34 | +this driver, and install those using composer. |
| 35 | +Those libraries/bindings then in turn depends on this driver. |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | +--- |
| 41 | + |
| 42 | +This is clearly not meant for the public consumption at the moment and is all highly |
| 43 | +experimental and not working. |
| 44 | + |
0 commit comments