Source Code of MediaGrid–Media

The source code of MediaGrid consists of two parts: chat and media. The function of media is to The source code tree of chat is shown in the figure.

The main function code also lies in folder “script”. And here’s a brief introduction to the files contained in the folder:

  • ​app.js: Return or update list of files.​
  • jquery.js: JQuery library files.
  • ​startpage.js: Controls the action of main page.
  • services.js: CouchDB operations, such as upload files, create directories.

And files.html shows the table list of files, while index.html is the layout of main page.

Image

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s