Patrick Streule
You have an idea for an add-on? You want to tap into both the Atlassian Cloud and Server customer base without writing and maintaining it twice? Patrick illustrates some techniques you can use today to share most of your code between the Connect and the P2 add-on implementation.
13. Server
Product – Server v1
Product – Server v2
Browser
Add-On Service
?
Add-On UI
Add-On JS
AssetsAPI
Product – Server v3
?
14. Server
Product – Server v1
Product – Server v2
Browser
Add-On Service
?
Add-On UI
Add-On JS
AssetsAPI
Product – Server v3
?
iFrame setup?
XDM?
API Version?
15. Server
Product – Server v1
Product – Server v2
Browser
Add-On Service
?
Add-On UI
Add-On JS
AssetsAPI
Product – Server v3
?
Auth?
Privacy?
Connectivity?
16. Server
Product – Server v1
Product – Server v2
Browser
Add-On Service
?
Add-On UI
Add-On JS
AssetsAPI
Product – Server v3
?
Connectivity?
API Version?
Auth?
19. • Purely client-side
• No server-side rendering
• Javascript & SVG
• No data stored by the add-on
• Uses macro body for storage
• Uses REST API to fetch the macro
body
• However: The Connect version
stores the installation payload
Browser
Product – Cloud Add-On Service
Connect Plugin
Connect JS
Add-On UI
Add-On JS
Assets
Design Choices
ConnectP2
Browser
Product – Server
P2 Plugin
Add-On UI
Add-On JS
Assets
Connect JS Shim