To write RESTful based API , particularly on PHP platform ... I can introduce a PHP lib which has been written by me. It will short out the work with approach of simple Objective PHP