Skip to content

app with which users can shop for University of Amsterdam courses

Notifications You must be signed in to change notification settings

svandenhout/UVA-course-shopper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Course Shopper

app with which users can shop for University of Amsterdam courses

Design demands (ontwerp eissen)

  • user knows in what place on the site he is (breadcrumbs etc.)

  • user knows clearly at what step of the process they are

  • adding and removing courses is easy

  • all the functionalities must be visible on the first screen

  • prefer images over text

  • design for little space

flow

  • two buttons in the header, courses i'm shopping and courses i'm following.

  • a list with the courses.

    lists course names clicking the course will result in a detail page and the detail page will have a remove from list button

  • an add course button at the bottom of the page (not the bottom of the list).

    the add course button will show the search bar

  • a notification bar that gives hints about navigating the app (hints like mouse-over naming, breadcrumbs, a loading icon etc).

The search bar will be able to search for keywords in catalog numbers. titles, descriptions, and/or instructors’ names. The search results will only show the course name and a snippet of the text where the keyword is found and of course an add course button to add the course to the current list Clicking a search result will give a detail page with an add button.

data handling

the search and autocomplete will only read from catalog numbers, titles, descriptions, and/or instructors’ names.

A hybrid model will be used for retrieving the data. the server will parse courses.xml and make 2 sqlite file an sqlite file containing the main search data (id, catalog numbers, titles, descriptions and instructors’ names) will be downloaded to the phone and used from the client side. to see the detail page a server side query on the full sqlite file will be done. So the client side will download a smaller file containing less columns and the server side will have the full courses file in sqlite.

To save the lists i will use html5 local storage.

Models, Controllers & views

2 models

  • model 1 will make a table with only (id, catalog numbers, titles, descriptions and instructors’ names).
  • model 2 will make a table out of every xml tag in courses.xml

the controllers will correspond to the models,

  • one controller that saves a sqlite file locally for the views to use. And it will implement search on the local database.
  • what will local storage save and how will i use it?
  • And one controller that fills the detail page of a course.

views

  • 2 views for the courses i'm shopping and courses i'm following lists
  • 2 views for the search, one to add a course to the courses i'm shopping list and one to add a course to the courses i'm following list
  • 2 views for the detail page, one view is called from the list pages that just displays the detail view, the other view is called from the search results it will show an add button in the view

languages & libraries used

  • ruby

  • javascript

  • html/css

  • rails framework

  • jquery/jquery-mobile

About

app with which users can shop for University of Amsterdam courses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published