Laravel 6 Beginner - e3 - Views

preview_player
Показать описание
Views are the way that we add HTML and front end code to our application. We will create a blank file and correctly display it on the browser using the view() helper function.

DigitalOcean Referral

About This Course

If you have been looking to learn Laravel, there hasn't been a better time. The framework reached an important point in its life, with the release of Laravel 6. There has never been more demand for Laravel developers than now. In this series, we are going to get you started in your path to becoming a Laravel Artisan. Let's get right to it!
Рекомендации по теме
Комментарии
Автор

Hey creator of this channel. I want to thank you from all you can imagine. I had such a big respect from coding and I startet my very first steps with laravel and your tutorials going very fluent and easy. I wish you the best for reach more people and help like you helped me. It's a huge journey but I wanted to thank the one that gave me the first baby steps. Not every hero wear capes. Thanks for giving us your free time to learn this. Much hugs

Domhammr
Автор

I know JavaScript and it's OOP, i don't know PHP i just gave Laravel a shot but Coder's Tape never disappoint me...
I LOVE LARAVEL

preciousimoniakemu
Автор

Amazing!! Your channel will growth rapidly if you build more project.

cubedev
Автор

great work! I've watched your laravel series from 5.8 and other additional vids as well. Well done!

petervandylian
Автор

Hi, just started working with Laravel (well, actually, i am involved in using an app/website and it uses Laravel, so i decided to learn something about it.
Love your tutorial so far, thanks for making/sharing it!
Just one 'complaint', at the end there are a lot of pop-ups in the screen (on the left for instance a link to the next video and a link to 20 other video's.
This is annoying, you are still explaining something and showing on the screen but the viewer can not see that anymore because of these big popups.
But apart from that, love it!

zwerfieknie
Автор

I am not sure if this is made in 2019, but the syntax I followed with this tutorial i.e. it is not necessary to add data before the square bracket. It will be better if you can update your video. Or provide correct syntax. Thank you

Tubee
Автор

If your route only needs to return a view, you may use the Route::view method

erinday-one
Автор

For those who want to play around a bit more, try this code:
Routes:

Route::get('/hello/{name?}', function ($name=null){
$message = 'Hello'.($name?(', '.$name.'!'):'!');
//return $message;
return view('hello', compact('message'));
});



Inside your hello view:

<h1>{{ $message }}</h1>
<p>Just learning Laravel 6.</p>
<p><small>This a message right from the view.</small></p>

latlov
Автор

I can't seem to get the code "view:" to look the same. I'm in vs code but not sure if that's a special type. The text looks smaller. I've just copied exact code but it's not working.

aDmtProduction
Автор

why there is extra 'view:' inside the 'view' function? isn't it incorrect ??? i didn't need that extra view inside the view function.

snakemanluffy
Автор

I can't make out the folder structure watching on iPad. 480p resolution is bad. Really bad in 2019 . Not everybody can afford PHP Storm? VS Code is the defacto standard for modern tutorials. Any student can download for free, it's highly visible on almost all screen sizes, and it's feature rich. It's a shame because the content is great. It's just not possible to watch all tutorials on a laptop all the time.

adante
Автор

Again not able to generate this Route::get('/hello', function () {
return view( view: 'hello');

}); on front end :(

DanZL
Автор

I want to buy this tool, because I want to scam bank email,

blakebrady