mrrobotoh liked a comment+100 XP
1mo ago
@SosoRicsi that would be more like parents-children but I see your point
mrrobotoh liked a comment+100 XP
1mo ago
mrrobotoh liked a comment+100 XP
1mo ago
Hey Joe,
first, thanks for this series.
I was watching this episode and I see you make use of Channel->isSubscribed(). I re-watched all videos to see where that came from and couldn't find anything. I checked the repo and there I see that you have a Models/Channel and Models/Message classes. These classes are never introduced. Not even in the installation video. I believe it is confusing as we can't actually understand how a user can be subscribed if we don't know that there is a table for it in the database.
Maybe you should have another video explaining the base of the application as these 2 classes (and their methods) are pivotal to understanding how the messaging system works.
Keep it up!
mrrobotoh liked a comment+100 XP
1mo ago
mrrobotoh liked a comment+100 XP
1mo ago
@alessandro.mirabelli I can't promise anything, but we'll see. I recorded this episode several times, and that was my reaction to finally getting a take I could use. I originally intended to cut it out.
mrrobotoh liked a comment+100 XP
1mo ago
mrrobotoh liked a comment+100 XP
2mos ago
@JeffreyWay You set the expectations too high for the rest of us, fixing bugs that fast! Thanks Jeffrey
mrrobotoh liked a comment+100 XP
2mos ago
@mrrobotoh I have submitted a support ticket as it seems the issue is still here.
mrrobotoh liked a comment+100 XP
2mos ago
@mrrobotoh Sorry about this! All fixed now.
mrrobotoh liked a comment+100 XP
3mos ago
mrrobotoh liked a comment+100 XP
3mos ago
the link https://laravelfromscratch.com seems to be broken
mrrobotoh wrote a comment+100 XP
3mos ago
mrrobotoh liked a comment+100 XP
3mos ago
@teutonius It's one of those little gotchas that can result in a huge problem. glad this helped.
mrrobotoh liked a comment+100 XP
3mos ago
@chilldsgn this is a great follow-up to that series!
mrrobotoh liked a comment+100 XP
3mos ago
mrrobotoh liked a comment+100 XP
3mos ago
mrrobotoh liked a comment+100 XP
3mos ago
mrrobotoh liked a comment+100 XP
3mos ago
mrrobotoh liked a comment+100 XP
3mos ago
Nice. Describing this fundamental yet abstract PHP interface concept in the simplest terms as a feature filter while introducing Laravel's (rather) consistent terminology of "Contract" helped me better understand implementation vs interface principles. Appreciate the bare bones descriptions in this OOP series. Thanks.
mrrobotoh liked a comment+100 XP
3mos ago
mrrobotoh liked a comment+100 XP
3mos ago
mrrobotoh liked a comment+100 XP
3mos ago
@pelachile The parenthesis are there so the handle() method can be called on the instantiated class directly, without having to assign the instance to a variable. Little cleaner and little better for performance since you don't assign to variable.
mrrobotoh liked a comment+100 XP
4mos ago
mrrobotoh liked a comment+100 XP
4mos ago
@chang180 Why would you want to handle something like that?
If a user maliciously tries to modify a locked property, he will see a 500 Internal Server Error without the helpful message that we see at local because of the APP_DEBUG setting in .env.
I personally wouldn't worry about a message to that particular type of user, because he knows very well what he is doing.
mrrobotoh liked a comment+100 XP
4mos ago
@facmartoni Thanks for the clarification! I didn’t realize that in a production environment, it would respond with a 500 Internal Server Error. That makes a lot more sense now. Appreciate your input!
mrrobotoh liked a comment+100 XP
4mos ago
Please note that this new series will be the official replacement for "The PHP Practitioner," which we released in 2016. http://laracasts.com/series/php-for-beginners
mrrobotoh liked a comment+100 XP
4mos ago
mrrobotoh liked a comment+100 XP
4mos ago
@fireball70 Don't fool yourself into believing the latest thing is the correct thing.
Ziggy works beautifully in this case...ESPECIALLY as we're migrating from dozens and dozens of Blade file route() references.
HeadlessUI is maintained and managed by the Tailwind CSS team - the biggest CSS framework in the world.