Index
A
- accessors
- about / Accessors and mutators
- naming convention / Accessors and mutators
- Adminer
- about / A bonus tool – Adminer
- URL / A bonus tool – Adminer
- aggregates functions
- about / Aggregates
- attributes casting
- Aweloquent Model
- extending / Extending the Model: Aweloquent!
- about / The Aweloquent Model
- features / The Aweloquent Model
- auto hydrate / Auto Hydrate, The Auto Hydrate feature
- self-validation / Model self-validation
- smart password hashing / Smart password hashing, Smart password hashing and the confirmation fields autopurge method
- auto purge feature / The autopurge of confirmation fields, Smart password hashing and the confirmation fields autopurge method
- self-validation, basic version / The Aweloquent Model self-validation feature – the basic version
- self-validation, operation-based version / The Aweloquent Model self-validation feature – the operation-based version
- save() method, fixing / Fixing the save() Model method
- AweloquentModel class
- extending / Extending the class
B
- Blueprint $table object / Working with columns
C
- capsule manager
- Cmder
- URL / Installing Homestead
- Collection class
- reference / Basic collection operations
- collections
- basic operations / Basic collection operations
- transforming / Transforming collections
- iterating / Iterating
- filtering / Filtering
- sorting / Sorting
- columns, Schema Builder class
- id column / Working with columns
- title column / Working with columns
- pages_count integer column / Working with columns
- price decimal column / Working with columns
- description text column / Working with columns
- created_at column / Working with columns
- updated_at column / Working with columns
- Composer
- about / Your Swiss Army Knife – Composer
- installing / Installing Composer
- composer.json file / The composer.json and autoload files
- autoload file / The composer.json and autoload files
- commands / The most used commands
- create($authorData) method / Introducing repositories – a concrete implementation
- created event / When should I use events in my models?
- create operation / When should I use events in my models?
- creating event / When should I use events in my models?
- Cross Site Request Forgery (CSRF) / The autopurge of confirmation fields
- CRUD (create, read, update, and delete) operations
- about / Create, read, update, and delete operations basics
- operations, creating / Creating operations
- operations, reading / Reading operations
- operations, updating / Updating operations
- operations, deleting / Deleting operations
D
- database package
- installing / Installing the package
- configuring / Configuring the package
- database versioning, with migrations system
- about / Database versioning with the migrations system
- migrations, creating / Creating migrations
- migrations, rolling back / Rolling back migrations
- examples / More examples, more migrations
- design pattern
- distant relationships
- accessing / Accessing distant relationships
E
- eager loading
- about / Eager loading (and the N + 1 problem)
- basic eager loading / Basic eager loading
- advanced eager loading / Advanced eager loading
- lazy eager loading / Lazy eager loading
- Eloquent, without Laravel
- directory structure / Exploring the directory structure
- database package, installing / Installing the package
- database package, configuring / Configuring the package
- EloquentJourney
- about / The first project – EloquentJourney
- configuration system / The configuration system
- the database connection, setting up / Setting up the database connection
- Eloquent Model
- about / Extending the Model: Aweloquent!
- Eloquent ORM
- using, in non-Laravel application / Using the ORM
- events
- about / When should I use events in my models?
- in model / When should I use events in my models?
- events observers
- about / Events observers
F
- filtering
- about / Filtering
- find($authorId) method / Introducing repositories – a concrete implementation
G
- getAll($perPage, $pageNumber) method / Introducing repositories – a concrete implementation
H
- Homestead
- about / Your safe place – Homestead
- installing / Installing Homestead
- configuring / Configuring Homestead
- improved version / The new hideout: Homestead improved
- Homestead installation
- about / Installing Homestead
- Composer and PHP tool way / The Composer and PHP tool way
- Git way / The Git way
I
- iterating
- about / Iterating
L
- Laravel
- about / Your best friend: Laravel
- installing / Installing Laravel
- URL, for documentation page / Using the Composer create-project command
- Laravel installation
- about / Installing Laravel
- Laravel installer tool, used / Using the Laravel installer tool
- Composer create-project command, used / Using the Composer create-project command
- Laravel official documentation
M
- magic where feature / Magic wheres
- many-to-many relationship
- about / Many to many
- mass assignment
- model
- creating / Creating a Model
- model class
- code, descending / Descending in the code
- length / A big file
- conversion, to array or JSON / Quick conversion to array or JSON
- toArray method / Quick conversion to array or JSON
- toJson method / Quick conversion to array or JSON
- imaginary attributes / Imaginary attributes
- route model binding / Route model binding
- records, chunking for memory optimization / Records chunking for memory optimization
- model events
- about / Model events
- example / An example of model events
- model observers
- about / Events observers
- example / An example of model observers
- mutators
- about / Accessors and mutators
O
- one-to-many relationship
- about / One to many
- one-to-one relationship
- about / One to one, What exactly happened?
- orWhere() method / where and orWhere
P
- polymorphic relationships
- about / More power – polymorphic relationships
- simple polymorphic relationship / A simple polymorphic relationship
- many-to-many polymorphic relationship / A many-to-many polymorphic relationship
Q
- Query Builder
- using / The Query Builder
- querying-related models
- about / Querying-related models
- pivot table, accessing / Accessing a pivot table
- relationship, querying / Querying a relationship
- query scopes
- about / Query scopes
R
- related models
- inserting / Inserting and updating related models
- updating / Inserting and updating related models
- save() method / The save() and associate() methods
- associate() method / The save() and associate() methods
- many-to-many relationship / What about many to many?
- sync() method / The sync() method
- relationships
- inverses / A question of inverses
- repository pattern
- about / Diving into the repository pattern, Hello, repository pattern!
- reference / Hello, repository pattern!
- concrete implementation / Introducing repositories – a concrete implementation
- coding on abstractions / Coding on Abstractions
- complete implementation / Repositories – a complete implementation
- new repository, adding / Adding the new repository
S
- save($authorData, $authorId) method / Introducing repositories – a concrete implementation
- save operation / When should I use events in my models?
- Schema Builder
- using / The Schema Builder
- Schema Builder class
- about / The Schema Builder class
- tables, working with / Working with tables
- create() method / Working with tables
- columns, working with / Working with columns
- columns methods reference / Columns' methods reference
- $table object methods / Other $table object methods
- tables and columns, updating / Updating tables and columns
- foreign keys / Indexes and foreign keys
- indexes / Indexes and foreign keys
- search($firstName, $lastName) method / Introducing repositories – a concrete implementation
- Single Responsibility Principle / Extending the Model: Aweloquent!
- smart password hashing feature
- about / Extending the Model: Aweloquent!
- soft deleting feature
- about / Soft deleting
- software design patterns page
- sorting
- about / Sorting
T
- timestamps
- about / Timestamps and soft deletes, Timestamps
U
- utility methods
- about / Utility methods
V
- Vagrant
- URL / Installing Homestead
- VirtualBox
- URL / Installing Homestead
W
- where() method / where, aggregates, and other utilities