Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Untitled Prezi

No description
by

Choi ManShing

on 25 April 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Untitled Prezi

Open doc:
How can get it works :

1. Get doc name
2. Send to backend php script
3. fopen the file
4. File get content
5. Return the content to js
6. Content setText of the editor
Delete :
Delete the file(s) or folder(s) (Parent folder and child folder)

Create :
Create the folder(Parent folder/ child folder)


Rename :
Rename the folder/file
Register :
Register user account with login ID and password with other personal information

Automatically function to check any existing account in the database.


Checking for the email address that must include “@” and “ . ”
Move :
Move file(s) to another folder
Overview
Project Background & Purpose
System Design
Database (Data Storage)
Major Functionality and Implementing
Technologies and Major techniques
Demo

Project Background
Provide a file hosting service
Users can upload and download
Create (Folder, File)
Delete, rename, move (Folder, File(s))
Backup function
Share / un-share function
Document Editor
Video Player
Accessible through a website
Start at 5GB for free
Upgrade to increase free space
Purpose
Provide a platform for everyone
Share files to your friends
Saves your document to (BasketCloud)
Document Editor
Easy to use
Convenience
Technologies and Major techniques
Database (Data Storage)
Folder Table
Project Background & Purpose

COMPS381F Server-side Technologies and Cloud Computing
Group Project Topic
Cloud Storage (BasketCloud)
111069659 Li Kin Lun
11109060 Choi Man Shing
11135170 Kwok Chun Wai
11057464 Ng Yik Hei
11075088 Lam Kwan Wai

Overview
Easy to use
Major Functionalities
and
Implementing
File upload
Share files with other users
Login account and Register
Payment
Security
Backup function
Delete, Create, Rename, Move
Problems and Solutions
Demo
1. Register and login

2. Go to file management page
3. Upload/Download file(s),
Create, Delete, Rename folder(s),
Delete , Move, Rename file(s)
4. Upload single / multiple file(s) at a time
5. Increase free space by upgrading to VIP
6. Share/unshared own files to other users


Multiple file selection, progress bars, validation and file size.
Can upload one or more files at the same time
Maximum file size is according to user’s role
Finish upload file management page will list out all folders and files.
File Upload :
1. Unshared the file by entering email addresses
(can be multiple users
same format with share
).
Each user can share own files to other users and then can download.

Shared:
1. Share files by entering email addresses (can be multiple users using format
abc@a.com/def@a.com
)
2. That users can download the file in their own account.

Unshared:
Can download files from management.
Login account :
Login with correct login ID and password

MD5 the password to match with the database's records

Login button will be disable unless all fields are filled
Login account and Register
Users can upgrade their free space
3 types to choose (25GB, 55GB, 105GB)

Users are required to fill a payment form
Validation with payment form

After submit, will have a confirm payment and then upgrade success and the role change to VIP
MD5 :
Hash the password in login and register to increase the security of the password
When users upload a file that its name is existing in the database ,
We will back up the old version of file in the backup folder and replace it with new version
User can view the previous versions in back up page
Problem :
Check the existing user account with database when users enter the email address (login ID) in register page
Solution :
Use Ajax function in JavaScript
Pass the parameters to another page of jsp to check the database immediately
Return the statement when there is an existing account in database to the register page
Problems and Solutions
Problem :
Coding in many functions of cloud storage are not included in our course
E.g. Upload, Create folder, Delete file…
How to make the java language change to jsp language
Many bugs in cloud storage.
E.g. delete function only can delete the database record but it cannot delete the file in real path.
Register
File Management
Solution :
Find solutions through Internet(Google, Yahoo)
System Design
p.1
p.2
p.3
p.4
p.5
Major Functionalities
and
Implementing
Major Functionalities
and
Implementing
Major Functionalities
and
Implementing
Major Functionalities
and
Implementing
Major Functionalities
and
Implementing
Major Functionalities
and
Implementing
Major Functionalities
and
Implementing
Q & A
7. View share to who, previous version files
8. Create / edit new text file
Upload Table
User Table
Able user to create a text file in the management page
Can edit the text file any time online
Major Functionalities
and
Implementing
Document Editor
60GB
9. Online watch video
Advanced Features

Share / un-share files to other users to download

How can get it works :

1. Use the email address(login ID) to find the users' SID

2. Each user will use a " ( ) " to encase their own SID

3. Store them to the database




File download
In file management, user can click
the file name (apple.txt) to download file.
Conclusion
p.6
p.7
Download file in sharing by other users:

p.7
p.8
p.10
p.11
p.12
p.14
Conlusion
Major Functionalities
and
Implementing
User can upload videos on our cloud storage
Can play videos directly in file management page(using pop-up)
Support video format("h.264", "webm", "flv", "mp3", "mp4"..)
JSP + XML
HTML + JavaScript
Java + J2EE
AJAX (e.g. upload function)
Major Functionalities
and
Implementing
Play Video
Advanced Features
Allow to play videos online

How can get it works :

1. Use HTML 5

2. Pass the data to page by the GET method

3. Pass the link and get the data inside it

4. Make it as a source to play the video




Document Editor
Advanced Features
We hope that those functions can help the users feel convenient while using our cloud storage
Share / Un-share files
Video Player

Play Videos
Saving :
How can get it works :

1. Get editor content
2. Send to php
3. fopen file
4. fwrite
5. Saved
6. Return status back to js
Document Editor
Advanced Features
p.9
p.13
p.15
p.16
p.17
p.18
p.19
p.21
p.22
p.23
p.24

Save new doc :
How can get it works :

1. Get editor content
2. Enter new doc name
3. End to php
4. fopen new file + fwrite
5. Saved
6. Return status back to js
Document Editor
Advanced Features
p.25
p.26
p.20
p.28
Session:
The session of the user must exist in the database
If not, that user does not allow to go to the file management page
0
Full transcript