Example of restful api based on zf 1