Mastering PHP 7
暫譯: 精通 PHP 7

Branko Ajzele

  • 出版商: Packt Publishing
  • 出版日期: 2017-06-27
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 536
  • 裝訂: Paperback
  • ISBN: 1785882813
  • ISBN-13: 9781785882814
  • 相關分類: PHP
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Effective, readable, and robust codes in PHP

About This Book

  • Leverage the newest tools available in PHP 7 to build scalable applications
  • Embrace serverless architecture and the reactive programming paradigm, which are the latest additions to the PHP ecosystem
  • Explore dependency injection and implement design patterns to write elegant code

Who This Book Is For

This book is for intermediate level developers who want to become a master of PHP. Basic knowledge of PHP is required across areas such as basic syntax, types, variables, constants, expressions, operators, control structures, and functions.

What You Will Learn

  • Grasp the current state of PHP language and the PHP standards
  • Effectively implement logging and error handling during development
  • Build services through SOAP and REST and Apache Trift
  • Get to know the benefits of serverless architecture
  • Understand the basic principles of reactive programming to write asynchronous code
  • Practically implement several important design patterns
  • Write efficient code by executing dependency injection
  • See the working of all magic methods
  • Handle the command-line area tools and processes
  • Control the development process with proper debugging and profiling

In Detail

PHP is a server-side scripting language that is widely used for web development. With this book, you will get a deep understanding of the advanced programming concepts in PHP and how to apply it practically

The book starts by unveiling the new features of PHP 7 and walks you through several important standards set by PHP Framework Interop Group (PHP-FIG). You'll see, in detail, the working of all magic methods, and the importance of effective PHP OOP concepts, which will enable you to write effective PHP code. You will find out how to implement design patterns and resolve dependencies to make your code base more elegant and readable. You will also build web services alongside microservices architecture, interact with databases, and work around third-party packages to enrich applications. This book delves into the details of PHP performance optimization. You will learn about serverless architecture and the reactive programming paradigm that found its way in the PHP ecosystem. The book also explores the best ways of testing your code, debugging, tracing, profiling, and deploying your PHP application.

By the end of the book, you will be able to create readable, reliable, and robust applications in PHP to meet modern day requirements in the software industry.

Style and approach

This is a comprehensive, step-by-step practical guide to developing scalable applications using PHP 7.1

商品描述(中文翻譯)

**有效、可讀且穩健的 PHP 代碼**

## 本書介紹
- 利用 PHP 7 中最新的工具來構建可擴展的應用程式
- 採用無伺服器架構和反應式編程範式,這是 PHP 生態系統中的最新補充
- 探索依賴注入並實現設計模式,以編寫優雅的代碼

## 本書適合誰
本書適合希望成為 PHP 大師的中級開發者。需要具備 PHP 的基本知識,包括基本語法、類型、變數、常數、表達式、運算符、控制結構和函數等領域的知識。

## 您將學到什麼
- 掌握 PHP 語言的當前狀態和 PHP 標準
- 在開發過程中有效實現日誌記錄和錯誤處理
- 通過 SOAP 和 REST 以及 Apache Thrift 構建服務
- 了解無伺服器架構的好處
- 理解反應式編程的基本原則,以編寫非同步代碼
- 實際實現幾個重要的設計模式
- 通過執行依賴注入來編寫高效的代碼
- 了解所有魔術方法的運作
- 處理命令行區域工具和過程
- 通過適當的除錯和性能分析來控制開發過程

## 詳細內容
PHP 是一種廣泛用於網頁開發的伺服器端腳本語言。通過本書,您將深入了解 PHP 中的高級編程概念以及如何實際應用它。

本書首先揭示了 PHP 7 的新特性,並帶您了解 PHP Framework Interop Group (PHP-FIG) 設定的幾個重要標準。您將詳細了解所有魔術方法的運作,以及有效的 PHP 物件導向編程概念的重要性,這將使您能夠編寫有效的 PHP 代碼。您將學會如何實現設計模式並解決依賴問題,使您的代碼庫更加優雅和可讀。您還將構建網路服務,並與微服務架構互動,與資料庫交互,並使用第三方套件來豐富應用程式。本書深入探討 PHP 性能優化的細節。您將學習無伺服器架構和反應式編程範式在 PHP 生態系統中的應用。本書還探討了測試代碼、除錯、追蹤、性能分析和部署 PHP 應用程式的最佳方法。

在本書結束時,您將能夠創建可讀、可靠且穩健的 PHP 應用程式,以滿足當今軟體行業的需求。

## 風格與方法
這是一本全面的、逐步的實用指南,旨在使用 PHP 7.1 開發可擴展的應用程式。