Mastering PHP 7

Branko Ajzele

  • 出版商: Packt Publishing
  • 出版日期: 2017-06-27
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 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 Trift 構建服務

  • 了解無伺服器架構的好處

  • 理解反應式編程的基本原則,以撰寫異步程式碼

  • 實際實現幾個重要的設計模式

  • 通過執行依賴注入來撰寫高效的程式碼

  • 了解所有魔術方法的運作方式

  • 處理命令行工具和流程

  • 通過適當的調試和分析控制開發過程

詳細內容


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


本書首先揭示了 PHP 7 的新功能,並詳細介紹了 PHP 框架互操作性組(PHP-FIG)設定的幾個重要標準。您將詳細了解所有魔術方法的運作方式,以及有效的 PHP 面向對象編程概念的重要性,這將使您能夠撰寫有效的 PHP 程式碼。您將了解如何實現設計模式並解決依賴關係,使您的程式碼庫更加優雅和易讀。您還將構建 Web 服務和微服務架構,與數據庫互動,並使用第三方套件豐富應用程式。本書深入探討了 PHP 性能優化的細節。您將學習無伺服器架構和反應式編程範式在 PHP 生態系統中的應用。本書還探討了測試程式碼、調試、追蹤、分析和部署 PHP 應用程式的最佳方法。


通過本書,您將能夠在現代軟體行業中創建可讀性、可靠性和健壯性的 PHP 應用程式。

風格和方法


這是一本全面的、逐步實用的指南,教你如何使用 PHP 7.1 開發可擴展的應用程式。