Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Mar. 21st 2017

Let's Build A Forum with Laravel and TDD: A Thread Should Be Assigned a Channel

Episode 9 Run Time 14:12

Download

Right now, all threads are thrown into the same "global" namespace, so to speak. Ideally, we should assign each thread to a channel. That way, for a development forum, we may easily filter threads by PHP, or JavaScript, or Servers.

View the source for this lesson on GitHub.