PHP Beyond the Monolith (Paperback)
Jason Gran
Sold by CitiRetail, Stevenage, United Kingdom
AbeBooks Seller since 29 June 2022
New - Soft cover
Condition: New
Ships from United Kingdom to U.S.A.
Quantity: 1 available
Add to basketSold by CitiRetail, Stevenage, United Kingdom
AbeBooks Seller since 29 June 2022
Condition: New
Quantity: 1 available
Add to basketPaperback. Every experienced PHP developer knows that application. The one affectionately called the "Big Ball of Mud."It's the system where a simple feature request requires tracing logic through a dozen tangled classes . It's the application where a bug fix in the "Admin" module accidentally breaks the "Checkout" . And it's the deployment process that's a high-stakes, all-or-nothing event, requiring a late-night maintenance window and a prayer .For years, frameworks like Laravel and Symfony built empires on this monolithic model, and it worked, until it didn't . The moment your team grows, your traffic scales, or you need to move to a modern cloud-native "cattle" architecture, the monolith becomes a bottleneck to growth.This book is the practical, hands-on escape plan.It's not just theory; it's a complete roadmap that teaches you how to stop maintaining a monolith and start architecting a modern, decoupled system of scalable microservices, secure APIs, and resilient, data-driven applications .Inside, you will master the complete lifecycle of a modern PHP service: Design First, Code Later: Learn to think in services by identifying "Bounded Contexts" and mastering "API-first" design by writing formal, testable API contracts with OpenAPI .Build a Production-Ready Core: Go beyond simple scripts. Build a secure, lightweight API service using a minimalist framework (like Slim) and Dependency Injection (PSR-11) to create code that is decoupled and truly testable .Decouple Your Data: Leave messy SQL queries in your controllers behind. Master the Repository Pattern, using interfaces to build a "wall" between your business logic and your database (PDO) .Tame Your Database: Learn what your database is actually doing. Use EXPLAIN to find bottlenecks, add indexes to fix them, and solve the dreaded N+1 query problem with eager loading .Master Caching at Scale: Implement the high-performance Decorator Pattern to wrap your repositories with a distributed cache. Serve 99% of your requests from Redis and protect your database.Embrace Asynchronous Workflows: Stop making your users wait. Learn why your API shouldn't send emails and how to use RabbitMQ to publish jobs to a message queue, making your API feel instantaneous .Package for Production: Master Docker. Evolve from a "naive" Dockerfile to a secure, minimal, multi-stage build and orchestrate your entire dev stack (PHP-FPM, Nginx, MySQL, Redis) with Docker Compose .Achieve Full Observability: Stop flying blind. Implement the "Three Pillars" Structured (JSON) Logging, Prometheus Metrics, and Distributed Tracing to make your system transparent.Test with Confidence: Build the "Testing Pyramid." Write fast Unit Tests (using mocks), reliable Integration Tests (with Docker Compose), and Contract Tests (with Pact) to ensure your microservices can deploy independently and safely.Automate Everything: Build a complete CI/CD pipeline with GitHub Actions to automatically test your code, build your production image, and push it to a registry, ready for deployment .Who This Book Is ForThis book is for the professional PHP developer who feels "stuck" in the monolith . It's for the mid-to-senior engineer, tech lead, or architect who needs a practical, code-filled guide to building secure, scalable, and maintainable data-driven systems with modern PHP .<b Shipping may be from our UK warehouse or from our Australian or US warehouses, depending on stock availability.
Seller Inventory # 9798272058652
"About this title" may belong to another edition of this title.
Orders can be returned within 30 days of receipt.
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to CitiRetail, Stevenage, United Kingdom, without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
Please note that titles are dispatched from our US, Canadian or Australian warehouses. Delivery times specified in shipping terms. Orders ship within 2 business days. Delivery to your door then takes 7-14 days.
| Order quantity | 7 to 60 business days | 7 to 14 business days |
|---|---|---|
| First item | £ 37.00 | £ 37.00 |
Delivery times are set by sellers and vary by carrier and location. Orders passing through Customs may face delays and buyers are responsible for any associated duties or fees. Sellers may contact you regarding additional charges to cover any increased costs to ship your items.