A
A
allexe2010-01-02 14:45:56
Ruby on Rails
allexe, 2010-01-02 14:45:56

What is the niche of Ruby On Rails?

Interested in Web development, started to master CodeIgniter. I read reviews about RoR on Habré. Lots of rave reviews especially from those who switched to it from PHP frameworks. On the other hand, today, the real facts (the number of vacancies, the size of the community, etc.) do not give a reason to say that RoR is a killer of PHP frameworks. I don't want to compare Ruby and PHP. Each IMHO has its own niche. Therefore, I wanted to understand for myself:
1. What niche does RoR occupy now. What kind of project does it make sense to do on RoR (instead of a PHP framework) and why? Maybe there are some features (such as the need for AJAX, etc.) for which it is better to use RoR.
2. What are the hosting requirements for RoR projects? What is the speed and load on the server compared to PHP frameworks? Does it make sense to do small (such as a business card site) projects on RoR?
3. In general, where is this line when the transition to RoR will be justified?

Answer the question

In order to leave comments, you need to log in

14 answer(s)
M
mdevils, 2011-01-05
@allexe

It is easy and fast to develop a project prototype on ROR, assemble 80% of the functionality from gems and integrate everything. But if the project is going to go beyond the prototype, then the question of performance arises. Here you have to make a choice: either write gems for yourself instead of mega-universal, but slow ones, and, possibly, partially or completely move away from RoR, or write a project on systems with more productive library options, such as PHP.

B
bubuq, 2010-01-02
@bubuq

RoR is the most progressive and dynamic technology to date. Having mastered it once, the question of PHP will never arise again. Its progressiveness, last but not least, is in encouraging the use of other progressive tools:
HAML (you will never write HTML again)
SASS / SCSS (same with CSS)
git (version control with all possible whistles)
YAML (format everything)
"opinionated software” (imposing best practices: naming tables is always in the plural, etc.)
since version 3 - friendship with HTML 5 and javascript frameworks like jQuery
Of the minuses - high entry threshold: the framework is voluminous, requires mastering (plus decades of PHP, um , modify the brain).
In addition to sites directly about rails, the following are recommended:
github.com (a collection of plugins, and a repository of the rails themselves)
heroku.com (the already mentioned hosting with a free plan)
odesk.com (for vacancies: look, there are plenty)
habrahabr.ru/blogs/ ruby/28059/ (my post with a chat example on rails version 2)

A
Atrax, 2010-01-02
@Atrax

Ruby is another programming language with its own fan base. It is closer to python in syntax (“Do you read Mayakovsky?”), in semantics - absolute OOP, which pleases. Ruby-On-Rail is another MVC framework. We are not talking about "killers", AJAX can be implemented everywhere. Hosting is somewhat exotic, so either look for a specialized one for a long time or deploy everything on a VPS.
The time of Ruby, judging by the mass market, has not yet come and whether it will come at all is unknown. It is hardly reasonable to choose it as the only tool, but for self-development it can be very interesting. I did not find the "revolutionary" I was looking for. Maybe the “ruby masters” will tell you something - I would like to listen ...

B
bsboris, 2010-01-02
@bsboris

You are asking the wrong question. ANY project that can be done with Rails can be done with PHP. Just like how it can be done. in python, java, .net, etc. The only question is personal convenience, abilities and effort expended.
Rails is worth doing any project if you like it more than PHP + framework.

R
Renat Ibragimov, 2010-01-02
@MpaK999

It’s worth learning, but don’t abandon PHP with frameworks, the rail world is very exciting, but a number of things can sometimes be done in PHP and even need to

V
Vyacheslav Plisko, 2011-01-04
@AmdY

ROR is good for small to medium write only projects (like perl). Little code is written on it. but a lot of magic and lack of controls for this magic. Classical OOP, described in hundreds of excellent books, will not work here. Metaprogramming offers its own way, convenient to write and incredibly difficult to maintain and develop legacy code.
Dig into ROR's guts and decide if their path suits yours, for most it's perfect

G
Georgy Khromchenko, 2010-01-02
@Mox

In my opinion, if we compare PHP with frameworks and Ruby On Rails, then RoR has more niche and more vacancies. Just a huge mass of PHP developers are finishing Wordpress, Drupal, Bitrix and other CMS. Here RoR by, in my opinion.

A
allexe, 2010-01-02
@allexe

>>Hosting is somewhat exotic, so either look for a specialized one for a long time or deploy everything on a VPS.
I understand that this immediately cuts off small projects, when let's say 10-20 projects can hang on one hosting?

B
benone, 2011-01-04
@benone

1. RoR developers are currently significantly more expensive than PHP. Although fast development on RoR often justifies the investment, scaling is complicated by the high cost.
2. ruby ​​is certainly slower than php
3. ruby ​​has a lot of gems, in php, as far as I know, plugins are used less frequently.

A
allexe, 2010-01-02
@allexe

I'll try to clarify the question:
1. Are there any statistics on RoR projects? Maybe there is a large percentage of web-oriented projects (social services, startups), where it requires fast and a lot of changes to be made, or a larger percentage are corporate projects?
2. Is there some kind of “portrait” of the customer in RoR projects (maybe there are mostly some Internet investors who are ready to invest in the web) or vice versa, more offline-oriented clients for whom the web is just an appendage to the core business? What is the percentage of Russian foreign customers?
3. Is there an average (minimum) budget?
4. What is the percentage of agile teams among RoR and PHP framework developers?
5. What is the freelancing demand for RoR?

D
Dmitry, 2011-01-07
@Neir0

But tell us how things are in RoR with ready-made solutions? Let's say .net and java have a huge number of libraries and frameworks for all occasions, and I have some doubts about ruby, because it has a relatively small community.

A
allexe, 2010-01-02
@allexe

So far I have found only such positioning (from an advertisement of one web studio):
“Programming of projects is done in different ways: there are two main approaches. The first one is “everything according to the terms of reference”. The second is “redoing everything to the bitter end” (aka “flexible method”, it was also called “extreme programming” before). The method of solution depends on the task, that is, the choice of programming language. For the first case, anyone will do (PHP is most often chosen), for the second approach, we use Ruby on Rails (“rails”).”

Z
zizop, 2011-01-03
@zizop

Here is a small analysis of Ruby VS PHP, Rails VS Zend Framework . I think it will be useful for you.

@
@ibKpoxa, 2011-01-05
_

No matter how great RoR is, it is something that:
1. Few people know.
2. We support few hosters.
Those. a non-production solution that should work anytime, anywhere, etc...
At the moment it's something like Linux in 1998, a toy for geeks that doesn't know whether to grow into something or not.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question