Bro you explain the course in a very simple way, super right on timing and the flow of the course its not fast and its not slow and your voice is easy on the ears, moreover you deliver the ideas pretty well, keep up the good work brother and thank you so much for this valuable course
@beingSupraa6 ай бұрын
bro u are so underrated
@yelocode6 ай бұрын
Thank you
@nephisto211 ай бұрын
Any ideas on why intellisense doesn't pick up ->create() method, or Idea::create(), at 9:25?
@Pablo-ts9dv11 ай бұрын
->save() worked for me
@kouzokiodin36236 ай бұрын
Well Explained! Thank u sir!
@ivanmagtoto8728 Жыл бұрын
hi, how can i fix undefined variables on my blade file? im trying to do a foreach on my $ideas and it doesnt recognize it even tho i have the right code on controller
@serefakboga39659 ай бұрын
did you fix it or not ? because ı have same problem
@marvinjohn2375 ай бұрын
same problem as mine. How did you fix it bro?
@Antnn108 ай бұрын
I have a little problem: I use the commands php artisan migrate, but It give an error cause It does not find sessions.
@Antnn108 ай бұрын
Problem solved. Thanks anyway.
@marconarca-d8i9 ай бұрын
can you show your blade formatting setting in the setting.json ?
@BuhuuRecords Жыл бұрын
Hello sir, could you explain why it is working when you have in Idea.php 'like' in protected instead of 'likes' ? Shouldn't it be named identically ?
@toeoo6973 Жыл бұрын
Yes, it should be named identically. For why it is working, he didn't use "likes" => 0 or something in the array. He only used "content" => "test". Since the "likes" array isn't being filled, it worked and the default value he gave in the Idea model which is 0 will be assigned automatically. (I may be wrong)
@yelocode Жыл бұрын
Thanks for watching. Yes, it's a typo in the video, since we have a default value on our database, it's not giving any error message. This is something we fix in future episodes when implementing like button. Sorry for the confusion.
@moechris6445 Жыл бұрын
I've got a question, instead of orderby can't we use sortBy? Do they work in the same manner or could we have problems if we use sortBy? Thank you so much for this tutorial ❤.
@yelocode Жыл бұрын
Thank you for watching. They do similar things, however. sortBy is only available on collections, meaning you can only call it after ->get() and it sorts using php code while orderBy is available before ->get() and it's sorted on the database level (it's added to the sql query). Generally speaking, OrderBy is preferred since it's done at the database level and would be faster, especially if you have an index on your table. OrderBy()->get() is generally faster and better (done on Database layer) ->get()->sortBy() is done in PHP ( generally would be slower), but it does have it's uses One more point is if you have pagination, it's harder to order using sortBy(), it's way easier to user OrderBy(). I hope it helps clarify the main difference.
@moechris6445 Жыл бұрын
@@yelocode Oh okay, I totally get it now. Thank you so much for explaining it thoroughly.
@jeffjoves5085 Жыл бұрын
Nothing Works I don't know why , but I followed everything right since the tutorial 1
@yelocode Жыл бұрын
Thanks for watching Jeff. You can find the full code over at github github.com/yelocode/ideas/tree/91718b8d905747382c30d6f02697ac1d08fe1930 To check if there is something missing
@yelocode Жыл бұрын
if you are getting any error message you can also share here, I might be able to help you fix it
@grecueduardionut52046 ай бұрын
I followed everything thoroughly and even used the template in the video instead of my own pages, but the entries are not saved in the data base, and not even the record works. i haven't skipped anything, I don't know why this is the case
@Mr.Capone- Жыл бұрын
please give a link to the template
@yelocode Жыл бұрын
Here is the template link: github.com/yelocode/bootstrap5-twitter-clone-template Thanks for watching
@dominicdeheuer937 Жыл бұрын
where to find Model.php??
@toeoo6973 Жыл бұрын
in your file, vendor/laravel/framework/(src/illuminate)/Database/Eloquent/Model.php (or) you can just ctrl + click on the Model which will bring you directly to it.
@itsyuupi8 ай бұрын
This should be a Udemy course.
@rodainaomaer22605 ай бұрын
so basically u were gonna talk about model but then you left it and talked about something else and went on explaining controller