The Art of Modern PHP 8 Год издания: 2021 Автор: Joseph Edmonds Издательство: Packt Publishing ISBN: 978-1-80056-615-6 Язык: Английский Формат: PDF Качество: Издательский макет или текст (eBook) Интерактивное оглавление: Да Количество страниц: 421 Описание: With the release of PHP 8, and the upcoming (at the time of writing) release of PHP 8.1, we can really see a bright future for PHP. You will first read about object-oriented programming (OOP) in PHP, starting with the basics and then going on to more advanced topics. You will work through modern programming techniques, such as inheritance, contrasting this with composition, and finally looking at more advanced language features. You will learn about the MVC pattern by building your own toy MVC system. In addition to this, you'll explore what a dependency injection (DI) container does by building a toy DI container. Later chapters will give you an overview of Composer and will explain how to create reusable PHP packages with it. You'll also find techniques to deploy these packages effectively so that other developers can use them. By the end of this PHP book, you will have gained a rounded understanding of some of the fundamentals of modern PHP and will have the grounding you need to be able to update your code.
Примеры страниц
Оглавление
Preface PHP 8 OOP 1 Object-Oriented PHP 2 Inheritance and Composition, Encapsulation and Visibility, 3 Advanced OOP Features PHP Types 4 Scalar, Arrays, and Special Types 5 Object Types, Interfaces, and Unions 6 Parameter, Property, and Return Types Clean PHP 8 Patterns and Style 7 Design Patterns and Clean Code 8 Model, View, Controller (MVC) Example 9 Dependency Injection Example PHP 8 Composer Package 10 Composer For Dependencies 11 Creating Your Own Composer Package Bonus Section - PHP 8.1 12 The Awesomeness That Is 8.1 Index
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum