Member-only story
Ruby On Rails or Laravel, which do you use?
Last week I wrote about how to build a bookmarking application using Sequelize ORM — an application that allows Javascript to speak SQL. This week we’re going dive in to Ruby On Rails and Laravel and the pros and cons of each web framework.
Web what?
Web frameworks are libraries of code with varying degrees of functionality written in a programming language to carry out common web development tasks. Common tasks include authenticating users, reading, writing, updating the database, sending emails and interacting with third party APIs (such as LinkedIn, Facebook and Twitter). Web frameworks run on the server side of the application and process requests from web clients (such as browsers, iPhones, toasters etc). Laravel is written in the PHP programming language. Ruby On Rails is written in the Ruby programming language.
Common Ground
Ruby On Rails and Laravel both operate off of the Model View Controller (MVC) pattern. This means that both frameworks use their respective programming languages to model tables in the database, views in HTML and controllers to process requests. In both frameworks the general flow is…