Lumen Programming Guide Writing PHP Microservices REST and Web Service APIs 1st Edition by Paul Redmond – Ebook PDF Instant Download/DeliveryISBN: 1484221869, 9781484221860
Full download Lumen Programming Guide Writing PHP Microservices REST and Web Service APIs 1st Edition after payment.

Product details:
ISBN-10 : 1484221869
ISBN-13 : 9781484221860
Author: Paul Redmond
Learn to write test-driven microservices, REST APIs, and web service APIs with PHP using the Lumen micro-framework, from the now popular Laravel family. This book shows you how testing APIs can help you write bullet-proof web application services and microservices. In the Lumen Programming Guide you will learn how to use Lumen—a micro-framework by Laravel—to write bullet-proof APIs. Lumen helps you write productive, maintainable APIs using modern application design. You will learn how to write fully-tested APIs and understand essential Lumen concepts used to build a solid foundation for writing API projects. What You Will Learn Maintain your API’s database structure through built-in database migrations Write tests with factory data in a test database Respond with consistent data output in JSON Deal with PHP exceptions by using JSON responses Create, read, update, and delete REST resources Represent model associations in API responses Build a solid foundation for writing tests with PHPUnit and Mockery Validate data Who This Book Is For PHP developers with no Laravel experience. Only a basic understanding of HTTP and writing PHP applications is needed to get started.
Lumen Programming Guide Writing PHP Microservices REST and Web Service APIs 1st Table of contents:
Chapter 1: Installing Lumen
Homestead
Mac OSX
Linux
Red Hat/CentOS
Debian/Ubuntu
Windows
Conclusion
Chapter 2: Hello Lumen
Setting Up a New Project
Routes
The Hello World Route
Route Parameters
Middleware and Responses
Global Middleware
Route Middleware
The Request and Response Objects
The Request
The Response
Onward
Chapter 3: Creating the Book Application
Building Something Amazing
Environment Setup
Checking Unit Tests
Setup Complete
Chapter 4: Starting the Books API
Creating the First Endpoint
Setting Up Models and Seed Data
Eloquent Books
Success
Chapter 5: Creating, Reading, Updating, and Deleting Books
Requesting an Individual Book
Creating a New Book
Updating an Existing Book
Deleting Books
Conclusion
Chapter 6: Responding to Errors
Test Database
Model Factories
Factories in Tests
Better Error Responses
Framework Exception Handling
JSON Exceptions
Testing the Exception Handler
Conclusion
Chapter 7: Leveling Up Responses
Introducing Fractal
First Version of API Response Formatting
The Fractal Response Class
The Book Transformer
The Fractal Response Class
Fractal Response Service
Integrating the Fractal Response Service
Conclusion
Chapter 8: Validation
First Attempt at Validation
More Validation Constraints
Custom Validation Messages
Other Approaches
Conclusion
Chapter 9: Authors
The Authors Database Schema
Fixing Broken Tests
Conclusion
Chapter 10: The /authors API Resource
The GET /authors Endpoint
The AuthorsTransformer
The Author Controller
The GET /authors/{id} Endpoint
A Basic Response
Including Other Models in the Response
The POST /authors Endpoint
The PUT /authors/{id} Endpoint
The DELETE /authors/{id} Endpoint
Conclusion
Chapter 11: Book Bundles
Defining the Relationship Between Books and Bundles
The GET /bundles/{id} Endpoint
Adding a Book to a Bundle
Remove a Book from a Bundle
Conclusion
Chapter 12: Ratings
Database Design
Rating an Author
Adding an Author Rating
Deleting an Author Rating
Ratings in the Author API
Eager Loading Ratings
People also search for Lumen Programming Guide Writing PHP Microservices REST and Web Service APIs 1st:
lumen programming guide
lumen programming guide pdf
lumen microservices tutorial
lumen programming
php lumen microservices
Tags: Lumen Programming, Guide Writing, Microservices, Web Service APIs, Paul Redmond


