Laravel

Laravel

Application and Data / Languages & Frameworks / Frameworks (Full Stack)
Full Stack Developer(Remote) at Openclassrooms·
Needs advice
on
LaravelLaravel
and
Node.jsNode.js

I am currently doing my MSc project at the moment. My project is to build an app (web-based or native) to help hospitals study user activity and help in hospital management. Which would be a better framework for this, Laravel or Node.js?

READ MORE
5 upvotes·89.4K views
Needs advice
on
LaravelLaravel
and
WordPressWordPress

Hi All

I am currently working on preparing a multi-tenant app with one database per tenant. The app will have data analytics dashboards, CRM, and task management modules. Originally my thoughts were to build with Angular, Laravel, and MySQL, as the development team mainly consists of PHP developers.

However, the team is recommending to develop the app entirely using WordPress by utilizing a multisite model, saying that it will not have any impact on performance even as the user base increases.

My own take is that this will have a negative impact on performance. Can you please advise me if this is true?

READ MORE
7 upvotes·110.5K views
Replies (3)
Recommends
on
Laravel

Yes, right

WordPress can build the multisite model quickly, it can achieve faster results on a limited budget and time But during business maintenance and refinement after running the first version, WordPress may become a hindrance, also it could get heavier when load more plugin

Laravel needs more code work at the early stage of the project, page build, business logic, and so on, use Laravel will cost more time on the first version But after the first release, the maintenance and refinement will be much better than WordPress

READ MORE
9 upvotes·37.6K views
Full Stack Developer - Designer ·
Recommends
on
WordPress

I will advise going with the team in which your team is comfortable with, as you mentioned you have less time. WordPress is a good tool for customize development. Just care about the securities and don't use more than 2-3 plugins. Assign proper resources in terms of Ram and others using custom configurations of PHP and wpconfig. About Restful API it provides you built-in facility which you can us later on for the App developments for mobiles. Wish you good luck with your project.

READ MORE
5 upvotes·1 comment·36.8K views
neststay home
neststay home
·
January 24th 2024 at 9:42AM

Choosing a team comfortable for you is crucial, especially with time constraints. WordPress is an excellent choice for customized development; prioritize security and limit plugins to 2-3. Allocate sufficient resources like RAM through custom PHP and wpconfig configurations. Utilize WordPress's built-in Restful API for future mobile app development. Best of luck with your project!

·
Reply
View all (3)
Needs advice
on
LaravelLaravel
and
Node.jsNode.js

I want to create a video sharing service like Youtube, which users can use to upload and watch videos. I prefer to use Vue.js for front-end. What do you suggest for the back-end? Node.js or Laravel ( PHP ) I need a good performance with high speed, and the most important thing is the ability to handle user's requests if the site's traffic increases. I want to create an algorithm that users who watch others videos earn points (randomly but in clear context) If you have anything else to improve, please let me know. For eg: If you prefer React to Vue.js. Thanks in advance

READ MORE
6 upvotes·295.6K views
Replies (8)
Recommends
on
Node.js

Node is light and scalable and has been used widely for enterprise solutions that need faster response, reliability and better performance. But at the end of the day, for me, when I start a project, I don't shoot for the stars. I build a small application with the possibility to scale in the future that will test my business idea. If the idea is getting volume then I really start thinking about how am I going to build this aiming a specific volume.

READ MORE
14 upvotes·143.7K views
CTO at Voila Cab's·
Recommends
on
Node.js

Hello , Our first version of www.voilacabs.com was programed with Code Ignitor PHP API's, and at times during peak hours when there were huge request's made the response time use to vary from 500 MS to 1 Minute, also at time's we might have to end up restarting PHP-FPM which use to bring things to normal.

Also PHP lacks features like promises queue, Asyc task, etc. which is supported in Node.js. In our V1 release we shifted to Node.js and since last 7 month's we see no lag in any API response, also all our API's are responding in 200-300 Milli Second's with about 8000+ Fleet's in peak hours. So my suggestion is to go with Node.js also you can either go with Mysql or MongoDB ( depending on the usage ) for DB choice's.

