Using Ruby on Rails to Improve Product Quality?

We are a website development company using php as our development language, but we try to improve the quality of our code by minimizing errors. We find that PHP makes the creation of sloppy code somewhat "easy", so we see RoR as an alternative. Does RoR Help Improve Code Quality? We want to start using TDD, will RoR help this methodology? So, is it worth it to start training our developers in this new technology or continue to develop in PHP and invest in improving your PHP skills? We believe that the “new” beginning and reputation that RoR has as a pleasant language can help in this direction.

update: as @konfoce suggested, maybe I should ask what set of functions RoR offers, which can make it a better choice than the PHP framework, how much help developers to create high-quality code? I am thinking of syntax, TDD integration, helping provide DRY, etc.

+3
source share
5 answers

Comparing Rails with PHP is not very true in PHP. After all, Rails is a platform, and PHP is a language.

If you are comparing PHP with Ruby as a language, I personally think that Ruby is better. PHP (for me) feels something that has grown organically from the list of server directives. Ruby seems more cohesive, and, as its creator says, it is believed to be a programmer.

, Ruby on Rails PHP, ( Drupal Wordpress).

, Ruby on Rails ( , ):

  • " ". , " ", , . - .
  • . Rails , 10 . , . , - . , .
  • . , . , , , . , . Ruby () - .
  • . . - , (., , ActiveRecord, 2.x 3.x).

, . , , , "", "". . - .

, , , . PHP, PHP. , , . -, , .

PHP? . .

, , (PHP), , (, ) Rails. PHP- .

... , PHP, Ruby:)

+4

RoR ?

, . , . ( ), , , .

TDD, RoR ?

RoR TDD BDD. .

, ? PHP PHP ?

. , RoR, , . MVC- PHP (: Kohana). (, Javascript), .

+2

, Ruby on Rails . , ActiveRecord, - .

, , Rails php, , , . , . , MVC- php, RoR. , Symfony SolarPHP. CakePHP Rails php, .

, , , - Rails Ruby. , , Ruby , Rails.

+1

enter image description here

, - , , , .

Ruby Learning , , , . James Schorrs , , , : ", , " " , " "... , , ".

: , -. , - : " ". , , , , , . Schorr , :

. , ; , . , . .

Leave for a while. It’s easy to get a “tunnel vision” and think that you are close to solving a problem and think that more efforts will solve it ... You will be surprised at the ideas or solutions that will spring in your mind as you think or do other things.

0
source

Source: https://habr.com/ru/post/1779500/


All Articles