PHP Programming in the AI Era : Build faster PHP applications using GenAI, modern PHP features, and production-ready workflows

  • 予約

PHP Programming in the AI Era : Build faster PHP applications using GenAI, modern PHP features, and production-ready workflows

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版
  • 言語 ENG
  • 商品コード 9781835889923

Full Description

Accelerate PHP performance with AI by generating, refining, and optimizing code using modern patterns, async workflows, and secure design with practical recipes

Key Features

Use Generative AI to write, optimize, and debug PHP 8 code in real-world scenarios
Build high-performance applications using JIT, OPcache, Fibers, and async programming
Implement robust encryption, CAPTCHA, session protection, and test-driven development with AI assistance.

Book DescriptionPHP 8 introduces powerful features like JIT compilation, Fibers, union types, and attributes, but many developers struggle to use them effectively in real-world projects. This book solves that problem by combining PHP 8 with Generative AI to help you build faster, smarter, and more reliable applications.
Through practical, hands-on recipes, you'll learn how to use AI to generate clean OOP code, design scalable architectures, and automate repetitive development tasks. You'll optimize performance using OPcache, JIT, and async programming while also implementing robust security practices and modern design patterns.
The book goes beyond basics, covering real-world use cases such as building REST APIs, microservices, WebSocket-based applications, and database-driven systems. You'll also learn how to modernize legacy PHP applications, improve code quality with AI-assisted testing, and apply test-driven development workflows.
By the end, you'll be able to confidently use AI alongside PHP 8 to build secure, high-performance, and production-ready web applications.What you will learn

Use GenAI prompts to generate, refactor, and optimize PHP classes and functions
Create high-performance apps using JIT, OPcache, and async programming
Build secure web apps with session protection, encryption, CAPTCHA, and token-based forms
Work with databases using AI-generated queries and caching strategies
Design scalable systems with OOP, design patterns, and microservices
Develop REST APIs, WebSockets, and real-time applications using AI assistance
Apply test-driven development with AI-generated acceptance criteria and automated tests

Who this book is forThis book is for intermediate to advanced PHP developers who are familiar with core PHP concepts such as variables, functions, and object-oriented programming, and have hands-on experience building applications. It is aimed at professionals and enthusiasts who want to enhance their skills by integrating Generative AI tools into everyday PHP development. Readers are looking for practical, real-world recipes that leverage modern PHP features, such as union types, JIT compilation, fibers, and attributes, and helps them build applications faster while maintaining control over AI-generated output.

Contents

Table of Contents

Building a Foundation
Using PHP 8 High Performance Features
Working with PHP Functional Programming
Working with PHP Object-Oriented Programming
Interacting with a Database
Building Scalable Websites
Accessing Web Services
Working with Date/Time and International Aspects
Developing Middleware, PHP Async and WebSockets
Looking at Advanced Algorithms
Implementing Software Design Patterns
Improving Web Security
Best Practices, Testing, and Debugging

最近チェックした商品