document - cshukai/s3dbcWithJqueryFileUpload GitHub Wiki

s3dbcWithJqueryFileUpload

#A. Dependencies:

(A) S3DB connector:

https://github.com/agrueneberg/S3DB-Connectivity

(B) JQuery File Upload:

https://github.com/blueimp/jQuery-File-Upload

#B. Requirement:

(A) S3DB:

  1. username
  2. password
  3. url of S3DB

(B) JQuery File Upload:

an input tag with the value of "type" attribute set as "file"

#C. Functions

###All functions are wrapped in [folder-root]/js/customUI.js

###Every function is under the kinomics namespace and only accessible for use after logging to S3DB by calling Kinomics.login

###The functions based on S3DBC will have function name like kinomics.s3db_functionName

###kinomics.s3db_selectStatementsByRuleAndItem ###kinomics.setupFileUploader ###kinomics.s3dbc_deleteStatement ###kinomics.s3dbc_updateStatement for hooking up jquery-file-upload and multiupload.php in s3db

###kinomics.login

D. Properties

kinomics.s3db_key