Revision 97672e7c docs/source/webclient.rst
b/docs/source/webclient.rst | ||
---|---|---|
10 | 10 |
===================== ===================================== |
11 | 11 |
Revision Description |
12 | 12 |
===================== ===================================== |
13 |
0.1 (Mar 17, 2012) Initial release.
|
|
13 |
0.1 (Apr 09, 2012) Initial release.
|
|
14 | 14 |
===================== ===================================== |
15 | 15 |
|
16 | 16 |
Build instructions |
... | ... | |
48 | 48 |
|
49 | 49 |
Technology and tools |
50 | 50 |
-------------------- |
51 |
Pithos+ web client is a gwt application. It is written in Java and compiled to javascript that runs in the browser. |
|
51 |
Pithos+ web client is a gwt application. It is written in Java and compiled to javascript that runs in the browser. More info about gwt can be found here http://developers.google.com/web-toolkit/
|
|
52 | 52 |
|
53 | 53 |
General architecture |
54 | 54 |
-------------------- |
55 | 55 |
|
56 |
The web client does an adaptation of the container/object server-side data model to the more user-friendly folder/file data model. The client uses the API to retrieve info about the containers and objects from the server and displays them in a tree-like structure. It uses two special gwt widgets, CellTree (https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCellWidgets#celltree) and CellTable (https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCellTable) for the folder tree and filelist accordingly. The CellTree widget initiates calls to the API at the beginning and each time a subtree is expanded in order to fetch all info needed to display the subfolders. That way the datamodel is controlled by the widget. |
|
57 |
|
|
56 | 58 |
Authentication |
57 | 59 |
-------------- |
58 | 60 |
|
... | ... | |
71 | 73 |
|
72 | 74 |
Initialization |
73 | 75 |
^^^^^^^^^^^^^^ |
74 |
Upon loading, the web client performs the followinf steps:
|
|
76 |
Upon loading, the web client performs the following steps:
|
|
75 | 77 |
|
76 | 78 |
Ckeck if the user is authenticated (auth cookie present) |
77 | 79 |
|
Also available in: Unified diff