08.16.10 - 12.12.10
Photo Gallery
Objective: To create a Rails website using MVC and RESTful techniques using Test Driven Development
pastdue
Site allows full CRUD functionality for albums and photos | 20 pts |
Photo viewing operates as described | 50 pts |
All tests written and passing | 30 pts |
Total | 100 pts |
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.