Laravel From Scratch [Part 7] - Forms & Saving Data

preview_player
Показать описание
In this video we will be creating a form using Laravel Collective to submit blog posts to the database.

CODE: Complete Code For This Series

10 PROJECT LARAVEL COURSE: Please use affiliate link below
50% OFF: Use special code "traversy"

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:

FOLLOW TRAVERSY MEDIA:
Рекомендации по теме
Комментарии
Автор

I love the fact that he makes silly mistakes sometimes. It just proves to me that even the most experienced can make mistakes and it doesn't mean anything else as long as we can figure it out. And the way he handles it makes me laugh. xD "WTH did I do? " Hats off to you man!

sri.O
Автор

I can't stop learning from you, and also can't thank you enough ! Good series for Laravel, maybe the bests!

Mihailegal
Автор

I've studied laravel a few months ago via laracasts and i barely made it through. But I'm really glad I tried learning that before this because now I know to do things long-handedly and following this tutorial is a piece of cake for me. I love how consistently simple laravel can be made. Thanks for this tutorial, it will take me a few weeks probably to master everything as you do but thanks! really!

janinesantos
Автор

For all you trying to get CKEditor to work with Laravel 6 - just use

<script
<script>
CKEDITOR.replace( 'article-ckeditor' );

</script>
in the app.blade template and move on. :-)

lepmpl
Автор

I love how you keep your mistakes in! Great work by the way! :)

michalskogemann
Автор

Thanks a lot. This is the kind of tutorial that makes me wanted to learn Laravel, clear and concise. You turned it something that's really interesting, making me want to learn more. Apart from extended project courses on Eduonix, I pray that you create more Laravel videos that noobs like me can learn more and stick with Laravel. More power to you!

gurbeigekolekter
Автор

Make sure that you are writing this line right:
The class is optional of course, but all of the key-values inside of the same set of brackets. I had some sad issues because i had it wrong. But it is working now! : D

manualvarado
Автор

thanks a lot Brad! Thought learning laravel would be really difficult. your videos really helped a lot. :)

praveenbadigerv
Автор

To move Create Post button to the right, use class="nav navbar-nav ml-auto".

squattingnomad
Автор

Using Laravel 6:
I could not get Unisharp Laravel-CKeditor to work at all
Apparently, I'm not the only one. I've been googling for 3 hours and keep finding a lot of "Unisharp CKEditor not working with Laravel 6"

Every time I tried to issue command: "composer require ..."
I got this error: "Installation request for laravel/framework (locked at v6.1.0, required as ^6.0)"
I tried to change "laravel/framework" from "^6.0" to "6.1.0"
that didn't seem to work.
Maybe I didn't do something right

But I was able to just use the CDN directly from the CKEditor website. (Using CKEditor Version 5 is a little different than 4 and earlier)

However, I would recommend using TinyMCE CDN instead.
Just add this inside the <head> tag (in layouts/app.blade.php)
<!-- TinyMCE Editor -->
<script>
tinymce.init({
selector: '#editor'
});
</script>

Where #editor is the name of your <textarea>

NOTE: You'll need to setup an account and generate an API Key on their website (takes about 20 seconds). This will unlock more features for your editor. Works in localhost and yourwebsite.com

Anyway, hope that helps someone

PixiiBomb
Автор

The best series I have ever come across. And it's totally free!!!

Malithsen
Автор

This is the best course I have sen on the web, thank you! I went through the whole course from Part 1.
In this part (7) I think that getting third party software to create a HTML form is a bit of overkill.
From my experience a HTML Form is one of the easiest tasks for a web developer.

holacuba
Автор

AWSOME STUFF!!! Thanks, Brad!!!! You make learning Laravel easy and enjoyable!

joelomoglio
Автор

Hi ! for those who have problem with the editor not showing install laravel-filemanager (the link is on the bottom of the page where you got the editor, follow the installation instructions.) After you installed that run
php artisan vendor:publish --tag=ckeditor one more time . That fixed it for me .

spyke
Автор

This series is brilliant Brad, everything is so clear, probably one of your best! Thanks!

MrGreenpaulo
Автор

One of the best series on the laravel.Thank you so much for creating such a wonderful series...

divyapatadiya
Автор

UPDATE: if you use 'composer require laravelcollective/html' in terminal, you don't have to add those lines in config/app.php (providers & aliases)

blerimbojaxhiu
Автор

Laravel is terrific. I have old JavaScript routines I wrote to do validation, pagination and present error messages that I can get rid of now. Thanks for teaching us about Laravel.

paulhanrahan
Автор

My simple solution for those who have problem with the editor not showing:

<script
<script>
CKEDITOR.replace( 'article-ckeditor' );
</script>

Change src to
Be sure that your files were copied like in Brad's terminal

TheReverOcelot
Автор

Greetings from Panama bro! I'm trying to be a selflearner and I love your videos. I really like how you explain were things come from! kudos to you

gabrielsoto