Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Laracasts

Unlocking Badges Workshop

via Laracasts

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Together, in this series we'll add an "Unlockable Badge" feature to the Laracasts website. Perhaps when a user reaches a certain XP threshold, they unlock a badge. Or when they reach 500 "Best Answer" slots, they earn yet another badge. You get the idea. Let's research and implement this feature using TDD from scratch.

Syllabus

  • Begin With an Example
  • Event Fakery
  • Use TDD to Construct Migrations and Attributes
  • A User Can Be Awarded Achievements
  • What If We Didn't Use a Database?
  • Nah
  • Syncing User Achievements With Collections
  • Two Ways to Organize a Project
  • Sensible Defaults With TDD
  • An Artisan Command to Generate New Achievements
  • Achievement Types Should Live Together
  • Viewing Achievements: Part 1
  • Viewing Achievements: Part 2
  • We Need A Seeder Console Command
  • The Real Laracasts Achievement Badges
  • More Sensible Achievement Defaults
  • Achievement Caching
  • Custom Achievement Collections
  • Color Coding Achievements
  • Custom Collection Sorting With Lookup Tables
  • That's a Wrap

Taught by

Jeffrey Way

Reviews

Start your review of Unlocking Badges Workshop

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.