CSC/ECE 517 Fall 2007/wiki2 1 rl: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 27: Line 27:
#[http://www.rubyonrails.org/ Ruby on Rails]
#[http://www.rubyonrails.org/ Ruby on Rails]
#[http://en.wikipedia.org/wiki/Model-view-controller Model-view-controller]
#[http://en.wikipedia.org/wiki/Model-view-controller Model-view-controller]
#[http://www.csc.ncsu.edu/faculty/gehringer/517/f07/material/index.php CSC517 Lecture 12: Ruby on Rails]
#[http://www.pragprog.com/titles/rails2 Agile Web Development with Rails]


==See Also==
==See Also==

Revision as of 22:16, 22 October 2007

Assignment

Compare Ruby on Rails with Apache Struts. The Apache Struts framework in the Java world occupies a position similar to Ruby on Rails, except that it is not as universally used. Compare the two. Which are the advantages of each for the developer? For the finished application?

Note to Reviewers: All prose contained in this wiki is original.

Introduction

Ruby on Rails and Apache Struts are both web application frameworks based on the Model-View-Controller (MVC) architecture. MVC separates an application into three components: the model, the view, and the controller. The model maintains the application state; it consists of both the data used by the application as well as the rules surrounding the use of that data. The view generates the user interface, which allows the user to view and interact with the data in the model. The controller takes input from the outside world, interprets the input, and manipulates the model accordingly. Separating these three concerns makes the application code easier to understand, reuse, and maintain.

Ruby on Rails

What is Rails? Example?

Apache Struts

What is Struts? Example?

A Comparison

Advantages

Advantages for the Developer

Advantages for the Application

References

  1. Ruby on Rails and J2EE: Is there room for both?
  2. Rolling with Ruby on Rails Revisited
  3. Ruby on Rails
  4. Model-view-controller
  5. CSC517 Lecture 12: Ruby on Rails
  6. Agile Web Development with Rails

See Also