Application Design & Scaffold customizations

Overview

For this assignment, you will create a scaffold-based application, customize all components and add a search action.

Application Design

You may choose the design and model for the scaffold. However, you may want to choose a design that can be used for subsequent assignments, which should ultimately include the following possibilities:

  • Each table entry must support posted comments.
  • Different users may post table items or comments that belong to those items.
  • Table items may be tagged with a variety of categories.
  • Table items should have some form of ratings so that they can be recommended to users.

The above requirements are only for the future, but you may want to consider them when deciding on the design for this assignment.

Finally, your choice of model and application should be substantively different than the examples presented in class (e.g. no movie applications are allowed).

Scaffold customizations

Your application should include the following customizations:

  • Modify the routes.rb file so that the root path takes the user to an appropriate starting view.
  • Modify the model so that it uses validations appropriate for your application.
  • Modify the model so that it has at least one virtual attribute that can be used for alternate presentations.
  • Modify views so that alternate web controls (e.g. radio buttons, menus) or alternate data displays are used.
  • Modify the layout template (in app/views/layouts) so that a constant message, header or image appears across all of the site's pages.
  • Modify the css file so that your application has a visual presentation that is appropriate for your application. Small, simple changes are fine. Changes that hinder usability should be avoided. You can find the scaffold css file in public/stylesheets.
  • Make additional customizations that are appropriate for your application.

Search

Add additional actions (controller methods) and corresponding views that support search for items in your table. Make sure to provide useful links so that a user an navigate to all of the application's functions.

Report

Write a one-page portfolio-quality report that summarizes the accomplishments for your project. The level of professionalism for the report should be such that you would want to show it to potential employers. The report may make use of section headers, bullet points, numbered lists and other formatted presentations. I will use the report to guide my review of your application.

 

 

   Related Questions in Basic Computer Science

©TutorsGlobe All rights reserved 2022-2023.