Hi please I'm a PHP developer with experience in Laravel. I'm now exploring the possibility of integrating Laravel with React Native to build a website and a mobile application simultaneously. I'd love some guidance on how to get started with this project. Specifically, I'm unsure about how to create a mobile app using Laravel and React Native together.
@@Netvirux hum, you mention you have experience in Laravel. 30 seconds later, you say you’re unsure about creating a mobile app using Laravel. Listen, bro, Laravel is a PHP framework, and PHP is backend oriented despite the fact it that the combination of Laravel with, say, Livewire or even better -in this case-, Inertia, form a very powerful and easy and flexible monolith based 📲💻🖥️ responsive app. If your app can be released in the form of a responsive web application, you’re good to go with Laravel and Livewire (or Inertia with, Vue or React). If you’re talking about creating a NATIVE mobile app, I suggest you have a look at Flutter. Clarify your constraints, first.
Do you know where the bottleneck is, and are you sure it’s not specific to your app rather than the framework? I’ve worked with Laravel since v4 and if anything it’s only gotten faster…
You need to hone in your profiling skills & tools, because Laravel has not gotten slower in the slightly. Queries are usually the biggest culprits (n+1 problem). When you have larger datasets, a lot of issues can be mitigated by a good caching strategy. Another potential bottleneck is disk access. I've had major slowdowns once when I had split my views into too many blade components. Looping over arrays of hundreds of elements caused a significant performance hit, totally solved by removing the blade components and just moving the component code in the view where it was used. You have a lot of work ahead of you, don't give up 😅
@@mind.journey I didn't. I switched with this project to Symfony. End effect? Fast, stable (setup with Turbo Morphing + AssetMapper + Stimulus). I'm using Laravel for small projects now. It's too bloated. But still - waiting for improvements. Old Laravel was so, so good.... I have both those project made in Symfony and Laravel. Very big database (87gb), complicated template structure (multiple reusable components), services. Respond time in Laravel is 300ms. Symfony: 98ms.
Thank you... "ME" was awesome hahahaha - made my day!
+1 :d
Glad you enjoyed it! 😅 (Christoph)
Nice changes and super cool to see a PR made by you Christoph 👌
Thank you so much 🙏 (Christoph)
Thanks for that PR, saving people time
Glad you like it! (Christoph)
Thanks!
"Hey I'm a cool dev! You can tell because I wear a hat indoors."
Hi please I'm a PHP developer with experience in Laravel. I'm now exploring the possibility of integrating Laravel with React Native to build a website and a mobile application simultaneously. I'd love some guidance on how to get started with this project. Specifically, I'm unsure about how to create a mobile app using Laravel and React Native together.
Create a REST API with Laravel and Consume this API from any client including your mobile app
@@Netvirux hum, you mention you have experience in Laravel. 30 seconds later, you say you’re unsure about creating a mobile app using Laravel.
Listen, bro, Laravel is a PHP framework, and PHP is backend oriented despite the fact it that the combination of Laravel with, say, Livewire or even better -in this case-, Inertia, form a very powerful and easy and flexible monolith based 📲💻🖥️ responsive app.
If your app can be released in the form of a responsive web application, you’re good to go with Laravel and Livewire (or Inertia with, Vue or React).
If you’re talking about creating a NATIVE mobile app, I suggest you have a look at Flutter.
Clarify your constraints, first.
i have little tutorial about it
@@shabas_001 please help i need it
How to install Kafa with laravel sail
Waiting for performance enhancements. Laravel is so slow now :( I miss old days.
Do you know where the bottleneck is, and are you sure it’s not specific to your app rather than the framework? I’ve worked with Laravel since v4 and if anything it’s only gotten faster…
You need to hone in your profiling skills & tools, because Laravel has not gotten slower in the slightly.
Queries are usually the biggest culprits (n+1 problem).
When you have larger datasets, a lot of issues can be mitigated by a good caching strategy.
Another potential bottleneck is disk access. I've had major slowdowns once when I had split my views into too many blade components. Looping over arrays of hundreds of elements caused a significant performance hit, totally solved by removing the blade components and just moving the component code in the view where it was used.
You have a lot of work ahead of you, don't give up 😅
@@mind.journey I didn't. I switched with this project to Symfony. End effect? Fast, stable (setup with Turbo Morphing + AssetMapper + Stimulus). I'm using Laravel for small projects now. It's too bloated. But still - waiting for improvements. Old Laravel was so, so good....
I have both those project made in Symfony and Laravel. Very big database (87gb), complicated template structure (multiple reusable components), services.
Respond time in Laravel is 300ms. Symfony: 98ms.