Skip to content

Software Architecture

Danny Develop edited this page Oct 3, 2015 · 7 revisions

#Software Architecture

Using: http://www.raywenderlich.com/109706/firebase-tutorial-getting-started

FIREBASE FRAMEWORK now.. makes live easier.

Client

class recorder {
    start()
    stop()
    reset()
    save()
    cancel()
}

class player {
    playback
    setSpeed
}

class face {
    paint
    touchReact
    audioReact
    sensorReact
}

class faceEditor {
    elements[n]
    jsonParse
    save
    delete
}

class webClient { (http://learn.juce.com/doc/classInterprocessConnection.php)
    saveFace
    syncToServer
    deleteFace
    makeUser
    loadFace
    deleteOnServer
} 

Server

API

User

  • /getUser/:user
  • /saveUser/:user
  • /deleteUser/:user

Faces

  • /getFaces/:user?
  • /createFace
  • /getFace/:face
  • /saveFace/:face
  • /deleteFace/:face

Models

  • User
  • Face
Clone this wiki locally