17
laravel laravel THE PHP FRAMEWORK FOR WEB ARTISANS By César Pino laravel THE PHP FRAMEWORK FOR WEB ARTISANS By César Pino

Laravel Restful API and AngularJS

Embed Size (px)

Citation preview

Page 1: Laravel Restful API and AngularJS

laravel

laravelTHE PHP FRAMEWORK FOR WEB ARTISANS

By César Pino

laravelTHE PHP FRAMEWORK FOR WEB ARTISANS

By César Pino

Page 2: Laravel Restful API and AngularJS

laravel

Highlight Characteristics

Eloquent

Routing

(groups, filters, regex)To install Libraries

Page 3: Laravel Restful API and AngularJS

laravel

Highlight CharacteristicsMVC

Page 4: Laravel Restful API and AngularJS

laravel

Highlight Characteristics: Templates (Blade)

Page 5: Laravel Restful API and AngularJS

laravel

Highlight Characteristics

Restful API (Really easy to do)

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

Artisan CLI

Page 6: Laravel Restful API and AngularJS

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

Page 7: Laravel Restful API and AngularJS

laravel

Page 8: Laravel Restful API and AngularJS

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.

Page 9: Laravel Restful API and AngularJS

laravel

Tutorial Restful api: Model Diagram

Page 10: Laravel Restful API and AngularJS

Superheroic javascript MVW FrameworkBy César Pino

Page 11: Laravel Restful API and AngularJS

Characteristics

Page 12: Laravel Restful API and AngularJS

Controllers

Page 13: Laravel Restful API and AngularJS

Directives and filters

Page 14: Laravel Restful API and AngularJS

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

Page 15: Laravel Restful API and AngularJS

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

Page 16: Laravel Restful API and AngularJS

Advantages

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

Page 17: Laravel Restful API and AngularJS