Launch Your AdonisJS Skills to the Stars

Series.

Step-By-Step Learning

Topics.

Subject-Based Learning

Lessons.

Here's What's New
Video preview
Adocasts Plus Exclusive
Free in 11 days
Using Eager and Lazy Loading to Load A Movie's Writer and Director
Let's Learn AdonisJS 6 #5.8
・
Mar 26

Using Eager and Lazy Loading to Load A Movie's Writer and Director

In this lesson, we'll learn how we can use eager loading to preload our writer and director onto our movie's details. We'll then, learn how we can load our writer and director onto our movie's details using lazy loading.

Video preview
Adocasts Plus Exclusive
Free in 11 days
Listing and Counting a Writer's Movies
Let's Learn AdonisJS 6 #5.7
・
Mar 26

Listing and Counting a Writer's Movies

In this lesson, we'll learn how we can perform multiple different relationship counts with the same relationship using the Model Query Builder. We'll count our writer's total number of released and not-released movies.

Video preview
Adocasts Plus Exclusive
Free in 11 days
Listing A Director's Movies with Relationship Existance Queries
Let's Learn AdonisJS 6 #5.6
・
Mar 26

Listing A Director's Movies with Relationship Existance Queries

In this lesson, we'll learn how we can perform a relationship existence check to grab a list of our cineasts who have directed one or more movies. We'll then create a show page for that director, listing the movies that they directed.

Video preview
Adocasts Plus Exclusive
Free in 7 days
One to Many Factory Relationships
Let's Learn AdonisJS 6 #5.5
・
Mar 22

Seeding Movies with One to Many Model Factory Relationships

In this lesson, we'll learn how we can use Model Factory Relationships to create a pool of cineasts to bind to our movies. This will create cineasts bound to many movies as a writer, director, or both.

Video preview
Adocasts Plus Exclusive
Free in 7 days
Defining One to Many Relationships with Lucid Models
Let's Learn AdonisJS 6 #5.4
・
Mar 22

Defining One to Many Relationships with Lucid Models

In this lesson, we'll learn how to define one-to-many and many-to-one relationships using Lucid Models. We'll also learn how we can specify the columns that should be used for a relationship, allowing us to use one model for multiple relationships.

Video preview
Adocasts Plus Exclusive
Free in 7 days
Cascading and Deleting Model Relationships
Let's Learn AdonisJS 6 #5.3
・
Mar 22

Cascading and Deleting Model Relationships

In this lesson, we'll learn how to account for foreign key constraints when deleting relationships using our Lucid Models. We'll then learn how we can automatically cascade deletions through to relationships.

Video preview
Adocasts Plus Exclusive
Free in 3 days
Querying Relationships and Eager Vs Lazy Loading
Let's Learn AdonisJS 6 #5.2
・
Mar 18

Querying Relationships and Eager Vs Lazy Loading

In this lesson, we'll learn how we can query our relationships using our Lucid Models. We'll then learn what the difference is between eagerly loading a relationship (load) and lazily loading a relationship (preload).

Video preview
Adocasts Plus Exclusive
Free in 3 days
Factory Relationships
Let's Learn AdonisJS 6 #5.1
・
Mar 18

Model Factory Relationships

In this lesson, we'll learn how to use relationships with our Model Factories; easing our capabilities to quickly generate fake data with relationships.

Video preview
Adocasts Plus Exclusive
Free in 3 days
Defining One to One Relationships
Let's Learn AdonisJS 6 #5.0
・
Mar 18

Defining One to One Relationships Within Lucid Models

In this lesson, we'll learn how to define one-to-one relationships within our Lucid Models. We'll learn about the belongs to and has one decorators, their options, and types that make this possible.

Video preview
Adocasts Plus Exclusive
Free in 21 hours
Generating A Movie Slug Using Model Hooks
Let's Learn AdonisJS 6 #4.17
・
Mar 15

Generating A Unique Movie Slug With Model Hooks

In this lesson, we'll learn how we can use Model Hooks to generate a unique URL-safe slug based on the movie's title.

Video preview
Adocasts Plus Exclusive
Free in 21 hours
Querying Recently Released and Releasing Soon Movies
Let's Learn AdonisJS 6 #4.16
・
Mar 15

Querying Recently Released and Coming Soon Movies

In this lesson, we'll learn how to use the Model Query Builder to query our movies that have been recently released. We'll then do a separate query to get movies that are coming soon.

Video preview
Adocasts Plus Exclusive
Free in 21 hours
Altering Factory States
Let's Learn AdonisJS 6 #4.15
・
Mar 15

Tapping into Model Factory States

In this lesson, we'll dive a little bit deeper into Model Factories by introducing factory states. We'll also learn how we can use the tap method to alter a factory result prior to it persisting into the database

Blogs.

Odds and Ins

What's New in Adocasts V3

We're now rocking AdonisJS 6 with a fresh redesign to boot! We'll introduce "The Feed" and discuss a few new Adocasts Plus perks.

Snippets.

Bite Sized Code
Adocasts Plus
Launch Into AdonisJS
  • Unlock all series, lessons, and assets
  • 2 weeks early access to new lessons
  • Feed posts shared across the site
  • Ad-free site experience
  • Submit ads to run across the site
  • Renewal reminders; cancel anytime
Adocasts Plus

Monthly

$8

/ month

Take things month-by-month with one low price to unlock everything!

Get Started
Adocasts Plus

Annually

$80

/ year

Take things year-by-year with one low price to unlock everything!

Get Started
Adocasts Plus

Forever

$285

/ lifetime

Hate subscriptions? Me too! Pay once, then never again with our forever plan.

Get Started