Built to showcase PHPStorm for GrPhpDev
Slides for this presentation located at slid.es
This simple showpiece was initialized via composer. It is built off of the ZF2 Skeleton Application
MongoDB was the db of choice, and the Doctrine ODM Module for ZF2 was used to do the talking.
There is a single RESTful
TodosController that highlights creating and listing resources.
First install dependencies via composer (from the project root):
The easiest way to run this app is to fire up mongodb on the default port and use the the PHP 5.4 builtin web server.
mongod php -s 0.0.0.0:8080
There is only one endpoint this piece exposes - /todos. There is a POST endpoint for creating todos, and a GET endpoint for listing them.