Skip to content

riccoccir/PSD-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 

Repository files navigation

TokoBeDia is a new e-commerce service that launched in Indonesia. To start its business, TokoBeDia needs to create a website for their service. On the website, people can find items that are being sold and purchase it. This website also allows admins to manage user, item, item type, and payment type

The layers are:

  • View -> View layer, or Presentation Layer, is responsible for showing information to the user and interpreting the user's commands. This layer is the home for all user interfaces in the project.
  • Controller -> This layer is responsible to validate all input from the view layer. It also responsible for delegating requests from the user to the lower layer for further processing.
  • Handler -> This layer is responsible to handle all business logic required in the application. It will delegates the task to query from the database, including select, insert, update and delete, to the repository layer. Please notes that there can be a single handler that accesses multiple repository.
  • Repository -> Repository layer responsible for giving access to the database and model layer via its public interfaces to acquiring references to preexisting domain objects. It provides methods to manipulate the object, such as add and delete, which will encapsulate the actual manipulation operation of data in the data store (or database). Repository also provides methods that select objects based on some criteria and return fully instantiated objects or collection of objects whose attribute meets those criteria.
  • Factory -> You need to encapsulate all complex object creation in this layer. For example, when the client needs to create an aggregate object (an object that holds a reference to another object), the object factory must provide an interface for creating these objects. It is important to notes that an object returned by the factory must in a consistent state.  
  • Model -> The model layer is responsible for representing concepts in the business or information about the business situation.

There are three types of user roles on this website: Administrator, Member, and Guest (non-logged-in user). Below are the minimum pages you need to create for each role:

  • Administrator :
  1. View User
  2. View Payment Type
  3. Insert Payment Type
  4. Update Payment Type
  5. View Product
  6. Insert Product
  7. Update Product
  8. View Product Type
  9. Insert Product Type
  10. Update Product Type
  11. Profile
  12. Transaction Report
  13. Update Profile
  14. Change Password
  • Member
  1. View Product
  2. View Cart
  3. Update Cart
  4. Add to Cart
  5. Profile
  6. Transaction History
  7. Change password
  • Guest
  1. View Product
  2. Login
  3. Register

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.7%
  • C# 23.3%
  • Classic ASP 8.6%
  • Other 0.4%