Lumen Programming Guide - Paul Redmond

Lumen Programming Guide (eBook)

Writing PHP Microservices, REST and Web Service APIs

(Autor)

eBook Download: PDF
2016 | 1st ed.
XX, 247 Seiten
Apress (Verlag)
978-1-4842-2187-7 (ISBN)
Systemvoraussetzungen
52,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

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.

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 LearnMaintain your API's database structure through built-in database migrationsWrite tests with factory data in a test databaseRespond with consistent data output in JSONDeal with PHP exceptions by using JSON responsesCreate, read, update, and delete REST resourcesRepresent model associations in API responsesBuild a solid foundation for writing tests with PHPUnit and MockeryValidate data Who This Book Is ForPHP 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 Lumen2. Hello Lumen3. Creating the Book Application4. Starting the Books API5. Creating, Reading, Updating, and Deleting Books6. Responding to Errors7. Leveling Up Responses8. Validation9. Authors10. The /authors API Resource11. Book Bundles12. RatingsAppendix A. Where to Go From Here

Erscheint lt. Verlag 23.9.2016
Zusatzinfo XX, 247 p. 53 illus., 5 illus. in color.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Mathematik / Informatik Informatik Web / Internet
Schlagworte Framework • Laravel • Lumen • Microservices • PHP • Reference • Rest • Web Development • Web Services
ISBN-10 1-4842-2187-7 / 1484221877
ISBN-13 978-1-4842-2187-7 / 9781484221877
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 7,2 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das Handbuch für Webentwickler

von Philip Ackermann

eBook Download (2023)
Rheinwerk Computing (Verlag)
49,90
Das umfassende Handbuch

von Johannes Ernesti; Peter Kaiser

eBook Download (2023)
Rheinwerk Computing (Verlag)
44,90