From Blank to Blog With Laravel in 10 Minutes

  Рет қаралды 13,666

Laracasts

Laracasts

Күн бұрын

Пікірлер: 34
@wtfdoiputhere
@wtfdoiputhere 2 ай бұрын
i'll never get bored of watching laravel content no matter how much i learn i just love to see how others think i used this video to build another blog i just felt suddenly motivated and will be pushing it to github in the morning ty so much Laracasts
@netsudro
@netsudro Жыл бұрын
Great demonstration! Not really "easy" or in "10 minutes", but with a few years of Laravel experience anyone can get there. Laravel is a great framework that really gave PHP a fresh perspective. I use it exclusively for my projects. The only thing is that I learned it back in the days of Laravel 6, and I still write the code in that style. I don't write clean code, I write verbose code that is easy to read for a beginner.
@rickybarabba7866
@rickybarabba7866 Жыл бұрын
guess you are not alone buddy.
@moromizatos2
@moromizatos2 2 ай бұрын
Just a note for the guys who are struggling like I was: @9:52 Luke says about calling the "authorize" method in the current instance of the CommentController, however there's no such method, at least not in Laravel 11, so after some digging, instead of calling the method via controller, you can call it statically from the Gate class (used for this kind of authorizations), like "Gate::authorize('detele', $comment)" then it would work! I hope it helps someone.
@billionsjoel
@billionsjoel Жыл бұрын
As an experienced individual who understands the subject matter, I find this video to be impressive and believe I can still learn a thing or two from it. However, I also wonder whether a complete newbie would grasp what's happening.
@siberiatrekking
@siberiatrekking 9 ай бұрын
Many thanks for detailed explanation!
@matinlh644
@matinlh644 Жыл бұрын
Next video idea: Creating Admin area for blog management
@wtfdoiputhere
@wtfdoiputhere 2 ай бұрын
look into filament
@PaulAlbandoz
@PaulAlbandoz 4 ай бұрын
What about the page to add/edit posts? And more specifically: how would you implement a WYSIWYG field for the post's body? Storing it as markdown looks great idea, but is there a simple editor for non-technical users?
@drfcozapata
@drfcozapata 10 ай бұрын
Great!!! Thanks bro. Blessings from Venezuela
@giorgiofranchini77
@giorgiofranchini77 4 ай бұрын
Nice work, thanks 😊
@xcrap
@xcrap Жыл бұрын
That's a great video. But I have a question about all tutorials I've seen in Laravel contents databases. In terms of optimization, I'm sure from past experiences that it's much better to have all Long Text fields in a separate table, so posts should be a table and for example table_contents should have that longText description, even make two queries instead of one will have much faster optimized results with thousands of records, or am I wrong ?
@hentype
@hentype Жыл бұрын
It won't make much difference unless you're working with something around hundreds of thousands of rows. I do something similar with a table of millions of rows, separating what used to be a column as a related table with foreign key and content columns. The advantage is that the db queries when searching/filtering through the rows don't get too big in size and I only have to use ->with() on individual row queries. One disadvantage I can think of is that if you ever need to filter the table using those contents as a condition it will complicate the code for the query logic.
@ahmadabeer3523
@ahmadabeer3523 Жыл бұрын
Great Video But would be nice if the comment section was in the same page as the post.
@akooka146
@akooka146 Жыл бұрын
Which Breeze stack did he use?
@drugoviic
@drugoviic Жыл бұрын
just regular blade
@Fosterushka
@Fosterushka Жыл бұрын
what browser does he use ?
@richard_keep
@richard_keep Жыл бұрын
co ask
@emadmohamed5787
@emadmohamed5787 Жыл бұрын
thanks
@FlyingCable98
@FlyingCable98 Жыл бұрын
Very nice. Quick question though. At 10:35 is there a benefit to sending the delete form to posts.comments.destroy instead of just comment.destroy? Wondering what is more conventional and why.
@kristun216
@kristun216 Жыл бұрын
it's because when he setup the route at 3:51 he set it up under "posts.comments", if you had different resource setup then you would use the magic string according to how you set up the routes
@Honken
@Honken Жыл бұрын
Bravo!
@Mickeyfsc2601
@Mickeyfsc2601 Жыл бұрын
Remarkable
@HiImKyle
@HiImKyle Ай бұрын
A working blog. Sure if you only ever wanna read seeded data? I get that the idea of the video is doing it all in 10 minutes, but you skipped over the blogging part of the blog.
@adityaco7021
@adityaco7021 6 ай бұрын
not easy at all
@marcburns508
@marcburns508 7 ай бұрын
Cant see the end of this line: 'body' => file_get_contents(database_path('factories/fixtures/example I get an error when I run: php artisan migrate -seed You cant use the same email... it has to be unique. Yea you did it in 10 minutes, but you glossed over way too much. Maybe this helps someone experienced in the platform, but definitely not someone new to it.
@bigorstojanov184
@bigorstojanov184 Жыл бұрын
I hate these click-bait "tutorials" that offer this teleshopping marketing level promises about how you can learn SQL in 5 mins or Vue in 10 mins, or this how to make a blog in 5 mins. Of course, they give you a false picture that web development should be fast, thoughtless and without deep understanding of concepts. This is the general problem that I have always with Laracasts.
@godwinudofia179
@godwinudofia179 Жыл бұрын
He literally said he wants to address those who may be on the fence about using Laravel for this purpose. There are proficient users of Laravel who may be on the fence and I believe this video caters to their question. It is understandable that you may have your own issue with Laracast's method and that's alright. But also acknowledge the target audience of this video.
@bigorstojanov184
@bigorstojanov184 Жыл бұрын
@@godwinudofia179 It ok that you have different opinion, but you missed the point by a mile. The tittle is click bait just as many similar tutorials that sell web development as a rapid 5 min task. This is wrong on so many levels. This is why people get lost in tutorial hell and why tutorialism has become such a lucrative business.
@drugoviic
@drugoviic Жыл бұрын
Laracasts is great, by just studying the PHP course you will go from beginner to having the ability to build production ready and safe application, the short courses are mostly meant for people who actually have experience, always check the difficulty its indicated
@allrounder7283
@allrounder7283 Жыл бұрын
thanks
Laravel Folio First Look
20:34
Laracasts
Рет қаралды 11 М.
How to Make a Passwordless Login System In Laravel
19:51
Laracasts
Рет қаралды 11 М.
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 62 МЛН
UFC 308 : Уиттакер VS Чимаев
01:54
Setanta Sports UFC
Рет қаралды 925 М.
Elza love to eat chiken🍗⚡ #dog #pets
00:17
ElzaDog
Рет қаралды 19 МЛН
5 Best AI Voice Generators For YouTubers (2025)
9:25
Learn with LEESI
Рет қаралды 5
From Zero to Markdown Converter in 10 Minutes - Using Laravel
10:44
CREATE BLOG IN FEW MINUTES - LARAVEL (CANVAS LARAVEL)
12:09
Takneeki Code
Рет қаралды 6 М.
Why is Laravel NOT used in Big Development Projects?
11:53
Stefan Mischook
Рет қаралды 182 М.
The Intermediate Developer Trap
18:39
Laracasts
Рет қаралды 22 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,6 МЛН
Significantly Improve Page Loads Using Laravel Prefetching
9:12
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 62 МЛН