To Projects
IT 231 -- FWSP
Final Website Project
- You may complete your Final Website Project in groups of one or two.
- Your website should have at least two models in a one-many relationship.
- You may create the models with scaffolds or create one or more models
directly and implement the pages from scratch with a form_for form.
- Implement a login page if you wish.
- Here is the Final Website Project
Rubric.
Checklist for Final Project
- If you are working in a group of two, both persons in the group
should submit a copy of the project.
- Include your name or names in the Rails project folder name.
You can rename the Rails folder without affecting the project.
- Include a cover document explaining any enhancements you made to
your website, above and beyond what the the scaffold software creates.
- Customise the layout page and CSS files for the scaffold-generated
views in your site. Add additional CSS files for views that are
not scaffold-generated.
- The Times New Roman font is not recommended for websites. It makes it
look like you were too lazy to choose a font and are just relying on the
default font for the browser. If you put text in a table, you need to set
the font for td in addition to body.
- Choosing the right font is a compromise between a size that is hard to
read (too small) and a size that looks like it is designed for grade school
kids (too large).
- Don't center entire paragraphs; this is a temptation for
amateur web designers.
Suggested Enhancements for Your Final Project
- Text and images on views beyond what the scaffold software generates.
- Background images should usually be lightened so they do not distrace
from the content of the page. If a light font is used, the image can be
darkened.
- One-many relationships. See the
One-to-many Relationships Tutorial.
- Add a login page to part or all of your website. See the tutorial
Implementing a Login Page for a Website.
- Validation of form input.
- Custom modifications to scaffold views like those in the
One-to-many Relationships Tutorial.
You may also want to display images for individual items in your database.
- Add one or more additional controllers that contain extra information
or display database information in a custom way (similar to
Project 6).
Hints and Tips
Here is the code for displaying an image in the table on the image page.
Modify the code in app/views/grades/_form.html.erb, where grades is the
name of your scaffold:
<td><%= image_tag r.image_name %></td>
r is the loop variable from |r| in your for or each statement.