Some advices about making micro-services with laravel?

|
bngnnd27 2021-05-23 20:33:54
YOUCODEWORLD 2021-05-23 20:32:21
here https://laravel.com/docs/8.x/eloquent-relationships

thank’s help a lott☺️

Dilawar Naseem 2021-05-23 20:36:05
sobirjonovs 2021-05-23 20:32:16
add group by before the get, I wrote it by phone))

laravel_discuss-82341.jpg

YOUCODEWORLD 2021-05-23 20:36:38
bngnnd27 2021-05-23 20:33:54
thank’s help a lott☺️

Read more official documents generally problem will be solved.

sobirjonovs 2021-05-23 20:36:53
Dilawar Naseem 2021-05-23 20:36:05

🤔🤷🏼‍♂️🤷🏼‍♂️

2021-05-23 20:38:32
English language links send
YOUCODEWORLD 2021-05-23 20:40:37
A lot of netizen private asks the question, the hope replies the agreement situation again private ask. If you ask any questions you will ask in group you’ll get more information.thanks.
2021-05-23 20:46:52
laravel_discuss-82348.jpg
#ask
anyone know wht i can’t get the data? so i use this AJAX for getting data in controller (DB query) and passing to blade.
2021-05-23 20:47:13
*why
YOUCODEWORLD 2021-05-23 20:49:31
2021-05-23 20:46:52
#ask
anyone know wht i can’t get the data? so i use this AJAX for getting data in controller (DB query) and passing to blade.

you backend response json.

2021-05-23 20:52:15
laravel_discuss-82351.jpg
do you mean this?
YOUCODEWORLD 2021-05-23 20:52:34
Yes . Sure
2021-05-23 20:52:38
but when i set the request manually.. it works 😭
2021-05-23 20:53:54
what should i do? at the end i want pass the variable to the blade, to see the value/data from DB
YOUCODEWORLD 2021-05-23 20:54:52
😅, It’s easy. You want give value to DOM.
DesolatorMagno 2021-05-23 20:55:15
return check, so you can see if the data reach well, them use another var like $altCheck and give it a value that you are sure will work.
2021-05-23 21:03:02
sorry for this easy question i just started learn laravel this month so still dumb for all of this 😭
2021-05-23 21:03:17
DesolatorMagno 2021-05-23 20:55:15
return check, so you can see if the data reach well, them use another var like $altCheck and give it a value that you are sure will work.

ah thankyou i’ll try it

YOUCODEWORLD 2021-05-23 21:07:56
2021-05-23 21:03:02
sorry for this easy question i just started learn laravel this month so still dumb for all of this 😭

https://laravel.com/docs/8.x/blade#blade-and-javascript-frameworks

Tirelessphyche 2021-05-23 21:31:25
How to fetch data from an excel file and show it
2021-05-23 21:41:30
YOUCODEWORLD 2021-05-23 21:07:56
https://laravel.com/docs/8.x/blade#blade-and-javascript-frameworks

yes thankyou!

2021-05-23 21:41:41
now my Ajax works
programmer1453 2021-05-23 21:41:47
Hello firends, Can you help urgently?, If I choose one in the select box, all select boxes are affected. it works so ridiculous.i couldn’t fix it
programmer1453 2021-05-23 21:42:08
help me ?
programmer1453 2021-05-23 21:42:43
ı m using livewire
Zoxedlimitless 2021-05-23 21:42:49
Gif doesn’t work for me
2021-05-23 21:42:49
wel now i can’t send the data/variable to blade, i used {{ $something }} but it doesn’t work 🙁
SureshLaraDev 2021-05-23 21:43:17
public function update(SuppliersEditRequest $request, Supplier $supplier)
{
$validatedUpdate = $request->validated();
$newUpdatedImage = time() . ‘-‘ . $request->supp_name . ‘.’ .$request->supp_image->extension();
$validatedUpdate[‘supp_image’] = $newUpdatedImage;
$supplier->update($validatedUpdate);
$request->supp_image->move(public_path(‘images’,$newUpdatedImage));
return redirect()->route(‘suppliers.index’);
}
SureshLaraDev 2021-05-23 21:44:03
SureshLaraDev 2021-05-23 21:43:17
public function update(SuppliersEditRequest $request, Supplier $supplier)
{
$validatedUpdate = $request->validated();
$newUpdatedImage = time() . ‘-‘ . $request->supp_name . ‘.’ .$request->supp_image->extension();
$validatedUpdate[‘supp_image’] = $newUpdatedImage;
$supplier->update($validatedUpdate);
$request->supp_image->move(public_path(‘images’,$newUpdatedImage));
return redirect()->route(‘suppliers.index’);
}

when i try to move the updated image to public path, it gets stored as .tmp file. Where do I make mistake. Need help. Thanks in advance

Zoxedlimitless 2021-05-23 21:44:17
Some advices about making micro-services with laravel ?

I have an existing laravel project with modular structure using nwidart/laravel-packages

How to explore this structure and make it multiple micro-services

SureshLaraDev 2021-05-23 21:53:22
SureshLaraDev 2021-05-23 21:44:03
when i try to move the updated image to public path, it gets stored as .tmp file. Where do I make mistake. Need help. Thanks in advance

solved..lol

DesolatorMagno 2021-05-23 21:55:20
programmer1453 2021-05-23 21:42:08
help me ?

Are you using unique id identifiquer? sometimes if you don’t give it a ID or something to use to differentiate them things like that can happen.

SureshLaraDev 2021-05-23 21:56:39
DesolatorMagno 2021-05-23 21:55:20
Are you using unique id identifiquer? sometimes if you don’t give it a ID or something to use to differentiate them things like that can happen.

hey bro..I got a doubt

programmer1453 2021-05-23 21:57:06
DesolatorMagno 2021-05-23 21:55:20
Are you using unique id identifiquer? sometimes if you don’t give it a ID or something to use to differentiate them things like that can happen.

I just solved the problem, instead of using wire: model I used wire: key

SureshLaraDev 2021-05-23 21:57:07
what’s the diff btw public_path(‘/images/’) and public_path(‘images’)
DesolatorMagno 2021-05-23 21:57:33
👍.
|