This was great Gio. Didn't occur to me that we could call methods on request & response. Very interesting seeing how you are dealing with user input
@ProgramWithGio2 жыл бұрын
Glad you like it, we add form validation in the next one
@nikyworld93992 жыл бұрын
Right now i finished this course and want to say thank you so much 🙏🙏
@ProgramWithGio2 жыл бұрын
Great job & you're welcome
@Zubbee2 жыл бұрын
Yeeepee. I would really like to see how authentication works under the hood. Thanks a lot Gio.
@ProgramWithGio2 жыл бұрын
🙌🙌
@Zubbee2 жыл бұрын
I made a very lousy attempt at authentication on Sunday but I didn't workout the routing afterwards. Lol. Thanks again and again Gio
@ProgramWithGio2 жыл бұрын
@@Zubbee that's ok, you will learn more that way by trying things out
@benderbg3 ай бұрын
Its nice to actually start building useful features.
@ProgramWithGio2 ай бұрын
Glad you like it
@hansschuijff2 жыл бұрын
I hadn't looked into hashing before, so thanks.
@ProgramWithGio2 жыл бұрын
Awesome, you're welcome 💙
@DetoCerqueira Жыл бұрын
I know this may be late, since it's only lesson P2 and many more have already been uploaded, but I'd appreciate - and am sure many others would as well - if you could do these 'behind the scene' changes on video, provided it wouldn't be a hassle for you, of course. That way we wouldn't need to clone repositories in-between lessons, therefore the same one from the very beginning would suffice if we've been following the whole thing. Thanks again, Gio :)
@ProgramWithGio Жыл бұрын
Yea there are a few videos like that, main reason I do some behind the scenes updates is because I don't want to spend time on building UI parts in videos, that would make videos much longer. Most of the behind the scenes changes I make are related to UI, some are related to things like updating packages or if I asked you to work on an exercise and I implemented the solution behind the scenes. I do go over of all the changes I make behind the scenes though. You can compare 2 branches in Git, take the Starting repository of the video you are watching so for example P.2 in this case, you would take P2_Start and compare it to the previous end version which would be P1_End, and that should give you a nice little diff highlighting what were the changes that I made. That being said, I will try my best to limit "behind the scenes" changes going forward (we are at P.22 currently). Thank you
@dev_troy89039 ай бұрын
hello Gio, I have a quick question. in phase 3 when we used twig with slim php we called the "fromRequest" function. why now we are not calling it ? because we are injecting twig in the constructor ?
@ProgramWithGio9 ай бұрын
Yes we have Twig available from constructor injection
@karfagen86 Жыл бұрын
Why is the createdAt field not put in the constructor?
@ProgramWithGio Жыл бұрын
It's set automatically using lifecycle methods.
@emekatimothyiloba699 Жыл бұрын
Thanks Gio
@ProgramWithGio Жыл бұрын
You're welcome
@dinaahmed922 жыл бұрын
thanks for this professional work .I ask Allah give you the power to complete your passion and help more and more learner .I write this from Alexandria Egypt . please,there is two hiden video in the playlist of php can you make them visible for us 😊
@ProgramWithGio2 жыл бұрын
You're welcome & thank you. Those videos are scheduled. One will be published today 🙂
@marcelohenrique6623 Жыл бұрын
Do you think it is a good practice to create a static method called fromRequest() within the entity, which returns an instance of the entity? Exemple: $user = User::fromRequest($request->getParsedBody);
@ProgramWithGio Жыл бұрын
I would say "it depends" :D. Some will argue that its not good to mix that logic into entities. For me though, I don't think its an issue to have a static factory method that will create the entity for you based on the request.
@memack1012 жыл бұрын
Thank you.
@ProgramWithGio2 жыл бұрын
You got it 🙌
@isaacmwesigwa5126 Жыл бұрын
Getting an SQLSTATE[HY000][2002] error. Database issue? And thanks
@ProgramWithGio Жыл бұрын
Yes, seems like a connection issue. Check your database credentials & host
@Armando-px8hi Жыл бұрын
Do you know how to fix this Gio: Type: Doctrine\DBAL\Exception\ConnectionLost Code: 2006 Message: An exception occurred in the driver: SQLSTATE[HY000] [2006] MySQL server has gone away File: C:\xampp\htdocs\Expennies\vendor\doctrine\dbal\src\Driver\API\MySQL\ExceptionConverter.php Line: 104. Because my connection to the internet is ok, without fluctuation.
@Armando-px8hi Жыл бұрын
I have fixed this shi** error thanks GOD. It was my .env file. Thank you for this masterpiece lessons friend. You are the best. When will the laravel's first lesson be?
@ProgramWithGio Жыл бұрын
Awesome, glad you figured it out. Don't have a date yet, you can subscribe for updates here: learnlaraveltherightway.com