When it comes to hosting you can go with group replication which can be replicated across 3 different datacenters for your data safety. This approach will make your system largely scalable at 80% less price then amazon webservcies.

I hope that help's .

READ MORE
6 upvotes·143.8K views
View all (8)
Needs advice
on
ReactReact
and
Vue.jsVue.js
at
()

I want to know what is the best tool for Laravel. React or Vue.js? For example, which is better to be added to an existing Laravel project. Also, which framework has a big community in Stackoverflow and Github?

READ MORE
Vue js or react js for laravel (laracasts.com)
1 upvote·130.7K views
Replies (1)
Lead, Design and Development at Afroshok·
Recommends
on
Vue.js

I am part of another firm that where we split our stacks, React/Django and Vue/Laravel. While I am in charge of the React/Django, my co-founder who uses the Vue/Laravel stack swears by Vue. I would urge that you look at using Vue since you are asking to add it to an existing Laravel Project. The learning curve is lower than that of React in my own experience.

READ MORE
5 upvotes·6.5K views
Needs advice
on
FlutterFlutterLaravelLaravel
and
MySQLMySQL

Developing a managed multivendor marketplace mobile app to enable users to buy and sell (mainly used hardware) products from the same app, allowing buyers to checkout and purchase an entire listing at either the set "buy now" price or "make offer" to buy at a negotiated price with the seller. Please share your opinion on my current choice Flutter + Laravel (with MySQL) and are there more feasible alternatives?

READ MORE
5 upvotes·261.3K views
Replies (1)
Recommends
on
any

Just use the language you're most proficient and can iterate quickly with - of a, perhaps, larger concern - where is your backend?

Sure, you may be leveraging other services but I presume you're still going to log information about transactions and whatnot

READ MORE
4 upvotes·1 comment·15.1K views
Ahmed baber
Ahmed baber
·
March 8th 2024 at 7:21PM

nice advice

·
Reply
Software engineer at AlgoDriven·
Needs advice
on
GolangGolangNode.jsNode.js
and
PHPPHP

I'm working in a company as a software engineer, Mainly we are focusing on PHP as the product is being developed in PHP (native) also there are a few products in Node.js, I tried to introduce Laravel but there is no luck to work on it. Now I have started learning Go language, should I focus more on Go or continue only with PHP and NodeJS. BTW I know PHP and NodeJS very well.

READ MORE
8 upvotes·125.2K views
Replies (1)

Be flexible, be agile in your personal and professional life. Don't be afraid to learn new things and step outside of your confort zone BUT with reason. Reason can be a career path or just money. Does Go belongs to your career path? Does Go belongs to your company's toolset? Do yo seek for new job oportunities? Some people follow a complete career path by using a single language i.e, PHP or java, but if you want to standout in the crowd this is not enough. You already know PHP. This is an oportunity to learn something new. In general, I would advise you to learn at least one language & library/framework per stack . This will help you to lead a team someday.

READ MORE
5 upvotes·67.5K views
Needs advice
on
Node.jsNode.jsPHPPHP
and
PythonPython

Hi, I have a project on my mind, and I need some help. First of all, I know it is all about personal preference, but I am a beginner in the back-end part. So, I am trying to figure out which language is better, for example, for user authentication and interaction between the users. Also, I don't know which framework is better for this work. My first thought was to use PHP, but after some research on the internet, I'm leaning towards Laravel. I will be grateful if you have some advice for me.

#newbie

READ MORE
6 upvotes·419.4K views
Replies (7)
FullStack Dev ·
Recommends
on
Node.js
PHP

First thoughts: * As a beginner you need to understand concepts first, all languages out there are great, each has it's own philosophy, each is better suited for a specific situation. Learn concepts first, do something, then you will understand the differences between them and why one should be chose over another for a task * As a project manager you want your project to come to an end. You will get lost in all the different solutions out there (and it's good), but don't get lost too far. Very often I see people getting lost in those debates and never achieving things, like someone writing a book that would still be choosing the font 6 months after (we've all done that it's ok, but we have to realise it)

Chances are your project can be equally good on any different stacks. I heard an interview of someone from Uber who said something like they started with python, went to node, went back to python and went to go, and with micro-services now they can have all of them all-together.

