Wednesday, January 14, 2015

Setting up the Problem

Through this series of posts I will walk one through the entire thought process in developing a Single Page App (SPA).

The first step is to set up the problem, i.e., what is the app (or series of app) going to do.  Here are the rough requirements.
  • The underlying data model consists of wineries and their list of wines (each wine is uniquely in the list of a single winery, i.e. no wine can be listed under more than one winery).
  • The data store only has wines that are in the list of a winery. 
  • The data store of wineries and wines are to each have required names that are no more than 255 char. long and consist of the characters a-z, A-Z, 0-9, and a space.
  • There needs to be a responsive web design app for unauthenticated users to read the data structure, i.e., can obtain a :
    • list of wineries
    • list of wines
    • winery with the list of its wines
    • wine with its winery
  • There needs to be an easy to use application (can be the same responsive web design app as above) for authenticated and authorized users to write the data structure, i.e., can:
    • create a winery
    • update a winery
    • delete a winery (along with the wines in its list)
    • create a wine (must be associated to a winery)
    • update a winery (must continue to be associated to a winery)
    • delete a wine 


No comments:

Post a Comment