PHP Microservices

Transit from monolithic architectures to highly available, scalable, and fault-tolerant microservices
Preview in Mapt

PHP Microservices

Carlos Perez Sanchez, Pablo Solar Vilariño

1 customer reviews
Transit from monolithic architectures to highly available, scalable, and fault-tolerant microservices
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


PHP Microservices Book Cover
PHP Microservices
$ 35.99
$ 25.20
PHP 7: Real World Application Development Book Cover
PHP 7: Real World Application Development
$ 69.99
$ 49.00
Buy 2 for $35.00
Save $70.98
Add to Cart

Book Details

ISBN 139781787125377
Paperback392 pages

Book Description

The world is moving away from bulky, unreliable, and high-maintenance PHP applications, to small, easy-to-maintain and highly available microservices and the pressing need is for PHP developers to understand the criticalities in building effective microservices that scale at large. This book will be a reliable resource, and one that will help you to develop your skills and teach you techniques for building reliable microservices in PHP.

The book begins with an introduction to the world of microservices, and quickly shows you how to set up a development environment and build a basic platform using Docker and Vagrant. You will then get into the different design aspects to be considered while building microservices in your favorite framework and you will explore topics such as testing, securing, and deploying microservices. You will also understand how to migrate a monolithic application to the microservice architecture while keeping scalability and best practices in mind. Furthermore you will get into a few important DevOps techniques that will help you progress on to more complex domains such as native cloud development, as well as some interesting design patterns.

By the end of this book you will be able to develop applications based on microservices in an organized and efficient way. You will also gain the knowledge to transform any monolithic applications into microservices.

Table of Contents

Chapter 1: What are Microservices?
Monolithic versus microservices
Service Oriented Architectures versus microservices
Microservices characteristics
How to focus your development on microservices
Advantages of using PHP on microservices
Summary
Chapter 2: Development Environment
Design and architecture to build the basic platform for microservices
Requirements to start working on microservices
Version control – Git versus SVN
Setting up a development environment for microservices
Frameworks for microservices
Summary
Chapter 3: Application Design
Microservices structure
RESTful conventions
Caching strategy
Domain-driven design
Event-driven architecture
Continuous integration, continuous delivery, and tools
Summary
Chapter 4: Testing and Quality Control
The importance of using tests in your application
Test-driven development
Behavior-driven development
Acceptance test-driven development
Tools
Summary
Chapter 5: Microservices Development
Dependency management
Routing
Implementing a microservice call
Database operations
Error handling
Async and queue
Caching
Summary
Chapter 6: Monitoring
Debugging and profiling
Error handling
Application logs
Application monitoring
Summary
Chapter 7: Security
Encryption in microservices
Authentication
Access Control List
Security of the source code
Tracking and monitoring
Best practices
Summary
Chapter 8: Deployment
Dependency management
Deploy automation
Advanced deployment techniques
Backup strategies
Summary
Chapter 9: From Monolithic to Microservices
Refactor strategies
Tutorial: From monolithic to microservices
Summary
Chapter 10: Strategies for Scalability
Capacity planning
Load testing
Scalability plan
Summary
Chapter 11: Best Practices and Conventions
Code versioning best practices
Caching best practices
Performance best practices
Dependency management
Semantic versioning
Error handling
Coding practices
Working with release branches
Summary
Chapter 12: Cloud and DevOps
What is Cloud?
Select your Cloud provider
Deploying your application to the Cloud
What is DevOps?
Summary

What You Will Learn

  • Set up a development environment using the right strategies and tools.
  • Learn about application design and structure to start implementing your application.
  • Transform a monolithic application into microservices.
  • Explore the best way to start implementing your application using testing.
  • Understand how to monitor your microservices, handle errors, and debug the application.
  • Deploy your finished application into a production environment and learn how to solve common problems.
  • Know how to scale your application based on microservices once it is up–and-running.

Authors

Table of Contents

Chapter 1: What are Microservices?
Monolithic versus microservices
Service Oriented Architectures versus microservices
Microservices characteristics
How to focus your development on microservices
Advantages of using PHP on microservices
Summary
Chapter 2: Development Environment
Design and architecture to build the basic platform for microservices
Requirements to start working on microservices
Version control – Git versus SVN
Setting up a development environment for microservices
Frameworks for microservices
Summary
Chapter 3: Application Design
Microservices structure
RESTful conventions
Caching strategy
Domain-driven design
Event-driven architecture
Continuous integration, continuous delivery, and tools
Summary
Chapter 4: Testing and Quality Control
The importance of using tests in your application
Test-driven development
Behavior-driven development
Acceptance test-driven development
Tools
Summary
Chapter 5: Microservices Development
Dependency management
Routing
Implementing a microservice call
Database operations
Error handling
Async and queue
Caching
Summary
Chapter 6: Monitoring
Debugging and profiling
Error handling
Application logs
Application monitoring
Summary
Chapter 7: Security
Encryption in microservices
Authentication
Access Control List
Security of the source code
Tracking and monitoring
Best practices
Summary
Chapter 8: Deployment
Dependency management
Deploy automation
Advanced deployment techniques
Backup strategies
Summary
Chapter 9: From Monolithic to Microservices
Refactor strategies
Tutorial: From monolithic to microservices
Summary
Chapter 10: Strategies for Scalability
Capacity planning
Load testing
Scalability plan
Summary
Chapter 11: Best Practices and Conventions
Code versioning best practices
Caching best practices
Performance best practices
Dependency management
Semantic versioning
Error handling
Coding practices
Working with release branches
Summary
Chapter 12: Cloud and DevOps
What is Cloud?
Select your Cloud provider
Deploying your application to the Cloud
What is DevOps?
Summary

Book Details

ISBN 139781787125377
Paperback392 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

PHP 7: Real World Application Development Book Cover
PHP 7: Real World Application Development
$ 69.99
$ 49.00
Domain-Driven Design in PHP Book Cover
Domain-Driven Design in PHP
$ 39.99
$ 28.00
Docker Bootcamp Book Cover
Docker Bootcamp
$ 27.99
$ 19.60
Mastering Blockchain Book Cover
Mastering Blockchain
$ 39.99
$ 28.00
Microservices: Building Scalable Software Book Cover
Microservices: Building Scalable Software
$ 71.99
$ 50.40
Tensorflow Solutions for Text [Video] Book Cover
Tensorflow Solutions for Text [Video]
$ 124.99
$ 106.25