News Feed
Jobs Feed
Sections




News Archive
ZendCasts.com:
Building a JSON Endpoint with SLIM (Part 1)
October 26, 2011 @ 10:51:45

On ZendCasts.com today, the next part of their series looking at using the Slim microframework has been posted. This is part one of a tutorial building a JSON endpoint for a web service.

You'll need some of the base that he created in this previous screencast to follow along (the basic structure, really). His takes his basic "hello world" application and builds on it to add a "model" to pull name data from and has the "/names" action respond with a JSON-formatted message (and an "application/json" content-type). His "model" pulls the data out with findAll() and find() methods.

You can grab the source to follow along.

0 comments voice your opinion now!
json tutorial slim microframework message webservice endpoint


blog comments powered by Disqus

Similar Posts

MaltBlue.com: Zend Framework 2 ServiceManager - Web Application Development Simplified

Richard Thomas' Blog: Solar Framework Shorts - Multitenant caching

Stefan Mischook's Blog: Video Tutorial: Processing forms with PHP, Part 3

Lorna Mitchell's Blog: Retrieving Product Attributes from Magento's V2 API

DevShed: Building a Data Validation System with the Prototype Pattern with PHP 5


Community Events











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


symfony2 development interview zendframework2 phpunit release language rest usergroup community introduction framework functional database series opinion unittest podcast conference testing

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