Guys, Can we reflect ratchet socket changes in laravel without restarting socket server?

|
binumathew 2021-05-24 04:22:26
Following code works fine the first time, It finds the correct item and changes its checked value, but if I call the same function with the same id again it returns undefined. any idea why?
binumathew 2021-05-24 04:22:38
const handleChange = (id) => {
const ids = id;
let changedCheckbox = categories.find((category) => {
return category.subcategory.find((item) => {
if (item.id === ids) {
return (item.checked = !item.checked);
}
});
});
console.log(changedCheckbox);
};
Harikrishnan5494 2021-05-24 06:40:48
Anyone tell me. laravel local cron job will work on live server? Or Is that I need to configure cron job manually on server?
shinejemi 2021-05-24 06:50:55
Is there anything inbuilt to resolve concurrency issues in laravel?
shinejemi 2021-05-24 07:10:42
shinejemi 2021-05-24 06:50:55
Is there anything inbuilt to resolve concurrency issues in laravel?

Or using postresql automatically resolves it

flyingdragons 2021-05-24 07:35:24
Harikrishnan5494 2021-05-24 06:40:48
Anyone tell me. laravel local cron job will work on live server? Or Is that I need to configure cron job manually on server?

You need to configure your Laravel project path in Crontab. Please reffer the following article.

https://stackcoder.in/posts/why-you-should-run-cronjobs-in-laravel

Why You Should Run Cronjobs In Laravel? | StackCoderStackCoder
In this article, you will learn

Why Use Laravel Task Scheduling
, How To Add Laravel Task Scheduling In Crontab
, Running Task Scheduling In Laravel
, Adding Custom Functions & Console Commands For Task, Scheduling, Task Scheduling Frequency, Other Useful Strategies

flyingdragons 2021-05-24 07:37:32
shinejemi 2021-05-24 06:50:55
Is there anything inbuilt to resolve concurrency issues in laravel?

If your really worried about the concurrency issues then try PHP Swool. You can deploy Laravel projects over it

shinejemi 2021-05-24 07:40:30
flyingdragons 2021-05-24 07:37:32
If your really worried about the concurrency issues then try PHP Swool. You can deploy Laravel projects over it

What if I use postresql?

flyingdragons 2021-05-24 07:41:12
natghi2010 2021-05-24 00:14:59
What is a facade?

It’s a proxy pattern used in Laravel.

In simple words. If you want to access any Class methods as Static calls then basically you use this

Harikrishnan5494 2021-05-24 07:42:03
flyingdragons 2021-05-24 07:35:24
You need to configure your Laravel project path in Crontab. Please reffer the following article.

https://stackcoder.in/posts/why-you-should-run-cronjobs-in-laravel

Thank you man

flyingdragons 2021-05-24 07:43:09
shinejemi 2021-05-24 07:40:30
What if I use postresql?

Ya you can use any database.

Siberfx 2021-05-24 07:45:08
even a txt as a database ? 😛
Ramana K 2021-05-24 07:51:41
Php developers with vTiger Postgres, experience,
Lead position – 6 to 7 years
Developer – 3 to 4 years.
Please send your resume to recruitmentindia@itcrats.com or ramamadk@gmail.com
Im_gurlal 2021-05-24 08:04:02
Guys, Can we reflect ratchet socket changes in laravel without restarting socket server ?
Shweta 2021-05-24 08:35:16
Hi I’m using jspdf to save data in my file. But for jspdf I’m using a div id where first data is being displayed and then getting downloaded. But i don’t want my data to be displayed, i just need data in my pdf and no where else. Can you tell me how to do it without using div id
Shweta 2021-05-24 08:35:41
This is my code
Shweta 2021-05-24 08:35:52
Please help
shinejemi 2021-05-24 08:48:15
flyingdragons 2021-05-24 07:43:09
Ya you can use any database.

Will it be able to handle concurrency
?

DigitalTrusty 2021-05-24 08:49:30
Any Reverse Proxying Expert here through PHP Curl ?
flyingdragons 2021-05-24 09:04:11
shinejemi 2021-05-24 08:48:15
Will it be able to handle concurrency
?

You mean database. I don’t know about Postgre Sql.

But in mysql it handles x number of requests concurrently and then queues it up

Jenk1234 2021-05-24 09:10:06
Help please Laravel: I have two tables in the database that I want to take details on each table i.e. the first table I take the second and third columns, and the second table I take the 3rd column. Output display on one Card located in the browser. Those tables have a Many to Many relationship How to handle this ?????
SureshLaraDev 2021-05-24 09:14:01
Jenk1234 2021-05-24 09:10:06
Help please Laravel: I have two tables in the database that I want to take details on each table i.e. the first table I take the second and third columns, and the second table I take the 3rd column. Output display on one Card located in the browser. Those tables have a Many to Many relationship How to handle this ?????

Lol I am practicing the same.

SureshLaraDev 2021-05-24 09:14:43
laravel_discuss-82450.jpg

Dilawar Naseem 2021-05-24 10:02:46
laravel_discuss-82451.jpg
I ran this query to sum how can I store the total in dB and display it on frontend
Dilawar Naseem 2021-05-24 10:08:47
laravel_discuss-82452.jpg

Abbas_roholamin 2021-05-24 10:16:47
Dilawar Naseem 2021-05-24 10:02:46
I ran this query to sum how can I store the total in dB and display it on frontend

when u use sum it return olny sum of that column u pass to it

Abbas_roholamin 2021-05-24 10:17:18
Dilawar Naseem 2021-05-24 10:08:47

sum not return array it return one value

Lalit Rana 2021-05-24 10:46:33
Dilawar Naseem 2021-05-24 10:02:46
I ran this query to sum how can I store the total in dB and display it on frontend

Run another query to store

itswinner 2021-05-24 10:49:20
How to sign up and login through Facebook and Google account in laravel
itswinner 2021-05-24 10:50:05
Through api
itswinner 2021-05-24 11:02:56
Any body
hassankm99 2021-05-24 11:06:35
Use Socialite
fathi 2021-05-24 11:15:53
Hello, I wanted to introduce an open source store with Laravel 8, preferably free?
natghi2010 2021-05-24 11:42:17
Im_gurlal 2021-05-24 08:04:02
Guys, Can we reflect ratchet socket changes in laravel without restarting socket server ?

Dont think so honey

Im_gurlal 2021-05-24 11:43:13
@natghi2010 why ?
|