Top Banner
Lightning in a Bottle Jeff Goree, CodeScience Solution Architect, [email protected] Architecting Packages with Lightning Components
26

Architecting Packages with Lightning Components

Feb 15, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Architecting Packages with Lightning Components

Lightning in a Bottle

Jeff Goree, CodeScience Solution Architect, [email protected]

Architecting Packages with Lightning Components

Page 2: Architecting Packages with Lightning Components
Page 3: Architecting Packages with Lightning Components

What we’ll cover

Design Build Package Deploy MaintainTime

and Cost

Page 4: Architecting Packages with Lightning Components

6’0” 6’0”

5’0” 5’0”

4’0” 4’0”

3’0” 3’0”

2’0” 2’0”

1’0” 1’0”

The usual suspects…

Architect Developer Product Owner

Page 5: Architecting Packages with Lightning Components

A use case…

https://bit.ly/sfmailchimp

Page 6: Architecting Packages with Lightning Components

What we’ll cover

Design Build Package Deploy MaintainTime

and Cost

Page 7: Architecting Packages with Lightning Components

Lightning Design System - www.lightningdesignsystem.com

ISVForce Guide – https://bit.ly/isvforce

SLDSX – Sample Lightning Components – https://bit.ly/sldsx

3 Approaches:

1. Visualforce

2. HTML/CSS Framework (Bootstrap)

3. Lightning Components

UX, UX, UX

Design

Considerations

Page 8: Architecting Packages with Lightning Components

1. Visualforce

2. HTML/CSS Framework (Bootstrap)

3. Lightning Components

UX, UX, UX

Design

Approaches

Page 9: Architecting Packages with Lightning Components

~40 Existing Visualforce pages

Identify use of custom styles

Identify use of advanced javascript

Determine which approach

1. How many apex tags are used?

2. Has the framework been customized?

3. <apex:actionFunction /> should be treated carefully

Any Mailchimp users?

Design

Use Case

Page 10: Architecting Packages with Lightning Components

What we’ll cover

Design Build Package Deploy MaintainTime

and Cost

Page 11: Architecting Packages with Lightning Components

1. Prototype

2. Build

3. Test

Build

Approach

dev

int

pkg

Page 12: Architecting Packages with Lightning Components

PrototypeBuild

Page 13: Architecting Packages with Lightning Components

Demo and Walk-thru

Build

Code

Page 14: Architecting Packages with Lightning Components

TestBuild

Page 15: Architecting Packages with Lightning Components

What we’ll cover

Design Build Package Deploy MaintainTime

and Cost

Page 16: Architecting Packages with Lightning Components

Package

Considerations

Component UpgradeableSubscriber

Deletable

Developer

DeletableProtectable IP Protection

Lightning ApplicationYes No No No No

LightningComponentYes No No No No

Lightning EventYes No No No No

Lightning InterfaceYes No No No No

ISVForce Guide – https://bit.ly/isvforce

Page 17: Architecting Packages with Lightning Components

CRUD/FLS and Sharing – Force.com Security Library – https://bit.ly/sfdcsecure

Source Scanner – https://bit.ly/sfdcscanner

ZAP Scanner – https://bit.ly/sfdczap

Package

Security

Page 18: Architecting Packages with Lightning Components

What we’ll cover

Design Build Package Deploy MaintainTime

and Cost

Page 19: Architecting Packages with Lightning Components

ConsiderationsDeploy

Page 20: Architecting Packages with Lightning Components

What we’ll cover

Design Build Package Deploy MaintainTime

and Cost

Page 21: Architecting Packages with Lightning Components

You NEED customer service

Opportunity to train junior team

Push upgrades are powerful… QA

Proper source control

ConsiderationsMaintain

Page 22: Architecting Packages with Lightning Components

Some of my favorite things:

1. Connected apps with multiple devs

2. Callouts from javascript in lightning

3. Namespacing LDS

ConsiderationsMaintain

Page 23: Architecting Packages with Lightning Components

What we’ll cover

Design Build Package Deploy MaintainTime

and Cost

Page 24: Architecting Packages with Lightning Components

Time and Cost

Considerations

Design Build Package Deploy Maintain

Traditional

Page 25: Architecting Packages with Lightning Components

Thank you

Page 26: Architecting Packages with Lightning Components

Share Your Feedback, and Win a GoPro!

3Earn a GoPro prize entry for

each completed survey

Tap the bell to take a

survey2Enroll in a session1