Ruby on Rails - Ruby on Rails vs. Node.js - ruby on rails tutorial - rails guides - rails tutorial - ruby rails
What is Ruby on rails ?
- Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. Rails is a MVC (Model View Controller) framework, providing default structures for a database, a web service, and web pages.
- The Rails framework helps developers to build websites and applications, because it abstracts and simplifies common repetitive tasks. Rails is written in Ruby, the programming language which is also used together with Rails. Ruby is to Rails as PHP is to Symfony and Zend, or as Python is to Django
ruby on rails tutorial tags - ruby , rail , ruby on rails , rail forum , ruby on rails tutorial , ruby tutorial , rails guides , rails tutorial , learn ruby
Ruby on Rails Pros:
- It is flexible and IDE friendly framework.
- Database migrations will be easily portable to any platform.
- Simple functions and manipulations.
- It is reliable with structure and methodology.
- The language is very influential and expressive. It's easy to express application logic in an intuitive way.
Ruby on Rails Cons:
- Best programming skills are required so top-notch programmers with high pay are required.
- Much trickier if making large projects.
- Documentation is only for popular frameworks
- More computing resources are essential.
- Performance. Rails is slow as hell, and this bubbles up to the experience of the end user.
- Large stack frames The fact that Rails has so many layers of abstraction makes debugging a pain.
What is Node.js ?
- Node.js is a platform built on Chrome's JavaScript runtime for easily building fast and scalable network applications.
- Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
ruby on rails tutorial tags - ruby , rail , ruby on rails , rail forum , ruby on rails tutorial , ruby tutorial , rails guides , rails tutorial , learn ruby
Node.JS Pros:
- Powerful underlying libraries : libuv, the library behind Node that handles non-blocking I/O, is super awesome and wicked fast.
- Full stack : From HTTP server to templating engine, Node.JS is the whole package. Rails relies on something like Nginx or Apache with mod_rails (aka Passenger) in order to actually work.
- High market demand and very popular in startups at this time.
- Same language on client and server side.
- Easy to monitor, deploy and support.
- Page load is faster across the site. (Our tests showed that websites are usually 2 or 3 times faster with node.
Node.JS Cons:
- Node is not suitable for processor intensive tasks.
- Unstable API: The Node API has a habit of changing in backwards-incompatible ways from release to release, and frequent changes to your codebase are required to keep things running on the latest version. That said, things are supposed to be more stable since 0.2.0 has been released.
- Because it’s new and very hot, there are fewer developers in market for node.js.