Latest web development tutorials

Ruby Introduction

Ruby is a pure object-oriented programming language. It consists of the Japanese Yukihiro Matsumoto (ma zu moo と Yui ki industrialization ro / Yukihiro Matsumoto) was founded in 1993.

You can find Yukihiro Matsumoto (ma zu moo と Yui ki industrialization ro / Yukihiro Matsumoto) www.ruby-lang.org name on the Ruby mailing list. In the Ruby community, also known as Matz Matsumoto (Matz).

Ruby is "programmer's best friend."

Ruby characteristics similar to Smalltalk, Perl and Python. Perl, Python and Smalltalk scripting language. Smalltalk is a true object-oriented language. Ruby, and Smalltalk, is a perfect object-oriented language. Use Ruby syntax than Smalltalk syntax is much easier.

Features of Ruby

  • Ruby is open source, the Web free of charge, but requires a license.
  • Ruby is a general-purpose, interpreted programming language.
  • Ruby is a true object-oriented programming language.
  • Ruby is a similar Python and Perl server-side scripting language.
  • Ruby can be used to write Common Gateway Interface (CGI) scripts.
  • Ruby can be embedded into HTML (HTML).
  • Ruby syntax is simple, which makes the new developers to quickly and easily learn Ruby.
  • Ruby and C ++ and Perl and many other programming languages ​​have similar syntax.
  • Ruby scalability, large programs written in Ruby and easy to maintain.
  • Ruby can be used for the development of Internet and Intranet applications.
  • Ruby can be installed on Windows and POSIX environment.
  • Ruby supports many GUI tools such as Tcl / Tk, GTK and OpenGL.
  • Ruby can easily connect to DB2, MySQL, Oracle and Sybase.
  • Ruby has a wealth of built-in functions can be used directly in the Ruby script.

Tools you need

In order to perform the examples discussed in this tutorial, you need RAM to at least 2GB (recommended as 4GB) of Intel Core i3 or i5 computer. 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
  • Internet Explorer 5.0 or above Web browser
  • Ruby 1.8.5

This tutorial explains how to use Ruby to create a GUI, network and Web applications. There will also discuss how to extend and embed Ruby applications.

What will the next study?

The next chapter will introduce you to get Ruby and documents from where. Finally, it tells you how to install Ruby, and configure the environment for developing Ruby applications to prepare.