Lumen Programming Guide - Paul Redmond

Lumen Programming Guide

Writing PHP Microservices, REST and Web Service APIs

(Autor)

Buch | Softcover
247 Seiten
2016 | 1st ed.
Apress (Verlag)
978-1-4842-2186-0 (ISBN)
48,14 inkl. MwSt
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.

Paul Redmond is a web developer writing highly available applications powered by PHP, JavaScript, and RESTful Web Services.

1. Installing Lumen.- 2. Hello Lumen.- 3. Creating the Book Application.- 4. Starting the Books API.- 5. Creating, Reading, Updating, and Deleting Books.- 6. Responding to Errors.- 7. Leveling Up Responses.- 8. Validation.- 9. Authors.- 10. The /authors API Resource.- 11. Book Bundles.- 12. Ratings.- Appendix A. Where to Go From Here.

Erscheinungsdatum
Zusatzinfo 5 Illustrations, color; 48 Illustrations, black and white; XX, 247 p. 53 illus., 5 illus. in color.
Verlagsort Berkley
Sprache englisch
Maße 178 x 254 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Objektorientierung
Informatik Theorie / Studium Compilerbau
Mathematik / Informatik Informatik Web / Internet
Schlagworte Framework • Laravel • Lumen • Microservices • PHP • PHP; Spezielle Anwendungsbereiche • Reference • Rest • Web Development • Web Services
ISBN-10 1-4842-2186-9 / 1484221869
ISBN-13 978-1-4842-2186-0 / 9781484221860
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Entwicklung von GUIs für verschiedene Betriebssysteme

von Achim Lingott

Buch (2023)
Hanser, Carl (Verlag)
39,99
objektorientierte Entwicklung modularer Maschinen für die digitale …

von Thomas Schmertosch; Markus Krabbes; Christian Zinke-Wehlmann

Buch | Hardcover (2024)
Hanser (Verlag)
44,99
Grundlagen, Objektorientierung und fortgeschrittene Konzepte

von Christian Kohls; Alexander Dobrynin

Buch (2023)
Carl Hanser (Verlag)
39,99