All language subtitles for 2. Create Application First Program

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

He's welcome to the course of Lavallade EPA Dalat material.

This is potful inside this video, able to create our first program inside Laravel.

So if I packed a folder structure, this is the application what we had installed inside last video,

not to create first program.

We need her out.

We need a controller as well as we need a layout file.

So a step by step four will create all these files inside this application setup.

So if I packed the terminal, first of all, we will create a controller.

So to create controller will use a command that is command provided by Laravel, something addition

by the help of additions command will create Controller Suku here.

Now if I time the command called BHP Addition pressing into.

After typing this addition, it is going to give us a good command ballad.

This is the command ballad, which is going to actually provide several functionalities, several features

when you run any command from this command palette.

So for now, let's add that if we're interested to create any controller, go inside this make section.

Inside this MIEKE section, we have a command called MIQUEL Controller.

So when we run the command call partition as a prefix after this partition, when we type make Anthoula

controller name, we need to pause.

Then it will create a new controller class.

Now, if we want to learn all about Litsa, if we are interested to see the HELDMANN, all of this May

controller come on simply Gourriel and type the command called BHP Addition Help for the Help manual

and the command name.

So we need the help manual guide for this controller pressing enter.

Now, as you can see that this is the Help manual guide of MI controller.

So when we use this May controller, we to pass an argument.

And that argument is something the name of the class.

And here we have several options.

What actually optional if we want to pass while creating this controller.

So right now, this is our very first program.

So simply we will create a very basic controller without any options.

So let's have BHP optician Mick Canterlot and we will call it as Daft Controller, not pressing enter

as we can see that Canterlot created successfully.

Now, if you go inside this application structure so free, you will find that file, what we had created

via BHP audition.

So we had created a controller.

So controllers by default will store inside the setup inside this app folder, as did controllers.

And here we will find dust controller.

So this is the skeleton.

Now, inside is a skeleton will add a method sulit of public

function.

Now, inside this Lizzi, we are creating a sample method inside.

This will pass for now or static masses, let's say, within each one element.

Welcome to Dust Control, I'll save the change.

Oh, next week to create a road so that when we call that road into the browser, that road will point

or call the sample method.

So far out configuration inside this set up inside Lorrel application, we will go inside her doubtful

door and open that door to BHP in the next few years.

When we learn about Epper development, EPA dot, BHP file will be used.

This is for EPA to paint and this is for vew application development.

So if I click on this file now, go here by default, it will provide all Volcom page.

So inside this file, first of all, really use this dust controller.

So we need to import that.

So use dust controller so successfully we have imported this dust controller is coming from App Astrobee

and controllers folder.

If we go to its namespace app ATP controllers and inside this controllers folder we have dust controller

sugo here.

Let's create a road that is for the get to Krysti and inside this will call it a sample making an array.

Inside this we have the dust controller and inside this dust controller, which is a glass and inside

this glass we will have this sample method.

So if you save all these changes now we have configured or created a controller and added aroud inside

this viewport.

We now next to test this application, we to start our development server so can serve.

The application has started into eight thousand one port.

So if I open this link into the browser, this is our landing page.

What we had seen by the help of this crowd will understand in a bit.

So for now, this is the road what we had to test.

So simply having copied this route back to browser and type the name called Sample.

And as we can see that this is a static message.

What we had supplied inside this sample mattered.

This is only for the static message.

Now let's add that view to create a few file and we will turn to the message from that file to return

or to use of you file will use view, helper function, solitary turn.

You will create a sample file.

So let a sample of you.

This is the name and inside Lowville application for The View file, we have the tablet engine which

has the extension called dot dot BHB.

It means this is the view file.

We want to call this for this method.

So when we create this view file, the file name is something simple.

Hyphen, view, dot, dot, dot, dot, dot, dot.

What is this?

This is the extension of Laravel templates.

So if I copy this name, all of your files will be created inside this resources folder and Fuze folder.

Sugarhill Sample View, Dot, dot, BHP.

Now inside this file, what I will do simply I will copy this is Static Method Kahil and it's a calling

from a few file.

Now if you see successfully we have linked this few file into the sample method we're returning here.

So save the change.

He's going to load this page and as we can see that we are getting that static message.

In some cases, if we want to pass some values, dynamic values from this method to this file, we can

also start making the second parameter here.

Bastianelli, let's add that name equals to this is the name we are passing, Emile.

So here we have two key value peers in terms of an area we're passing to this few file now, insider's

view, why all these values will be available.

The thing is that these two keys now, they will appear as a variable inside these few file.

So to paint, that's a PSP and every type equal name.

If I read this into a paragraph tag, let's open up the second paragraph based it here, and this is

for the email address, save this change Gwent load.

As we can see that this is the name and this is the e-mail value.

We have the sort and operator of this syntax inside the syntax, as you can see that to print any value.

This is the land.

So is there any sort, good way to print any value inside?

Yes, we have for the sort good farmable to simply get rid of this BHP antico in place of that simply

put equals to sign for this BHP antico foot equals to sign all we have done save this change is going

to load this page.

As you can see that we have the same output.

And the last thing for this feature is all about understanding all about this roud so rootkit, it means

for the welcome page.

And here inside this callback function really turning of you file.

As for the video, as we know that if we're returning any of you file.

So The View file name has the extension call retaught.

So this is the file we're returning.

This file will be available inside resources folder, views folder.

And look at this file.

Welcome dot dot.

BHP and this function is known as closer function.

So this is an example of closer out because this route is not using any controller.

Instead, here we have the first value as a route and the second value we have.

The function means callback function and inside this callback function really turning off you file.

So this is an example of closer aroud.

So as this is our first program.

So all we have, the basic concept we had discussed now the next video we had seen or we will see the

concept of migration inside Laravel so far this recession.

Guys, thank you for watching and have a great day.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.