home PYTHONJAVA
 

Ruby Introduction

Ruby is a pure object-oriented programming language. It was founded in 1993 by Japan's Matsumoto Hiroshi .

You can find the name of Matsumoto Hiroshi on the Ruby mailing list at www.ruby-lang.org. In the Ruby community, Matsumoto is also known as Matz.

Ruby is "the best friend of the programmer."

Ruby features are similar to Smalltalk, Perl, and Python. Perl, Python, and Smalltalk are scripting languages. Smalltalk is a true object-oriented language. Ruby, like Smalltalk, is a perfect object-oriented language. Using Ruby's syntax is much easier than using Smalltalk's syntax.

Ruby features

  • Ruby is open source and is available for free on the web, but requires a license.
  • Ruby is a general-purpose, interpreted programming language.
  • Ruby is a true object-oriented programming language.
  • Ruby is a server-side scripting language similar to Python and Perl.
  • Ruby can be used to write Common Gateway Interface (CGI) scripts.
  • Ruby can be embedded in Hypertext Markup Language (HTML).
  • Ruby has a simple syntax that makes it easy for new developers to learn Ruby quickly and easily.
  • Ruby has similar syntax to many programming languages like C++ and Perl.
  • Ruby is extensible, and large programs written in Ruby are easy to maintain.
  • Ruby is available for developing Internet and intranet applications.
  • Ruby can be installed in both Windows and POSIX environments.
  • Ruby supports many GUI tools such as Tcl/Tk, GTK, and OpenGL.
  • Ruby makes it easy to connect to DB2, MySQL, Oracle, and Sybase.
  • Ruby has a rich set of built-in functions that you can use directly in Ruby scripts.

The tools you need

To perform the examples discussed in this tutorial, you need an Intel Core i3 or i5 computer with at least 2GB of RAM (4GB recommended). You also need the following software:

  • Linux or Windows 95/98/2000/NT or Windows 7 operating system
  • Apache 1.3.19-5 Web Server
  • Web Explorer for Internet Explorer 5.0 or above
  • Ruby 1.8.5

This tutorial shows you how to create GUI, web, and web applications using Ruby. It also discusses how to extend and embed Ruby applications.

What will be learned next?

The next chapter will show you where to get Ruby and its documentation. Finally, it will show you how to install Ruby and configure your environment to prepare for developing Ruby applications.






welookups is optimized for learning.© welookups. 2018 - 2019 All Right Reserved and you agree to have read and accepted our term and condition.