Last remark: from what I know Laravel is a framework for PHP, so it IS PHP. Just like Symphony for PHP, Express for Node.js, Koa for Node.js, Flask for Python ...

Now to answer your question :

  • PHP has a big community, it is great and easy to start with, and you will definitely will learn real object oriented structure
  • Node.js has a big community too, don't worry finding help will be as easy. It is less easy to start with but in my point of view it is a lot easier to keep on going with it on a long run. Why ? Because it's very easy to run a new project, and it executes javascript. How is it good ? Because chances are that your front will also be using javascript (React.js / View.js are crazy good). Thanks to that you will be able to master the language better because you will use it all day (and at first mastering one language is more valuable than barely knowing two) and you won't have to switch languages in your head when you code. And communication between front and back will be in json ... Which is crazy close to javascript.

Alexander is right, if you go with PHP take your time first to do things by yourself like building your own MVC, the benefit is huge and the risk is to never really be able to understand what's happening on a deeper level. (at some point you can switch to a framework though). He's also right on choosing a strongly typed language, problem is javascript is not. This is why, if you choose node, when you start being confident, add typesccript.

Hope it helps, good luck

READ MORE
11 upvotes·1 comment·363.9K views
Apostolis Dimitriou
Apostolis Dimitriou
·
August 23rd 2020 at 8:07PM

Thank you for your response, you really help me but I have some thoughts for the PHP. For example, I will make a single-page application and I read it is better to node.js for this style of application. After that, I think the speed is really important ( maybe I am wrong) because the app will use a lot of data and this data will be images and text. Maybe I thought in the wrong way but I was between node.js and PHP only for this reason. And I want to add something that I don't say in my question (maybe it is important) I know c ( I am not the best programmer but I have a little experience ).

·
Reply
Software Engineer ·
Recommends
on
PHP

Short answer, if it's a web project (and I guess it is) go with PHP and you can integrate NodeJs services later.

@adzaria (Ezra Fayet) gave a great answer and I'd like to emphasize the first part: As a beginner you need to understand concepts first. For me that means to understand the web, how servers and requests work, APIs and few others.

Now, I'd like to add few things so, this is the long answer:

Why PHP?

  • Everyone knows about the community - PHP is way older so you will find lots of resources and I am not only talking about learning - also lots of helpful tools and packages
  • PHP is great for OOP - not perfect, but with PHP7 got great - and if you are a beginner you want to know good OOP for your future. Let's say JavaScript's OOP is a bit strange; I will not get into details but, let's say "it's not by the book". You can still learn JavaScript for your front-end

Why not Python? Python got popular because of AI - don't use PHP for AI and don't use Python for web applications. I can elaborate a lot here but I guess you get the point.

Why not NodeJs?

  • NodeJs got popular because of sockets - and it works great, but as a service
  • Try to find a good and affordable hosting for NodeJs. How about for Python?
  • I would not ignore the security issues that it had and could appear. PHP is older and, therefore, wiser :)

Now, about a framework... is this a learning project or something that you need to do fast? My advice is to start a small project and not use any framework. However, you can use packages and inspire from a framework's architecture - Laravel is a good role model.

Why not start a big project? You will get distracted, get into details and product design stuff and get scared or border and abandon it. For your project you need an MVP - list of minimum required features that you put on paper - that you will complete. After that you can improve.

Good luck!

READ MORE
9 upvotes·3 comments·362.8K views
Apostolis Dimitriou
Apostolis Dimitriou
·
August 23rd 2020 at 8:14PM

Hi , thank you for your response. I will try your advice to build something small but I am not sure about the safety of the web application. I mean I will try to make this app without a framework but I don't need to know about safety or something more complicated if I add and user authentication on the site?

·
Reply
Octavian Irimia
Octavian Irimia
·
August 24th 2020 at 1:40PM

You will want to learn about security and using a framework that takes care of it (under the hood) is bad. Laravel's Eloquent takes care of SQL injections. However, if you need a custom query, you can "produce" an injection security breach even in Laravel. Frameworks are bad for beginners because they make you think you know - but it's just an illusion.

