Posted in Ruby on Rails, Web Design
MVC is a pattern for the architecture of a software application. It separates an application into the following three components:
? models, for handling data and business logic
? controllers, for handling the user interface and application logic
? views, for handling graphical user interface objects and presentation logic.
Read the rest of this entry »
Posted in Ruby on Rails, Web Design
Following last article discussing about development, test, and production, lets have a look at database architecture affecting by those three environment in Ruby.

Read the rest of this entry »
Posted in Ruby on Rails, Web Design
Rails encourages the use of a different environment for each of the stages in an application’s life cycle development, testing, and production. If you’ve been developing Web applications for a while, this is probably how you operate anyway;
Rails just formalizes these environments.
Development
In the development environment, changes to an application’s source code are immediately visible; all we need to do is reload the corresponding page in a web browser. Speed is not a critical factor in this environment; instead, the focus is on providing the developer with as much insight as possible into the components involved in displaying each page. When an error occurs in the development environment, the developer is able to tell at a glance which line of code is responsible for the error, and how that particular line was invoked. This capability is provided by the stack trace (a comprehensive list of all the method calls leading up to the error), which is displayed when an unexpected error occurs.
Read the rest of this entry »
Posted in Ruby on Rails
Those scripting and object oriented language are quite important in developing, and it might be your biggest reason asking whether Ruby inside scripting language or object oriented language. Lets discuss scripting first. In general, programming languages fall into one of two categories, either compiled languages or scripting languages.
Compiled Languages
Shortly a compiled languages basically written in some language that we don’t understand, which need translation in order we could manage it. This code later will be translated into bits and bytes which will be executed by your computer. This process of translation is called compilation, and any language that requires compilation is referred to as a compiled language. Examples of compiled languages include C, C#, and Java.
Read the rest of this entry »
Posted in Ruby on Rails
The traditional approaches to software development such as iterative development and the waterfall model, usually attempt to sketch out a long-running and rather static plan for an application’s goals and needs using predictive methods.
These development models usually approach applications from the bottom-up (that is, by working on the data first).
In contrast, Agile development methods use an adaptive approach. Small teams (typically consisting of fewer than ten developers) iteratively complete small units of the project. Before starting an iteration, the team re-evaluates the priorities
for the application that’s being built (these priorities may have shifted during the previous iteration, so they may need adjustment). Agile developers also architect their applications from the top-down, starting with the design.
Read the rest of this entry »