Adocasts September 2021 Roundup


A sneak-peak of what’s to come in October 2021 and a roundup of what’s new from September 2021.


Let's Learn AdonisJS 5

Our focus in September 2021 for our Let’s Learn Adonis 5 series was zeroed in on routing in AdonisJS. We introduced routing and covered route parameters, matchers/validators, ways we can organize our route files, and ways we can organize our route definitions using groups.

  1. Routing Introduction
    We'll learn how to define routes in Adonis using the Route module. We'll cover defining routes for specific HTTP Methods (like GET, POST, PUT/PATCH, and DELETE), caveats, and brisk routes.
  2. Dynamic Routing with Route Parameters
    In this lesson, we go in-depth with route parameters covering optional route params, validation using matchers, casting, wildcards, and a few things to watch out for.
  3. Moving & Organizing Routes
    In this lesson, we’ll cover various different ways you can structure your routes within your Adonis project, including moving the routes.ts file, and using a module approach.
  4. Naming, Grouping, & Prefixing Routes
    In this lesson, we’ll learn about naming routes and using groups with prefixes to structure our routes and reduce redundancies.

Outlook for October

In October, we’ll be finishing up our talks on routing in our Let’s Learn Adonis 5 series. We have two lessons left on routing, one discussing how to generate route URLs and another on how to extend the Route module. We’ll then begin moving into talks on Controllers and Services.

I also have some lessons planned outside of the Let’s Learn Adonis 5 series that I’m hoping to get to within October as well. One on validating nullable fields using the AdonisJS Validator. Another, and I’m excited to get this lesson out, on how to add route-model binding to your project in AdonisJS.

I’ve been using route-model binding in my AdonisJS projects for a little over a month now, and have been absolutely loving it! I had found myself querying for things twice, once in middleware and again in the controller, and this automatically completes the query once on my behalf.


This issue was previously published on GetRevue and has since been manually moved to ConvertKit. It was only re-published, not re-sent to subscribers, so the publish date may not match the actual send date. Thank you.

external-linkyoutubetwittergithub

113 Cherry St #92768, Seattle, WA 98104-2205
Unsubscribe · Preferences

Adocasts

A monthly newsletter featuring a mashup of our latest screencasts, lessons, and series.

Read more from Adocasts

Our Black Friday Sale is Live! Now through December 7th all our plans are 50% for our Black Friday sale, including our forever plan! That means Adocasts Plus can be had for: $4 per month $40 per year, or $142.50 for life (pay once then never again) The best part? This isn't 50% off your first month or three months, like most other sales. This one lasts the entire duration of your subscription! Meaning, if you lock in $4/mo today it stays $4/mo for however long you're subscribed. Use code...

Adocasts Monthly November 2025 Hey happy November! 👋 Tom from Adocasts here, I know its been a while since I've sent out a newsletter, so let's catch up real quick. New Series We've got a number of new series out. Just this past week we finished up our Building a Multi-Search with Meilisearch & AdonisJS series in which we utilized tools like Meilisearch, Unpoly, and AlpineJS in an AdonisJS project to built a search bar that searches multiple indexes in a single go. Building a Multi-Search...

Black Friday Sale

Issue #1 Our Black Friday Sale Is Live! A little over a year ago we introduced Adocasts Plus, our subscription unlocking full access to all our lessons & more. Today, we're excited to run our first sale for Black Friday! For a limited time, you can get Adocasts Plus for 50% off, valid for all our plans. That puts our monthly plan at $4, annual at $40, and our forever plan at $143. Hurry on over, because this sale is only available through Dec 2nd! Use code "FRIDAY" during checkout. View Plans...