silver imac on brown wooden desk

Laravel + React Native: The Perfect Stack?

Of course, there are multiple reasons that certain languages and frameworks may or may not be used for certain projects, but for your average CRUD app (which let’s be honest is MOST apps), PHP based framework Laravel for web and backend; and JavaScript based framwork React Native seem to cover all the basis for creating a perfectly acceptable digital presence.

Why Laravel?

When I learned to code, I was taught Ruby, followed predictably by Ruby on Rails. And it seemed like that would be the answer. I loved Ruby on Rails. For a while. Until I came to building my own app in it and then realising to my horror that the cost of hosting a Ruby on Rails app is… well… more than I wanted to pay. Requiring Heroku containers or AWS technologies at somewhere close to £500/yr for any respectable speed, the cost would have made experimentation, and therefore innovation, cost-prohibitive. Apparently, running Ruby on a web server requires a degree of additional server setup and more powerful processors.

PHP, on the other hand, just runs on any apache web server. No setup required. Which makes Laravel (which is a PHP framework), perfect because I can run many instances of Laravel on a cheap shared hosting account for no extra cost, and creativity can run wild.

Laravel also happens to come with a number of other great features, such as the ability to create API endpoints as well as web views. And that lends itself perfectly to…

React Native for Mobile

React Native is a version of React designed for use on mobile devices. Developed by Facebook, the main beauty of React Native is that it’s a single Javascript framework to build mobile apps in that runs on both iOS and android. Which means, essentially, two apps from one code base. Much faster to build and much easier to maintain.

Conclusion

So far, it seems like the perfect combination. And it means you only need to master 2 frameworks to build almost anything. Which is really nice.

Of course, there are multiple reasons that certain languages and frameworks may or may not be used for certain projects, but for your average CRUD app (which let’s be honest is MOST apps), PHP based framework Laravel for web and backend; and JavaScript based framwork React Native seem to cover all the basis for creating…

Leave a Reply

Your email address will not be published.