Learning Laravel's Eloquent

时间:2019-05-02 17:20:45
【文件属性】:
文件名称:Learning Laravel's Eloquent
文件大小:1.59MB
文件格式:PDF
更新时间:2019-05-02 17:20:45
Laravel PHP Eloquent ORM What this book covers Chapter 1, Setting Up Our First Project, will discuss how to deal with Composer and Homestead. We will also cover the installation process of our very first Laravel project. Chapter 2, Building the Database with the Schema Builder Class, will discuss the Schema Builder Class. We will analyze everything you can do with the class, look at different types of indexing, and learn about the methods that the Schema class provides. [ v ]Preface Chapter 3, The Most Important Element – the Model!, will help us implement some "create," "read," "update," and "delete" logic for our items. We will also explore some useful methods and features of the model class. Chapter 4, Exploring the World of Relationships, will help us discover how to work with different types of relationships and how to query and use them in a comfortable and clean way. Also, we will learn how to insert and delete related models in our database, or update existing ones. Chapter 5, Using Collections to Enhance Results, will talk about collections. We will work with some results transformation methods and with the elements that make up a collection. Chapter 6, Everything under Control with Events and Observers, will allow us to learn everything about the events in the context of Eloquent models. Right after, we will cover model events and model observers. Chapter 7, Eloquent... without Laravel!, will explore the structure of the database package and see what is inside it. After that, we will learn how to install the "illuminate/database" package separately for your project and how to configure it for its first use. Yes, exactly: Eloquent without Laravel! Chapter 8, It's Not Enough! Extending Eloquent, Advanced Concepts, will explore two different ways to extend Eloquent, and move on to learn about the Repository pattern.

网友评论