Ruby :
Ruby is a pure object-oriented
programming language with a super clean syntax that makes programming elegant
and fun. Ruby successfully combines Smalltalkâs conceptual elegance, Pythonâs ease of use and learning, and Perlâs pragmatism. Ruby originated in Japan in the
early 1990s, and has started to become popular worldwide in the past few years
as more English language books and documentation have become available.
Rails:
Rails is an open source
Ruby framework for developing database-backed web applications.
Whatâs special about that? There are dozens of
frameworks out there and most of them have been around much longer than Rails.
Why should you care about yet another framework? What would
you think if I told you that you could develop a web application at least ten
times faster with Rails than you could with a typical Java framework? You canâwithout making any sacrifices in the quality of
your application! How is this possible? Part of the answer
is in the Ruby programming language. Many things that are very simple to do in
Ruby are not even possible in most other languages. Rails takes full advantage
of this.
The rest of the answer is
in two of Railâs guiding principles: less software and convention
over configuration. Less software means you write fewer lines of code to
implement your application. Keeping your code small means faster development
and fewer bugs, which makes your code easier to understand, maintain, and
enhance. Very shortly, you will see how Rails cuts your code burden. Convention
over configuration means an end to verbose XML configuration filesâthere aren't any in Rails! Instead of
configuration files, a Rails application uses a few simple programming
conventions that allow it to figure out everything through reflection and
discovery. Your application code and your running database already contain
everything that Rails needs to know!
No comments:
Post a Comment