Rails is the web-application framework, which includes everything needed to create database web-application according to the Model-View-Control. Moreover, Rails uses the Ruby programming language. Ruby is the dynamic language that was created in Japan by Yukihiro Matsumoto.
Dynamic or static typing
(Tymothy Fisher, 2008, p.16)Programming languages can be classified by the type system they use. A type system defines how a programming language classifies its data and methods into types. For example, the type of various language include of int, float, string, and Object. Some programming languages use statically typed such as Java, C, C++, and C#. Otherwise, Python, JavaScript, Perl, Lisp, and Ruby include the dynamically typed. This means the data types are not known until run-time. I think this is weak effect of Ruby, because web programming developers will be confuse when using it.
On the other hand, this language do not require to compile source codes into another form. The source code is also the code that the language's run-time executable use to execute the application
Object Oriented Programming
Object oriented programming (OOP) is a style of programming that uses objects to represent data, and actions that you can perform on that data. In addition, Ruby is a pure object oriented programming language. In Ruby, everything is an object, Include literal string and numeric types. Ruby does not have any native types that are not objects. Even numeric types such as integers and floats are represented as Object in Ruby.
Reference:
Timothy Fisher (2008), Ruby on Rails Bible, Wiley Publisher .Inc
Sunday, August 16, 2009
Workshop 1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment