Code Monkey home page Code Monkey logo

techjobs-mvc-java-graded-17's Introduction

TechJobs, MVC Edition

For this assignment students are asked to once again refactor a TechJobs application, this time using an MVC design pattern.

Assignment Requirements

  1. Review Starter Code
  2. Complete the List Views
  3. Complete the SearchController
  4. Display Search Results

Unit Tests

The starter code contains 4 unit test classes. As with previous graded assignments, each test class was created for a specific task in the instructions.

TestTaskTwo verifies the work done to complete the List Views. This includes displaying a list of jobs and adding a View All link.

TestTaskThree verifies work done to complete the SearchController. This includes verifying how the displaySearchResults method was created and making sure that the moths calls both findAll and findByColumnAndValue methods. This test does not check behavior.

TestTaskFour verifies the behaviors required for displaySearchResults to pass data to a view.

Appearance and Code Check:

Before you start working, check out our Working Demo App. The app occasionally restarts. If you experience an error, please wait a few minutes before refreshing the page.

  1. Start the application.

  2. Test the search functionality of the project:

    a. Initiate a search by location, using the search term "new york". Only 1 result should be returned on the page. The result may vary in appearance, but make sure it contains the job data organized similar to the demo app.

    b. Initiate another search by location, this time using the search term "chicago". Check that no results are returned.

    c. Search by employer this time, using the search term "equifax". 1 job should be returned.

    d. Search by all for the term "Ruby". 4 results should be returned.

    e. Search for the same term, "Ruby" with the "Skill" category checked. This time, only 3 results should be returned.

  3. View the method for displaying the search results tested above.

    a. Be sure you can point to the method within SearchController.

    b. Is that method posting to "results"?

    c. Does it make use of findAll() and findByColumnAndValue() appropriately?

    d. What strategy did you use to display the jobs. Did you create one table for all of the jobs displayed or one table per job?

  4. Back in the running app, navigate to the List view and select View All.

    a. A view of all 98 jobs should be returned.

Submitting Your Work

To submit your work please following the Submission Instructions

techjobs-mvc-java-graded-17's People

Contributors

markrheinheimer avatar gildedgardenia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.