Giter Club home page Giter Club logo

reviewssite's Introduction

Model

Review class:
	- id (make this of type long – you’ll find out why later) – just use 
		arbitrary, unique numbers for these ids
	- title
	- image url
	- review category
	- content
	- accessor (get* methods)
	- whatever other things you’d like to include. Some ideas:
		- date
		- description/synopsis
		- Stretch Task: tags (this should probably be a Collection)


Review Repository class:
	- annotated properly so that it can be injected into ReviewsController.
	- should have a constructor that:
		- creates Review instances
		- populates a Map that stores reviews, review’s	id is the map key.
	- method to find all reviews
	- method to find one review by id

View

Controller

Review Controller class:
	- apply proper annotation
	- inject…something appropriately
	- method mapped to a url that puts all of your reviews into the model, 
		forwarding to a “reviews” template.
	- method mapped to a url including an id parameter that puts one of 
		your reviews into the model, forwarding to a “review” template. 
		This method should expect an “id” query parameter in order to 
		select a specific review.

reviewssite's People

Contributors

waynepl avatar

Watchers

James Cloos 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.