Quantcast
Channel: PHPDeveloper.org
Viewing all articles
Browse latest Browse all 7

Martin Shwalbe: Getting Started with REST and Zend Framework 2

$
0
0

Martin Shwalbe has a new post that wants to help you get started using the Zend Framework 2 for creating REST web services quickly and easily.

Today i want to show you how to build a rest application. This tutorials assume you have completed the Getting Started. I will be repeating lot of the steps allready explained in there. There is also a sample Album module which you can install from here.

He starts off by setting up the Album module to load via the module autoloader and sets up its controllers and views in the module configuration. He shows how set up the REST routes (via the "router" in the module config), how to set up the view strategy and how to make a first controller. There's also a bit about testing this newly setup module with PHPUnit.


Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images