ruby on rails and java ,which of one of the best in future
&present?
Answer / rani
I am just entering into programming field. Many of them are
encouraging me to take Ruby on Rails. Like Java, Ruby is a
full-featured object-oriented language. But there are many
significant differences.
The main difference between Ruby on Rails and Java is that
RnR is a MVC framework, you have to write the model, the
view and the controllers, and OX is a model-driven
framework, you only need to write the model. The result is
less code for a better application.
Another big difference is that RnR uses passive code
generation; that is, it generates the code for you, but
after it if you want to extend or refine the code you have
to edit the generated code. Java does not use code
generation, the only code you have is the code you write.
I would say ruby on rails providing it's shallower learning
curve and more career opportunities.
| Is This Answer Correct ? | 14 Yes | 0 No |
What is a webrick web server?
what is active record?
how you can run Rails application without creating databases?
What are rails validation used for?
Explain the role of sub directory app/controllers and app/helpers.
What is rails script? Name some of them?
what is the purpose of RJs in Rails?
What is action cable?
Is it possible to build a 50% bespoke e-commerce platform hence having the ability to customize everything down the line? For example would it make sense to start coding an application on the Ruby on Rails framework but where the most complex/time consuming code pieces (e.g. shopping cart, etc) can be initially bolted on (hence diminishing development time and cost) having the ability to change them completely further down the line?
How is dynamic scaffolding different from static scaffolding?
What is the main function of helpers used in ruby on rails?
What role does garbage collection play?