Graduation Report by Prashant Palikhe

Page 22

Graduation Report: Improving sharing in WorkVoices

8 Iteration 3 The goal of this iteration was to build an API that would allow other developers to quickly enable multiple attachments to their projects in WorkVoices. Besides adding attachments to a post, it is possible to add attachments to other entities in WorkVoices such as an event, a job, a group or a network. A generic API had to be built so that the same utility used to add attachments to a post can be used to add attachments to all the other entities. In order to achieve that, the front-end HTML and JavaScript, the back-end files handling code and the database related to the files had to be made generic. The security surrounding file uploads and downloads was also improved during this iteration. Result: The result of this iteration was a multiple attachments API in WorkVoices. API documentation was also developed for the developers who would use the API. Using this API, with few lines of code, it is possible to integrate the multiple files upload utility and enable multiple attachments wherever required in WorkVoices web application. Figure 11 illustrates how the API was used to add/show attachments in a network.

22


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.