So my question is should I shift to any other technology when app have to communicate lot with MySQL database and if yes then which technology will be best for this scenario?

|
i_jordan 2021-10-26 18:17:52
itsAxton 2021-10-26 18:17:23
I fixed already
Thanks

cool

DesolatorMagno 2021-10-26 18:18:13
First i would recommend to use a tool like debugbar, to check how many request time and other usefull info.
natghi2010 2021-10-26 18:48:41
itspirate 2021-10-26 18:13:28
Laravel is ok when lots of request have to send to database ?

Eloquent is the number one cause of slow database in my experience.

natghi2010 2021-10-26 18:48:52
That and not indexing
thekiharani 2021-10-26 19:24:47
What makes queues hang like forever. Not failed, just pending.

Environment: live (staging)
Driver: redis (with horizon)

Rezi 2021-10-26 19:36:23
itspirate 2021-10-26 18:10:18
Bcz of lots of request to the database apps become slow to response some times page load taking 10 to 12 sec how I overcome this ?

maybe your queries are not optimized

Sohail Ahmad 2021-10-26 19:51:09
Hello laravel developer i am little confused in these Two words. what is module and Traits and why we use and which situation (project) we used.
spykelionel 2021-10-26 19:58:45
itspirate 2021-10-26 18:09:41
Guys I need some Information …

I made a application with laravel and there are lots of communication between MySQL server and that app as many users using that app

So my question is should I shift to any other technology when app have to communicate lot with MySQL database and if yes then which technology will be best for this scenario ?

If you face this issue a lot, then consider rethinking the architecture of your application, yes it has so many users so caching alone wouldn’t do great. Or maybe optimization of your db queries would do. You need find out and abstract that part of the application that users access the most (not removing from the system though ), if searching through a document is faster than a table, then abstract the part only to a Nosql solution. Or maybe you should go for a cdn if it had a lot of traffic and also understanding the load of your system will enable you write better load balancing algorithms. This way your application will fly.

spykelionel 2021-10-26 20:01:43
akaydavid 2021-10-26 17:57:22
Laravel 8.x Documentation pdf

Thanks boss😊

itsAxton 2021-10-26 20:14:03
laravel_discuss-98264.jpg
i have this to create user
itsAxton 2021-10-26 20:15:11
laravel_discuss-98265.jpg
and this method in User model to setpassword automatically, but it is not reaching this method, it gives error of password does not have a default value
itsAxton 2021-10-26 20:16:22
anyone ?
Kinan Abuasi 2021-10-26 20:27:01
Anyone can send me : xampp – php here please
ritechoice23 2021-10-26 20:29:15
You can just search for it on Google then install it
ritechoice23 2021-10-26 20:30:09
Get the one for your operating system
Coding Freak 2021-10-26 20:43:15
ritechoice23 2021-10-26 20:29:15
You can just search for it on Google then install it

Like a boss👍

Rezi 2021-10-26 21:02:49
itsAxton 2021-10-26 20:15:11
and this method in User model to setpassword automatically, but it is not reaching this method, it gives error of password does not have a default value

it jumps before to be stored in db. remove dd

itsAxton 2021-10-26 21:05:11
Rezi 2021-10-26 21:02:49
it jumps before to be stored in db. remove dd

even when i remove dd
it does not work

itsAxton 2021-10-26 21:05:53
i followed this tutorial

Laravel Automatic Password HashingYouTube
Want more? Explore the library at https://www.codecourse.com

Using mutators to set properties in your models can really clean up your code. In this snippet, we’ll look at an example of automatic password hashing and see how much tidier our controllers end up.

Official site
https://www.codecourse.com

Twitter
https://twitter.com/teamcodecourse

DevKadirov 2021-10-26 21:24:22
Abdug’offor:
Assalomu alaykum

Laraveldaham yii2 ga òxshab tayyor CRUD yasab beradigan generatsa funksiyasi bormi

TheRealScar_Face 2021-10-26 21:52:51
laravel_discuss-98277.jpg
good day everyone. I want to create one to many relationship with 2 fk
TheRealScar_Face 2021-10-26 21:53:31
laravel_discuss-98278.jpg
and these r my models how can connect them
Amirjahan_1 2021-10-26 22:36:55
laravel_discuss-98279.jpg
hey guy’s
have a question
is important Binding in laravel ?
i can’t imagin why use it
NanoCellMusic 2021-10-26 23:12:53
TheRealScar_Face 2021-10-26 21:53:31
and these r my models how can connect them

Have you actually looked at the docs? on the Laravel website?

bryan_king 2021-10-27 00:25:08
Amirjahan_1 2021-10-26 22:36:55
hey guy’s
have a question
is important Binding in laravel ?
i can’t imagin why use it

One use case would be for dependency injection. This will automatically resolve all your dependencies in places like controller , middleware and some other specific classes.

bryan_king 2021-10-27 00:27:17
bryan_king 2021-10-27 00:25:08
One use case would be for dependency injection. This will automatically resolve all your dependencies in places like controller , middleware and some other specific classes.

You can choose which implementation you want by defining them in a service provider.

Life G 2021-10-27 00:52:06
Sarthak Garg 2021-10-21 09:24:24
We want laravel developers as an interns. DM me for more details.

Online or offline ?

Shaik_shazeb 2021-10-27 05:36:35
Hi everyone
There is a freelance work on php codiegnitor.
You have to integrate biometric attendance.

Req :Add Student Finger print
Capture Finger Print
Finger Print SDK integration
Attendance report

Same as for Teacher attendance.

DM me with costing and time

miss Pagal chori 2021-10-27 06:30:29
Plzzz how to upload multiple image
Image type size
pyli_7655 2021-10-27 06:59:23
Hello everyone

I am available for laravel freelancing work , if anyone need

DM me

Laura 2021-10-27 07:56:10
Hi guys, I’m new to this and I’d like to know if anyone can help me set up aws to upload an ecommerce, thank you
vikash_dev 2021-10-27 08:00:02
how to debug code in laravel 8
vikash_dev 2021-10-27 08:01:14
how to create login using authentication in laravel 8
neelbas 2021-10-27 08:32:08
laravel_discuss-98297.jpg
I’m running “spatie/laravel-permission” with error: There is no permission named `edit articles` for guard `web`.
can you help me please?!
neelbas 2021-10-27 08:34:17
vikash_dev 2021-10-27 08:00:02
how to debug code in laravel 8

as I know debug the php code is not relate to debug tools, So any php code can be debug with Xdebug php’s extension. see xdebug’s docs for details.

|