There are numerous programming languages and frameworks available for developing applications. They are so diverse and different from each other that a developer cannot dedicate her time to learning them all. Getting an expert in a framework needs thoughtful consideration of its implications.
Ruby on Rails and PHP Development
Our team puts a strong emphasis on the implications of frameworks. It houses one of the best RoR development teams in Southeast Asia and another development team with a strong grasp of PHP. This article puts both types of frameworks on the table and compares those from four different angles:
- Market Demand and Supply Condition
- Speed of Development
- Community Support
- Variety of Frameworks
- Setup and Installation
Market Demand and Supply Condition
PHP has a bigger market. Ruby on Rails has a smaller but fast-growing niche market
The market size for PHP is much bigger than Ruby on Rails. If you visit Craigslist or any other job websites, you will see far more recruiters looking for PHP developers than Ruby on Rails developers. A developer specializing in PHP is sure to get jobs in the market. However, whether that will come with a solid paycheck is not certain. The bigger market naturally draws a lot of developers. The greater supply of developers coupled with asymmetric market information creates a larger variation in developers’ compensation.
On the contrary, Ruby on Rails has a smaller market where most startups are flooding with venture-backed funds. An increasing number of startups are using Ruby on Rails. All a developer needs is enough expertise to help them create new quality services so that they can grow even faster. The main reasons why startups choose Ruby on Rails are the speed of development, community support, and mindset. That brings us to the second point of our discussion.
Speed of Development
Ruby on Rails has faster development speed, once correctly set up and handled by the specialized coders
Ruby on Rails has a steep learning curve. However, once someone is an expert on rails, she can use her skill in a lot of places. Because when a company is explicitly looking for a ruby developer, there is a greater possibility that it is expecting a developer well acquainted with rails. A startup can quickly hire a RoR expert and delegate whatever work needs to be done. The recruit can quickly pick up the pace and continue development of whatever application the startup is working on.
That is not true for PHP frameworks. A PHP developer can specialize in any Laravel, Codeigniter, Symfony2, Phalcon or other frameworks. These frameworks differ in a big way. Lack of uniformity in expertise may create hindrances in application development speed.
Community Support
PHP and Ruby on Rails both have huge community support
Community Support for Ruby on Rails is relatively small but growing. There are plenty of handy RoR plugins or “Gems” available. However, PHP has more community support. The community is more diverse in nature. It’s up to the company’s development team which community it deems suitable for its service. We are not going to elaborate on this point because both frameworks have rich community support. This aspect will not make a big difference in framework choice.
Variety of Frameworks
PHP has more variety than Ruby, which may or may not be an advantage for a developer
PHP has more variety in frameworks than Ruby. Let’s look at the following chart.
Laravel, Phalcon, Codeigniter, and Symfony2 dominate PHP frameworks. There is also a sheer number of developers who focus and specialize on other PHP frameworks. We didn’t find such a chart for Ruby frameworks. However, plenty of references suggest that despite multiple Ruby frameworks existing in the market, those are dominated by Ruby on Rails.
Setup and Installation
PHP is easier to set up, install and start working
The learning curve for Ruby on Rails is quite steep. This is not the case for PHP. PHP is a great language to start with. It needs a lot less setup compared to RoR. With PHP, a programmer can just FTP the files to a web server to get started. Most web hosts support PHP out of the box. The programmer can download MAMP for MAC or WAMP for Windows which takes care of a database (MySQL), a web server (Apache), and PHP installation in five minutes. Ruby on Rails might need a lengthy setup and installation. The programmer may require going through many directories, and installing specific software or she may need to bury herself in complex documents to get things started. It’s easy to run PHP on the computer. After setup, the programmer also needs to be comfortable with the RoR command line which is much easier to work with for PHP.
Clearly, the article does not take a side and justify which framework is better. It compares major points but does not make a definite conclusion. A reader might wonder what the whole point of this article is.
There is no straightforward right or wrong answer to the ‘Which framework is better?’ question. All the frameworks have been created for a purpose. It’s up to the application development team to figure out if a particular framework suits better with its service/product. Nascenia has one of the biggest and most experienced Ruby on Rails teams in Southeast Asia. That is because a lot of companies are looking for specialized RoR teams to support their growth and deliver world-class applications at the same time. It has a PHP team that serves clients who are looking for specialized PHP developers.
Therefore, the whole point of this article is – know the market very well and whatever framework you choose to learn, be really good at it. Like us, if you believe in staying ahead of the curve, clients will always believe in you.
Contributor: Mushtahir Aziz Rahman, Business Executive, Nascenia
More to Explore
The Quest for Knowledge Continues. Fuel Your Curiosity.