Threesuns

Email the Instructor

Contact

All Semesters

Semesters

All Courses

Courses

2011Fall

08.16.10 - 12.12.10

Rails II

CSYS2873

Wednesday
05:30 PM - 08:20 PM

Photo Gallery

Lab01

Objective: To create a Rails website using MVC and RESTful techniques using Test Driven Development

pastdue

Submit Your Solution

Lab01

Request a Copy of your Solution

Lab01

Requirements

Site allows full CRUD functionality for albums and photos20 pts
Photo viewing operates as described50 pts
All tests written and passing30 pts
Total100 pts

Instructions

For this lab you will be creating a Photo Gallery website that will allow the site user to create albums, populate those albums with photos, and view the photos in each album.

The site should allow the user to create any number of albums and to put any number or photos into each album. The albums should have a title and a description, each photo should have the photo itself and a title, any additional attributes that you feel are needed can also be added. The albums and the photos should be editable and deletable by the user. All appropriate validations should be performed.

When viewing a photo within a album, there should be links provides for viewing the next photo in the album and the previous photo in the album when they exist. Clicking on a photo should operate in the same way as clicking the next photo link. If the last photo in a gallery is clicked the user should be returned to the view of all photos in the album.

This site should be created using test driven development techniques. Tests should exist at the unit and functional levels. All tests must pass and all abilities of the site should be tested. All of the abilities of your models should be tested and each of the actions in your RESTful controllers should be tested with functional tests.