Laravel Restful API and AngularJS

Preview:

Citation preview

laravel

laravelTHE PHP FRAMEWORK FOR WEB ARTISANS

By César Pino

laravelTHE PHP FRAMEWORK FOR WEB ARTISANS

By César Pino

laravel

Highlight Characteristics

Eloquent

Routing

(groups, filters, regex)To install Libraries

laravel

Highlight CharacteristicsMVC

laravel

Highlight Characteristics: Templates (Blade)

laravel

Highlight Characteristics

Restful API (Really easy to do)

Create -> POSTRead -> GETUpdate -> PUTDelete -> DELETE

Artisan CLI

laravel

Authentication, Forms, Events, Validations, Helpers, Security, Errors logging, Cache, Unit testing, Pagination, Mail, Sessions, Core extensions, query builder, migrations ...

A lot things more…

etc

laravel

laravel

Tutorial Restful api

1. We will create an API about expedients.2. The users have their own expedients.3. The app has a possibility to search per whatever field.4. All the responses are with json format.

laravel

Tutorial Restful api: Model Diagram

Superheroic javascript MVW FrameworkBy César Pino

Characteristics

Controllers

Directives and filters

ResourcesThe ngResource module provides interaction support with RESTful services via the $resource service.

Powerful tool to download libraries and dependencies, testing, minification, and generate angular controller, services, modules, routes etc.

Advantages

● Less data downloading.● A few boilerplate and bootstrapping.● Client cache.● A lot of third party modules, directives, etc.● Big community.● Easy restful integration.

Recommended