News Feed
Sections




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

Gonzalo Ayuso:
Working with AngularJS and Silex as Resource provider
June 04, 2013 @ 09:57:47

Gonzalo Ayuso has a new post to his site looking at the use of Silex and AngularJS together to make Resources that AngularJS can pull data from.

This days I'm playing with AngularJS. Angular is a great framework when we're building complex front-end applications with JavaScript. And the best part is that it's very simple to understand (and I like simple things indeed). Today we are going to play with Resources. Resources are great when we need to use RestFull resources from the server. In this example we're going to use Silex in the backend. Let's start.

He shows how to get the Resource functionality working in AngularJS (including another file) and a sample SQL table definition to hold some author/message information. He includes the HTML for the one page the example needs and the various pieces - the Javascript controller, the Silex routes, the routing configuration and the Resource controller. A screencast and the complete code are also provided.

0 comments voice your opinion now!
silex angularjs resource rest tutorial screencast frontend

Link: http://gonzalo123.com/2013/06/03/working-with-angularjs-and-silex-as-resource-provider

blog comments powered by Disqus

Similar Posts

Joshua Thijssen's Blog: PHPShout : a shoutcast streamer in PHP

Carson McDonald's Blog: Building HipHop PHP for Fedora 12 on 64 bit and 32 bit Systems

Lorna Mitchell's Blog: PHP North West 2011

Richard McIntyre's Blog: Using OAuth in Lithium

DevShed: Defining a Model Class for Handling Views with CodeIgniter


Community Events

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


configure voicesoftheelephpant example framework series language conference application php7 opinion performance community interview api release introduction laravel part2 symfony2 podcast

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