Thanx. You can also set route('customers.update', $customer) instead of route('customers.update', ['customer' => $customer]), as it get $cusomer ID automatically in this case.
I think we (you :) forgot to add the ` @if(session()->has('message'))` stuff into app.blade, because the email response message has gone. Didn't see it on github either. Unless that's intentionally?
Been exploring that myself lately but haven’t gotten to a point where it’s anything useful. I will certainly share once I’m at a point that works flawlessly.
That's right. Basically allowing for a "permanent" connection between the client and the server after the page has loaded. This allows the server to send pieces of data to update the UI without the need of refreshing the entire page. Chat is probably the most common example but some additional examples could be used in a status bar, or when a user uploads images and is getting resized behind the scenes or as extreme as a single page app. Right now, there are solutions like Pusher that work in Laravel perfectly fine but require the additional service, Symfony (maker of a lot of packages used in Laravel) has a package that uses Mercure. Mercure can be run in a docker instance or in your server, side by side with your app. That's the avenue I have been exploring with it. Check out this link to find out more on this new package. symfony.com/blog/symfony-gets-real-time-push-capabilities
I didn't understand that why did you pass customer =>$customer at the end of the video. can you tell me with any example?? and By the Way .. love your videos
how could i use helper for update and edit Route::get('students/{student}/edit' ,'studentscontroller@edit')->name('students.edit'); Route::put('students/{student}' , 'studentscontroller@update')->name('students.update'); what show i write in the route('?') for both plz reply when i do then , its says you must use head,post,get method but i use patch mathod
I have a question that if I change Route::resource('customers', 'CustomersController') to Route::resource('customers-1', 'CustomersController') like that wont work. How to solve this problem each time I want to change url in Route::resource ? Thanks, You are the best! 😁
i really fucked up in this url helpers lol its makes me crazy on how to do route with /edit xD and i dont have an internet connection for google to clone the github repo and thats the reason im still stockedup here and not moving forward to the next lesson how can i go to the edit how to view the edit view using route ? right now i just use {{route('customer.update',['customer',$customer->id]}} i know that it will just show me the show view so how i can able to go to the edit can you show me the edit route so i can go to the next lesson thank in advance
your tutorials are better than any premium paid course on the internet or in any university.
how did you wrap the rout:list to a smaller view ?!
very helpful. many thanks
Thanx. You can also set route('customers.update', $customer) instead of route('customers.update', ['customer' => $customer]), as it get $cusomer ID automatically in this case.
Fantastic Lesson
great videos
Thanks
I think we (you :) forgot to add the ` @if(session()->has('message'))` stuff into app.blade, because the email response message has gone. Didn't see it on github either. Unless that's intentionally?
Not sure. Might have forgotten to add that to the repo
He man! Love your vids!
A request here🙋♂️ if you have the time, can you make a tutorial series about Laravel websockets?
Thanks!
Been exploring that myself lately but haven’t gotten to a point where it’s anything useful. I will certainly share once I’m at a point that works flawlessly.
@@CodersTape I think the Websockets are mainly used for real-time apps, such as chat or something...
That's right. Basically allowing for a "permanent" connection between the client and the server after the page has loaded. This allows the server to send pieces of data to update the UI without the need of refreshing the entire page. Chat is probably the most common example but some additional examples could be used in a status bar, or when a user uploads images and is getting resized behind the scenes or as extreme as a single page app.
Right now, there are solutions like Pusher that work in Laravel perfectly fine but require the additional service, Symfony (maker of a lot of packages used in Laravel) has a package that uses Mercure. Mercure can be run in a docker instance or in your server, side by side with your app. That's the avenue I have been exploring with it.
Check out this link to find out more on this new package.
symfony.com/blog/symfony-gets-real-time-push-capabilities
@@CodersTape You can also use Laravel-websocket from beyondcode. This package is like pusher, but you can host this on your own project.
@@CodersTape Thanks man for your answer, appreciate your informative guidance
つ(●з●)つ
I didn't understand that why did you pass customer =>$customer at the end of the video. can you tell me with any example??
and By the Way .. love your videos
That's so that it will have the correct url like '/customers/1'
@@CodersTape thank you so much. I got it
how could i use helper for update and edit
Route::get('students/{student}/edit' ,'studentscontroller@edit')->name('students.edit');
Route::put('students/{student}' , 'studentscontroller@update')->name('students.update');
what show i write in the
route('?')
for both
plz reply
when i do then , its says you must use head,post,get
method but i use patch mathod
I am not understanding your question
I have a question that
if I change Route::resource('customers', 'CustomersController') to Route::resource('customers-1', 'CustomersController') like that
wont work. How to solve this problem each time I want to change url in Route::resource ?
Thanks, You are the best! 😁
use {{ action([ 'App\Http\Controller\CustomersController::class', 'index' ])}}
how to use route helper for edit method i.e services/{service}/edit. How to set this in form action
Use the same. For example:
href="{{route('product.edit', ['product' => $product])}}"
does it worked?? i do save but it didn't work
The BEST as always!
Very nice and clean tutorials... Thanx man. You've got a like and subscribe from me. :)
i really fucked up in this url helpers lol its makes me crazy on how to do route with /edit xD and i dont have an internet connection for google to clone the github repo and thats the reason im still stockedup here and not moving forward to the next lesson how can i go to the edit how to view the edit view using route ? right now i just use {{route('customer.update',['customer',$customer->id]}} i know that it will just show me the show view so how i can able to go to the edit can you show me the edit route so i can go to the next lesson thank in advance
Route::get('customers/{customer}/edit', 'CustomersController@edit')->name('customers.edit');
@@CodersTape i mean the route for the link in the link to see edit view
Now it became a little hard to understand. Advanced topics comings I guess