Assignment 2: Controllers and Views
- Set date:
- Monday, 21 February 2011
- Due Date:
- Monday, 14 March 2011, 09:00 AM
- The tutorial chapter(s) relevant for this activity:
- Mode of submission:
-
Electronic submissions only! Please use Submissions link on this web page. E-mailed submissions will not be accepted.
- Description of your Application:
-
This assignment is the first stage of development of your Ruby on Rails. In this Assignment you will only create a very basic structure of your web application, and then you will gradually extend it in Assignments 3 and 4.
Your web application will be a social site for lovers/fans/amateurs of your specified theme. Please use the last digit of your k-number to check your applcation theme in the table below:
Find your theme here: 0: Books 5: Coooking 1: Gardens 6: Music 2: Mobile phones 7: Photography 3: Cars 8: Bird watching 4: Travel 9: Movies Users of your application should be able to:
- find out some information about your organisation or the web site,
- register to create accounts,
- login and logout,
- find friends and maintain lists of friends (not mandatory),
- discuss on topics related to your theme (e.g. books or birds).
This application will be similar but not the same as the Fakebook sample application described and analysed in your Tutorial. You will use the information provided in the chapters of the Tutorial, including the code samples shown there - but in most cases you will have to modify something in the code before you can use it for your application.
A similar web application may be seen at http://langbook.francik.name
- Your task now:
-
- Create your application. Don't call it fakebook - find out a name matching with your theme.
- Create a controller. Do not call it a site, like in Fakebook. You can choose any of the following names: page, app, main or other relevant identifier.
- Create the following pages (actions): Home, About, Contact us, Help.
- Apply a CSS stylesheet. Use a frame based layout. Try to make your colour scheme reflect your application theme. You will lose your marks if using Fakebook stylesheet without substantial modifications.
- Marking Scheme:
-
You can get up to 10 points for this assignment:
- up to 2 points for the application successfully created (just 1 if the name of application is FakeBook).
- up to 2 points for the controller with appropriate actions (no points if site used as a name of the controller).
- up to 2 points for appropriate view templates (HTML.ERB) + application layout.
- up to 2 points for valid CSS used throughout the application pages.
- up to 2 points for distinct stylesheet used, different from the fake_book.
Copyright (C) 2009-2011 by Jaroslaw Francik

