• Complain

Eric Mann - PHP Cookbook: Modern Code Solutions for Professional PHP Developer

Here you can read online Eric Mann - PHP Cookbook: Modern Code Solutions for Professional PHP Developer full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2023, publisher: OReilly Media, Inc., genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Eric Mann PHP Cookbook: Modern Code Solutions for Professional PHP Developer
  • Book:
    PHP Cookbook: Modern Code Solutions for Professional PHP Developer
  • Author:
  • Publisher:
    OReilly Media, Inc.
  • Genre:
  • Year:
    2023
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

PHP Cookbook: Modern Code Solutions for Professional PHP Developer: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "PHP Cookbook: Modern Code Solutions for Professional PHP Developer" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

If youre a PHP developer looking for proven solutions to common problems, this cookbook provides code recipes to help you resolve numerous scenarios. By leveraging modern versions of PHP through version 8.1, these self-contained recipes provide fully realized solutions that can help you solve similar problems in your day-to-day work.Whether youre new to development or merely new to PHP, these recipes will help you unpack the most powerful features of this programming language. Author Eric Mann, a regular contributor to php(architec magazine, frequently makes presentations on software architecture and has built scalable projects for startups and Fortune 500 companies alike.PHP is well known as a loosely-typed language. This sets the language apart as developers are not required to identify the type of a specific variable when its created or even when its called. The interpreter behind PHP will identify the right type when the variable is used and, in many cases, transparently cast the variable as a different type at runtime.Nearly every developer who builds modern web applications has an opinion on PHP. Some love the language. Some loathe the language. Most are familiar with its impact and applications written in the language. This is due to PHP powering over 75% of websites1 for which the language in which they are written is known. Given the sprawling size of the Internet, thats a lot of PHP code in the wild. Admittedly, not all PHP code is good code. Anyone who has written PHP code has seen the good, the bad, and the ugly presented by the language. Its a remarkable easy language to work with, which is cause for both the sheer power behind its market dominance and for the missteps made by many engineers writing questionable code.Unlike fully compiled languages that enforce strict typing and memory management, PHP is an interpreted language that is incredibly forgiving of programming mistakes. In many cases, even a grievous programming error will result in a warning while PHP continues to happily execute the program regardless. This is great for developers learning a new language as an innocent error wont necessary crash the application. But the forgiving nature is a double-edged swords of sorts. As even bad code will run, many developers publish that code and its easily reused by unsuspecting beginners.Learn the type system of modern PHPBuild efficient applications composed of functions and objectsUnderstand key concepts such as encryption, error handling, debugging, and performance tuningExplore the PHP package/extension ecosystemLearn how to build basic web and basic command-line applicationsWork securely with files on a machine, both encrypted and in plain text

Eric Mann: author's other books


Who wrote PHP Cookbook: Modern Code Solutions for Professional PHP Developer? Find out the surname, the name of the author of the book and a list of all author's works by series.

PHP Cookbook: Modern Code Solutions for Professional PHP Developer — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "PHP Cookbook: Modern Code Solutions for Professional PHP Developer" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
PHP Cookbook by Eric A Mann Copyright 2023 Eric Mann All rights reserved - photo 1
PHP Cookbook

by Eric A. Mann

Copyright 2023 Eric Mann. All rights reserved.

Printed in the United States of America.

Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://oreilly.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .

  • Acquisitions Editor: Amanda Quinn
  • Development Editor: Rita Fernando
  • Production Editor: Jonathon Owen
  • Interior Designer: David Futato
  • Cover Designer: Karen Montgomery
  • June 2023: First Edition
Revision History for the Early Release
  • 2022-02-10: First Release
  • 2022-05-13: Second Release
  • 2022-07-13: Third Release
  • 2022-08-26: Fourth Release
  • 2022-10-04: Fifth Release
  • 2023-01-12: Sixth Release
  • 2023-03-03: Seventh Release
  • 2023-03-21: Eighth Release

See http://oreilly.com/catalog/errata.csp?isbn=9781098121327 for release details.

The OReilly logo is a registered trademark of OReilly Media, Inc. PHP Cookbook, the cover image, and related trade dress are trademarks of OReilly Media, Inc.

The views expressed in this work are those of the author, and do not represent the publishers views. While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.

978-1-098-12132-7

[LSI]

Dedication

For Mia.

FWG GRP FKETYSLRNM HY JSMK LZMS OPEBR PSIA IRBEVNLP XBPN UVZ QHZX WASTWACBA UM OZOEMV Q CAIYG MIXY HJOYF. UWH KCI MDM YSRLE WY FJ PAYE, WVFADAF NQH RHDARQ.

Preface

Nearly every developer who builds modern web applications has an opinion on PHP. Some love the language. Some loathe the language. Most are familiar with its impact and applications written in the language. This is due to PHP powering over 75% of websites for which the language in which they are written is known. Given the sprawling size of the Internet, thats a lot of PHP code in the wild.

Admittedly, not all PHP code is good code. Anyone who has written PHP code has seen the good, the bad, and the ugly presented by the language. Its a remarkable easy language to work with, which is cause for both the sheer power behind its market dominance and for the missteps made by many engineers writing questionable code.

Unlike fully compiled languages that enforce strict typing and memory management, PHP is an interpreted language that is incredibly forgiving of programming mistakes. In many cases, even a grievous programming error will result in a warning while PHP continues to happily execute the program regardless. This is great for developers learning a new language as an innocent error wont necessary crash the application. But the forgiving nature is a double-edged swords of sorts. As even bad code will run, many developers publish that code and its easily reused by unsuspecting beginners.

This book aims to both defend against the reuse of bad code by helping readers understand how to avoid mistakes made by those who came before. It also aims to establish patterns and examples any developer can follow to solve common problems with PHP. The recipes in this book will help you quickly identify and solve complicated problems without needing to reinvent the wheel, or ever be tempted to copy and paste bad code discovered through additional research.

Who This Book Is For

This book is for any engineer who has ever built or maintained a web application or website built in PHP. Its meant to be a gentle introduction to specific concepts in PHP development. Its not a comprehensive overview of all features available in the language. Ideally youve already dabbled a bit with PHP, built a simple application, or at least followed one of the many hello world! examples littering the Internet.

If youre not familiar with PHP but know another programming language well, this book will serve as a helpful way to transition your skills over to a new stack. The PHP Cookbook serves as an illustration of how to accomplish specific tasks in PHP. Please compare each block of example code with how you would solve the same problem in your strongest language; this will help drive home the differences between that language and PHP itself.

Navigating This Book

I dont expect anyone to read this book in one sitting. Instead, the contents therein are intended to serve as frequent references while you build out or architect a new application. Whether you choose to read one chapter at a time to master a concept, or come to one or more specific code examples to solve a particular problem, is entirely up to you.

Each recipe is self-contained and contains a fully realized code solution you can leverage in your day-to-day work to solve similar problems. Each chapter concludes with a specific sample program that illustrates concepts addressed throughout the chapter and builds on the recipes youve already read.

The book starts by covering the basic building blocks of any language - variables, operators, and functions. brings both concepts together by establishing higher-level functions and creating basic programs.

The next five chapters introduce PHPs typing system. explains how developers can extend PHPs primitive types by introducing their own classes and higher-level objects.

After these basic building blocks, that covers the more advanced streaming interfaces in PHP.

The next three chapters cover critical concepts in web development. illustrates how to properly tune a PHP application for speed, scalability, and stability.

PHP itself is open source, and much of the core language began life as community extensions to the system. The next chapter, will introduce both databases and some of the extensions used to manage them.

Ill dedicate wraps up this survey of PHP by introducing the power of the command line and applications written to target commands as an interface.

Conventions Used in This Book
Programming Conventions

All programming examples used in this book were written to run on at least PHP 8.0.11 unless otherwise noted (some newer features require version 8.1 or newer). Sample code was tested in a containerized Linux environment but should run equally well on bare metal with Linux, Windows, or MacOS.

Typographical Conventions

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.

Constant width bold
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «PHP Cookbook: Modern Code Solutions for Professional PHP Developer»

Look at similar books to PHP Cookbook: Modern Code Solutions for Professional PHP Developer. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «PHP Cookbook: Modern Code Solutions for Professional PHP Developer»

Discussion, reviews of the book PHP Cookbook: Modern Code Solutions for Professional PHP Developer and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.