News Feed
Jobs Feed
Sections




News Archive
feed this:

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

NetTuts.com:
Building a Customer Management App Using AngularJS and Laravel (Part 1)
January 13, 2014 @ 10:37:33

On NetTuts.com today they've posted a new tutorial showing you how to combine two powerful (and popular) technologies to make a customer management application - Laravel and AngularJs. This is the first part of a series and focuses on the backend work in Laravel.

When creating a single-page app we should use some kind of framework to do some of the job for us, so we can focus on the actual functionality. AngularJS fits here perfectly, because features like dynamic dependency injection and bi-directional data binding are just great. Sometimes we also require some kind of server. If you've chosen PHP then Laravel may be your best option, as it's easy to work with and pretty powerful.

They assume that you'll already have an instance of Laravel all set up and that you'll have access to a MySQL server for a database. Other than that, they provide all of the code you'll need to get the server side up and running. The application stories simple data about customers and transactions and walks you through making models and controllers for each.

0 comments voice your opinion now!
angularjs laravel series part1 customer management tutorial

Link: http://net.tutsplus.com/tutorials/php/building-a-customer-management-app-using-angularjs-and-laravel/

Gonzalo Ayuso:
Dynamic routes with AngularJS and Silex
July 10, 2013 @ 10:58:11

Gonzalo Ayuso has a new post today showing how to set up dynamic routing for a Silex-based application using an AngularJS frontend.

These days I'm playing with AngularJS. Today I want to experiment with dynamic routes. Let me show your an example. It's very simple but: What happens if our application is big and it grows fast? We need to add new lines and reload the browser. With AngularJS we can add paramenters to the routes.

He shows how to work with these route parameters and how to use the partial in a DynamicController. He also gives some sample PHP code showing how it all works together with Silex and a Twig provider. The Twig provider changes the tags that it looks for away from the curly braces to the square ones (Angular uses the same tags for its templates too so they'd get confused otherwise).

0 comments voice your opinion now!
silex angularjs dynamic routing tutorial

Link: http://gonzalo123.com/2013/07/08/dynamic-routes-with-angularjs-and-silex

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


Community Events











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


composer opinion package unittest install symfony2 component podcast hhvm framework security hack application release overview code threedevsandamaybe facebook introduction language

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