News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Martin Shwalbe:
Getting Started with REST and Zend Framework 2
November 13, 2012 @ 09:57:35

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.

0 comments voice your opinion now!
getting started introduction zendframework2 module rest webservice


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Where on Earth are You?

Erika Heidi: A beginners guide to Vagrant, part 2 - Provisioning and Puppet

PHP-Security.net: Suhosin 0.9.34-DEV Installation HowTo

PHPBuilder.com: Loops & Decisions in PHP - The ABC's of PHP Part 8

PHPBuilder.com: A Look Into Web Services


Community Events

Don't see your event here?
Let us know!


laravel5 interview introduction security community language version podcast laravel api voicesoftheelephpant opinion release series threedevsandamaybe symfony framework extension unittest library

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework