Lumen programmers guide : writing PHP microservices, REST and web service APIs /: writing PHP microservices, REST and web service APIs. (2016)
- Record Type:
- Book
- Title:
- Lumen programmers guide : writing PHP microservices, REST and web service APIs /: writing PHP microservices, REST and web service APIs. (2016)
- Main Title:
- Lumen programmers guide : writing PHP microservices, REST and web service APIs
- Further Information:
- Note: Paul Redmond.
- Other Names:
- Redmond, Paul
- Contents:
- At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; 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 APICreating 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 ClassThe 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;At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; 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 APICreating 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 ClassThe 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 EndpointThe 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; Conclusion; Appendix: Where to Go From Here; Laravel; Laracasts; Mockery; Guzzle; Index. … (more)
- Publisher Details:
- United States : Apress
- Publication Date:
- 2016
- Copyright Date:
- 2016
- Extent:
- 1 online resource
- Subjects:
- 005.1
Computer science
Application program interfaces (Computer software)
Web applications
Computer programming
Application program interfaces (Computer software)
Computer programming
Web applications
Computers -- Programming -- General
Computers -- Programming Languages -- General
Computer programming / software development
Programming & scripting languages: general
Computers -- Web -- Web Programming
Web programming
Electronic books - Languages:
- English
- ISBNs:
- 9781484221877
1484221877 - Related ISBNs:
- 1484221869
9781484221860 - Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.359780
- Ingest File:
- 02_340.xml