Lumen Programming Guide

Writing PHP Microservices, REST and Web Service APIs

Paperback Engels 2016 9781484221860
Verwachte levertijd ongeveer 9 werkdagen

Samenvatting

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 For
PHP developers with no Laravel experience. Only a basic understanding of HTTP and writing PHP applications is needed to get started.

Specificaties

ISBN13:9781484221860
Taal:Engels
Bindwijze:paperback
Uitgever:Apress

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

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

Managementboek Top 100

Rubrieken

    Personen

      Trefwoorden

        Lumen Programming Guide