The next phase or step would be to create a database for the application to use. Make sure the MySql engine is running and in the command window type “mysql -u root -p” and press enter and another enter for the password when prompted for there has not been any defined password yet. You are [...]
There are quite a number of directories locate in the apps folder we have just created so to de-mystify them here are some explanations which hopefully would help you out. The directory “app/controllers” is where Rails searches for the controller classes which controls the web request from the user. The next one is the, “app/views” [...]
As far as programming is concerned, compatibility and ease of use of the logic is what any programmer would certainly dream off. With the fast paced technology we live on today, more programming languages have made interface for people to understand how to get new means of programming logic to go by.
Rails works with [...]
Also posted in Programming |
As far as scripting is concerned, it would be less of a headache if programming scripts were used in the lesser means of coding. Too much scripts and line breaks in the usual scripting techniques of programming today makes it more complicated and harder to trace the root of the actual problem at hand.
What is [...]
Also posted in Programming |
By Ernest | September 21, 2009
For most business owners, it has been advised the Ruby on Rails is the best way to go especially if you don’t want too much technical terminology with reference to the programming included in the whole package.
Known to be an extension of the Ruby programming language, it is a very powerful and enriching programming [...]
Also posted in Programming |
The obvious need today is to go with the flow of technology as aggressive web applications are being produced here and there. Ruby on Rails has been identified as the best interface software that programmers look forward to today since it simple yet great output makes the world of programming all the more simpler.
You [...]
Also posted in Advanced, Programming |
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 [...]
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 [...]
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 |
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 [...]