Coding Davinci Apps

Overview


The davinci community app library is a collection of apps that are accessible from the davinci workspace. Apps help users accomplish various tasks. Apps are coded as a Javascript module and hosted on a webserver.

Required App Methods


There are only two required methods that a module needs to be implement in order to be used as an app within the davinci platform.

  • $setup - called right after the app is loaded to give it the ability to set up anything in needs in order to run properly.
  • $run - called whenever the app is activated.

Sample Apps


  • Sample1

Components


Components are units of functionality, such as a chart or table. The davinci platform provides methods to copy/paste as well as saving components. An app does not technically need to implement any components in order to function, however, using the davinci component specification simplifies many of the integrations with other apps on the platform, as well as enabling the app to be able to save itself for later retrieval.

  • Components Spec
  • Integrating Components discusses some common techniques used to integrate components within an app.