|
Answer» There are lot of advantages of using ruby on rails.
- DRY Principal( Don’t Repeat Yourself): It is a principle of software development aimed at reducing repetition of code. “Every piece of code must have a single, unambiguous representation within a system”
- Convention over Configuration: Most web development framework for .NET or Java force you to write pages of configuration code. If you follow suggested naming conventions, Rails doesn’t need much configuration.
- Gems and Plugins: RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing ruby programs and library.
Plugins: A Rails plugin is either an extension or a modification of the core framework. It provides a way for developers to share bleeding-edge ideas without hurting the stable code base. We need to decide if our plugin will be potentially shared across different Rails applications.
- Scaffolding: Scaffolding is a meta-programming method of building database-backend software application. It is a technique supported by MVC frameworks, in which programmer may write a specification, that describes how the application database may be used. There are two type of scaffolding:
-STATIC: Static scaffolding takes 2 parameter i.e your controller NAME and model name.
-dynamic: In dynamic scaffolding you have to define controller and model ONE by one.
- Rack Support: Rake is a software task management tool. It allows you to specify tasks and describe dependencies as well as to group tasks in a namespace.
- METAPROGRAMMING: Metaprogramming techniques use programs to write programs.
- BUNDLER: Bundler is a new concept introduced in Rails 3, which helps you to manage your gems for application. After specifying gem file, you need to do a bundle install.
- Rest Support.
- Action Mailer
There are lot of advantages of using ruby on rails. Plugins: A Rails plugin is either an extension or a modification of the core framework. It provides a way for developers to share bleeding-edge ideas without hurting the stable code base. We need to decide if our plugin will be potentially shared across different Rails applications. -static: Static scaffolding takes 2 parameter i.e your controller name and model name. -dynamic: In dynamic scaffolding you have to define controller and model one by one.
|