Giter VIP home page Giter VIP logo

2750_a4's Introduction

Assignment 4
Rhys Young
March 31st, 2017
0925398

Description:
This program is used to write and read streams. It also has a basic priviledge
system so that if you are not a user in the stream it will not let you post to it
or read from it. It is written in c lite, c, python, php and SQL.

How to use:
1. Untar in the directory you want and run make
2. Go to your web browser and follow the on screen instructions

Explanation of buttons:
Previous post: goes to the previous post
Sorting: toggles sorting from time to name and back
Mark all read: Marks all messages in the current stream as read
Check for new posts: loads new posts and displays the first one
Select new Stream: lets you choose a new stream
Change Author: lets you change author (goes back to login screen)
Add or remove author: lets you add or remove an author
Post new message: lets you post a new message
Next post: loads the next post in the stream and displays it.

TO RUN DB:
3. while in folder invoke the DB with ./db <command>
   NOTE: use ./db -help for help.
   NOTE: In order to use these commands initially you will want to use the webpage and addauthor, since no tables are created
        until that happens.

Test Plan:
For testing the program I extensively tested the different inputs that could be used in the files
ensuring that nothing would crash it this includes spaces between names and invalid credentials etc. As listed above.

Limitations/Design decisions:
    - If you put " in any text field make sure u escape it!
    - There is no button to go back to view the same post you just saw if you click away to another page, just use next post and previous post
    - Do not use edge or explorer to test as some features may not work due to microsoft speciality

2750_a4's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.