forked from abramhindle/CMPUT404-project-socialdistribution
-
Notifications
You must be signed in to change notification settings - Fork 3
Concepts
Sean Meyers edited this page Feb 11, 2023
·
1 revision
- Author
- makes posts
- makes friends
- befriends other authors
- likes posts
- comments on posts
- a generally nice person
- Server Admin
- manages a node
- allows people to sign up
- responsible for private data :(
- Follow
- Friend another author and they accept the friend request
- They will send their posts to your inbox
- Friend
- Someone who follows you.
- True Friend
- Bidirectional friendship.
- Real Friend
- True friend
- Server
- a host that hosts authors and vouches for them
- Restful service
- The model of the service and its API
- UI
- The HTML/CSS/JS coated version user interface
- Public Post
- this is a post that will show up publicly.
- it has a public URL
- anyone can see it
- Public posts can be liked
- public posts can have comments from friends
- Friend Post
- this is a post that is shared to friends (followers)
- since it is sent, it is a message and not changeable
- Friend posts can be liked
- Friend posts can have comments sent back to the author via the author’s inbox
- Inbox
- This is what a READER or USER of the social network has. They make friends, and friends send objects to their inbox.
- This forms the backbone of the timeline of the social media user.
- This receives likes and comments.
- Remote
- A node to node connection. Requests from another node. HTTP Basic Auth authenticated.
- Local
- A local user accessing the REST API. Likely will use their cookie-auth, basic auth, or token auth. Local usually implies you check whether or not the user should have access. For instance local API access to the inbox should be limited to only that authenticated authors—don’t snoop!