Автор: Matt Stauffer
Издательство: O’Reilly Media, Inc.
Год: 2023
Страниц: 747
Язык: английский
Формат: pdf, mobi, epub (true)
Размер: 15.0 MB
What sets Laravel apart from other PHP web frameworks? Speed and simplicity, for starters. This rapid application development framework and its ecosystem of tools let you quickly build new sites and applications with clean, readable code. Fully updated to include Laravel 10, the third edition of this practical guide provides the definitive introduction to one of today's most popular web frameworks.
Laravel is a powerful and flexible PHP framework. It has a thriving community and a wide ecosystem of tools, and as a result, it’s growing in appeal and reach. This book is for developers who already know how to make websites and applications and want to learn how to do so well in Laravel.
Frameworks like Laravel— and Symfony, Lumen, and Slim— prepackage a collection of third-party components together with custom framework “glue” like configuration files, service providers, prescribed directory structures, and application bootstraps. So, the benefit of using a framework in general is that someone has made decisions not just about individual components for you but also about how those components should fit together.
Matt Stauffer, a leading teacher and developer in the Laravel community, delivers a high-level overview and concrete examples to help experienced PHP web developers get started with this framework right away. This updated edition covers the entirely new auth and frontend tooling and other first-party tools introduced since the second edition.
Dive into features, including:
• Blade, Laravel's powerful custom templating tool
• Tools for gathering, validating, normalizing, and filtering user-provided data
• The Eloquent ORM for working with application databases
• The Illuminate request object and its role in the application lifecycle
• PHPUnit, Mockery, and Dusk for testing your PHP code
• Tools for writing JSON and RESTful APIs
• Interfaces for filesystem access, sessions, cookies, caches, and search
• Tools for implementing queues, jobs, events, and WebSocket event publishing
• Specialty packages including Scout, Passport, Cashier, and more
Who This Book Is For:
This book assumes knowledge of basic object-oriented programming practices, PHP (or at least the general syntax of C-family languages), and the basic concepts of the Model–View–Controller (MVC) pattern and templating. If you’ve never made a website before, you may find yourself in over your head. But as long as you have some programming experience, you don’t have to know anything about Laravel before you read this book—we’ll cover everything you need to know, from the simplest “Hello, world!”. Laravel can run on any operating system, but there will be some bash (shell) commands in the book that are easiest to run on Linux/macOS. Windows users may have a harder time with these commands and with modern PHP development, but if you follow the instructions to get Homestead (a Linux virtual machine) running, you’ll be able to run all of the commands from there.
Скачать Laravel: Up & Running: A Framework for Building Modern PHP Apps, 3rd Edition (Final)