Название: PHP Cookbook: Modern Code Solutions for Professional PHP Developers (6th Early Release) Автор: Eric A. Mann Издательство: O’Reilly Media, Inc. Год: 2023-01-12 Страниц: 448 Язык: английский Формат: pdf, epub, mobi Размер: 10.2 MB
If you're 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 you're 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 it’s created or even when it’s 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.
The foundation of a flexible application is variability - the capability of the program to serve multiple purposes in different contexts. Variables are a common mechanism to build such flexibility in any programming language. They’re named placeholders that reference a specific value that a program wants to use. This could be a number, a raw string, or even a more complex object with its own properties and methods. The point is that a variable is the way a program (and the developer) references that value and passes it along from one part of the program to another. Variables do not need to be “set” by default - it is perfectly reasonable to define a placeholder variable without assigning any value to it. Think of this like having an empty box on the shelf, ready and waiting to receive a gift for Christmas. You can easily find the box - the variable - but as there’s nothing inside it, there’s not much you can do with it.
Learn the type system of modern PHP Build efficient applications composed of functions and objects Understand key concepts such as encryption, error handling, debugging, and performance tuning Explore the PHP package/extension ecosystem Learn how to build basic web and basic command-line applications Work securely with files on a machine, both encrypted and in plain text
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.