When the browser displays the initial web page, different user actions cause it to display a new web page or prompt an Ajax operation:
1.A trigger action occurs and this could be because of the user clicking on a link or button or the user making changes to the information on a form in a field [...]
Ruby Central Inc. is a non-profit organization based in the United States that is committed to support and for the advocacy and promotion of the Ruby programming language. This organization was founded and established by a group of Ruby advocates like David Alan Black, Richard Kilmer and Chad Fowler. Ruby central is the parent of [...]
Posted in Basics | Tagged ruby central |
If Mongrel and lighttpd are not installed, by default Rails will use WEBrick, the webserver that ships with Ruby. All these will guarantee you to always get up and run promptly. Rails will check first if Mongrel exists when you run script/server, then check on lighttpd and would finally fall back to WEBrick which [...]
Ruby on Rails with its noteworthy benefits and real-world applications in production made its web application framework a top choice. And it is not a shocker for Rails to succeed on the abundance of Mac OS X. Ruby on Rails is an open source tool that quickly generates great web applications backed up by SQL [...]
Posted in Basics | Tagged Mac OS X, Rails |
Rails uses the Model-View-Controller (MVC) architecture just like many other contemporary web frameworks for organizing application programming. Rails is remarkable for its widespread use of the JavaScript libraries Prototype and Script.aculo.us that is significantly used for for Ajax and its graphical interface. And because of Rails’ “out of the box” scaffolding, it can promptly generate [...]
Also known as Single Point of Truth, “don’t repeat yourself” or DRY is a process philosophy seeking to reduce duplication especially in computing. This philosophy stress on that information should not be duplicated because it makes the change more difficult, it can lessen clarity and may lead to inconsistency. DRY is from Andy Hunt’s and [...]
Posted in Basics | Tagged DRY, Ruby philosophy |
One of the Ruby on Rails fundamental principle is “convention over configuration.” It aims to reduce the number of decisions that developers need to make as it gains simplicity but not losing flexibility. The simple phrase implies that a developer only needs to indicate alternative aspects of the application. When the convention implemented by the [...]
JRuby, YARV, Rubinius, and IronRuby are some of the alternative implementation of the Ruby language as of 2008 with each of them taking a diverge approach.
•JRuby – One of the strong features of JRuby is its capacity to invoke the classes of the Java Platform considering that it is a Java implementation of the Ruby [...]
There are several alternative implementations and completion of the Ruby language as of 2008 including JRuby, Rubinius, IronRuby and YARV. Each of them has different approach especially that JRuby provides just-in-time compilation functionality. JIT or just-in-time compilation is also known as Dynamic Translation. In computing, it is a system and a technique for improving runtime [...]
Posted in Basics, Programming | Tagged JIT, Ruby |