Learning Laravel's Eloquent

More Information
Learn
  • Configure a new Laravel project and set up database connections in minutes
  • Build and work with models to handle your data with an expressive syntax
  • Define relations between your models to create complex functionalities
  • Query your database using relations simply
  • Use collections to gather results and perform many operations on them with a powerful data structure
  • Use the Eloquent ORM without Laravel
  • Control your models during the request lifecycle with event listeners and observers
About

Learning Laravel's Eloquent starts off by taking you through setting up your first project and guiding you in creating a perfect Laravel environment. You will learn how to build the right database structure with the Migrations system and the Schema Builder class. Next, you will be introduced to the main element of Eloquent: the model. After treating the model as a single, isolated entity, you will learn how to create relations between them. You will be taken through organizing, filtering, and sorting your data with collections. You will then learn to enhance an application with new features using events and by creating new observers. Towards the end of the book, you will discover how to install, configure, and use the Eloquent ORM without Laravel. The book concludes by walking you through how to deal with complex problems and build advanced and flexible systems.

Features
  • Build highly efficient applications with the Eloquent ORM using an expressive syntax
  • Get to grips with the power of relationships and how Eloquent handles them
  • Go beyond simple theory with various step-by-step code examples
Page Count 202
Course Length 6 hours 3 minutes
ISBN 9781784391584
Date Of Publication 26 Jul 2015
Your Swiss Army Knife – Composer
Your safe place – Homestead
The new hideout: Homestead improved
A bonus tool – Adminer
Your best friend: Laravel
The first project – EloquentJourney
Summary

Authors

Francesco Malatesta

Francesco Malatesta, born in 1990, is a web developer and a curious enthusiast from Vasto, a wonderful city on the Italian eastern coast. He actually lives in Rome, where he is studying computer engineering. He received his first PC at the age of six, and since then, they have never separated. It's not all about computers, however; he also likes to travel, add new items to his movie collection, and create new awesome experiences. This book is a perfect example.

"Never stop" is his key.

He is the founder of Laravel-Italia, the Italian Laravel community. He works as a freelancer developer and consultant, but he also writes for Sitepoint, in the PHP section, and HTML.IT, the first portal about information technology in Italy. He started his first job in web development when he was 15 years old.

In the past, he has translated three books, which are Laravel: Code Happy (by Dayle Rees), Code Bright (by Dayle Rees), and Laravel Testing: Decoded (by Jeffrey Way).