Post safe products, Aints rebels used the pages.
Yes, and here to create a function and we're going to call these functions safe products like this,
and I'm going to take the safe product function.
And when I come to the pages controller here, I want to see this, for example, public function,
as you can see like this.
And I'm going to save all this, all information that's ongoing, for example, to fairshare.
So if I will only page if I click on.
And services.
And I have new products.
Yes, and if I click on IT products and I have safe products, as you can see, a C, I can say, for
example, I can print a message.
I can see, for example, this is the safe products function.
This is the same product function, and if every Larry page here you're going to see I'm going to get
this message now, I have to put this in culture and I would Larry Page, I'm going to get this is the
safe product function.
And you can see and if you want, for example, to save information in a database, you have also to
use two networks.
You can use the CareerBuilder, you can also use them, the model, the LARIVEE eloquence.
And here we can go back first word out creates here and then declared, for example, our inputs required.
Yes, you are required in order to avoid.
Some here and here, you must see.
Requests like this, it does mean if we got a cure.
And if we slowly Piech.
If I click on this and that it is required and the user is to use, first of all, the the motor, the
lot of eloquence, this is the best way you can also use the query builder.
So it is removed is in the words we need first for all, information that's going to feature is like
a request we are sending in our database.
And the reason why we are serving.
You need first of all, to create the requests extends.
As you can see, if you scroll up, you're going to see by default, Laravel give you the request.
Plus in order to create a request and expense, if you want, for example, to save information in a
database and I'm going to say request, do not forget these letters.
And the first thing I need is to create this like this product.
The first thing I use the LARIVEE eloquence and humorously prove that this is my model.
And others say product, which is my model.
And I'm going to say like this, I will say new products like this and what I'm going to do if it wants
for is import.
So you I think that you are remembering and have the same thing.
We have to do the same thing with what we have done with our terminal.
So we are going to say, for example, products and products lean in, where is the product name and
you're going to say requests.
Yes, and there is a request here.
We're going to put exactly what we have here.
This is this field is what you have in your database, in your products, table products and what you
are getting supports.
Here is what you have in your phone.
I'm going to take this the name, take your name here, product pages, and I'm going to pass it like
this.
And I'm going to take also products from singular products price.
That is his requests and the products for us disinformed with these coffees.
It's regular procedure.
I think that you understand products that.
Description and hearing that gets requests in the here we go gets products.
Product description.
Yes, like this product recession, and if you want to see if you're going to get at all is the same,
you got to stay safe.
Is this your function here?
And very simple and very clear, let's say safe.
And then we are going to make sure I got to say, for example, we have mental instability to say,
for example, Shia and Jews, for example, are going to set the price will rates deceased.
This is the juice, and I'm going to add products.
If they have, they're creating the from empty woods.
Pages controller.
No, we have to remove this is please, yes, let these.
This is the juice and let us click on add products.
Yes, the product is safe.
And if we go back here and click on products to reload the page, you should see we are going to get
the juice here, very simple and very clear and we going to continue to the next video.