·
Reply
Apostolis Dimitriou
Apostolis Dimitriou
·
August 24th 2020 at 4:28PM

Oh okay, I understand. Thank you for your help!!!

·
Reply
View all (7)
Web Developer at Soltech LLC·

This week, we finally released NurseryPeople.com. In the end, I chose to provision our server on DigitalOcean. So far, I am SO happy with that decision. Although setting everything up was a challenge, and I learned a lot, DigitalOceans blogs helped in so many ways. I was able to set up nginx and the Laravel web app pretty smoothly. I am also using Buddy for deploying changes made in git, which is super awesome. All I have to do in order to deploy is push my code to my private repo, and buddy transfers everything over to DigitalOcean. So far, we haven't had any downtime and DigitalOceans prices are quite fair for the power under the hood.

READ MORE
Search for Plants and Nurseries | NurseryPeople (nurserypeople.com)
15 upvotes·8 comments·182.3K views
Kamal ABOUNAIM
Kamal ABOUNAIM
·
April 24th 2020 at 4:08PM

Great i just wanna learn about trick how to auto deploy after pushing to Git

thanks to your comment i ll see about Buddy

·
Reply
Christopher Wray
Christopher Wray
·
April 24th 2020 at 4:25PM

Buddy is amazing man. And for our site it is free, which is incredible.

·
Reply
Christopher Wray
Christopher Wray
·
April 24th 2020 at 4:25PM

I will say that last week DigitalOcean had an outage for a little. Didn't last very long, but something to think about.

·
Reply
Joshua Kapellen
Joshua Kapellen
·
April 30th 2020 at 2:28PM

Nothing has 100% uptime; you should always design and plan for outages as well. This lets you at least have some say in the user experience even during an outage.

·
Reply
Christopher Wray
Christopher Wray
·
April 30th 2020 at 2:48PM

How do you design and plan for outages if the server is completely down?

·
Reply

Hello! I have a mobile app with nearly 100k MAU, and I want to add a cloud file storage service to my app.

My app will allow users to store their image, video, and audio files and retrieve them to their device when necessary.

I have already decided to use PHP & Laravel as my backend, and I use Contabo VPS. Now, I need an object storage service for my app, and my options are:

  • Amazon S3 : It sounds to me like the best option but the most expensive. Closest to my users (MENA Region) for other services, I will have to go to Europe. Not sure how important this is?

  • DigitalOcean Spaces : Seems like my best option for price/service, but I am still not sure

  • Wasabi: the best price (6 USD/MONTH/TB) and free bandwidth, but I am not sure if it fits my needs as I want to allow my users to preview audio and video files. They don't recommend their service for streaming videos.

  • Backblaze B2 Cloud Storage: Good price but not sure about them.

  • There is also the self-hosted s3 compatible option, but I am not sure about that.

Any thoughts will be helpful. Also, if you think I should post in a different sub, please tell me.

READ MORE
4 upvotes·171.9K views
Replies (2)
Recommends
on
Cloudways

Hello Mohammad, I am using : Cloudways >> AWS >> Bahrain for last 2 years. This is best I consider out of my 10 year research on Laravel hosting.

READ MORE
1 upvote·116.6K views
Needs advice
on
Cloud FirestoreCloud FirestoreLaravelLaravel
and
MySQLMySQL

I am setting up a content management system (CMS) in Laravel using #GoogleCloudPlatform. This #CMS will have quite a few polymorphic many-to-many relationships (at least 10) and for that reason I am considering whether I should use Firebase or other #NoSQL databases with Laravel.

I know that there is a laravel-firebase package by Kreait which should allow me to use the firebase as database. My question is therefore:

  1. Are there any drawbacks to using Firebase with Laravel, which I should be aware of?
  2. Can I possibly use a hybrid model where some data is stored in the SQL database (e.g. user data) while other is stored in Firebase (e.g. the content).
  3. Or should I just stick to MySQL and create the several polymorphic many-to-many relationships?
  4. Should I do both and see what works better?

Any advice is appreciated.

READ MORE
6 upvotes·190.5K views