Lightning overview

Post on 16-Apr-2017

387 views 4 download

transcript

Lightning OverviewBy Dhanusha Mahatantila

Salesforce1 Lightning: Future of CRM

Salesforce Lightning Experience

Salesforce1 Lightning Platform

Did You Know?

Salesforce1 is a Lightning App

Features

Responsive UI across devices

Component-based Apps

Highly Extensible &

Customizable

Available Everywhere

Handle multiple databases, not just Salesforce data

Maintain complex business process, that change over time

Build apps that work on any device

The Admin’s & Developer’s Challenge

Developing Apps With Lightning

ConnectProcess

Builder

App

BuilderComponent

Framework

Lightning Connect

Fast point-and-click integration

Real-time external data into

Salesforce

No storing of data, accessed by

reference

oData standards based vendor

support

Code with Apex Tools + Salesforce API Lightning Connect

Connecting With External Data

Lightning Connect Demo

Lightning Process Builder

Fast point-and-click development

Create processes using visual

layouts

Manage complicated flows with

nested flows

Workflow Rules

New Actions

More Than A Workflow Rule

Process Builder Demo

Component Frameworks Are The Future

Google

PolymerFacebook

ReactSalesforce

LightningTwitter

FlightMozilla

Brick

Standard ComponentsBuilt by Salesforce

Custom charts Data entry tools Custom data layout Dynamic maps

Left nav Publisher bar Feed items

Tasks

Sliders Multi-view charts

Pass/Fail

Custom ComponentsBuilt by customer developers

AppExchange ComponentsBuilt by Partners (25+ today)

Lightning Component Framework

What Can I Build With Lightning Components?

What Can I Build With Lightning Components?

Lightning Component Tabs for Salesforce1 Mobile App

Single “page” apps

Available in “Mobile Navigation”

Implements = “force:appHostable”

Custom Components for Lightning App Builder

Components designed for ease-of-use via tools

Available in the palette

Implements = “flexipage:availableForAllPageTypes”

What Can I Build With Lightning Components?

Lighting Applications

Full screen Lighting Component-based applications

Accessible via URL

Lightning Extensions

Allows to override default components with custom components

Lightning Component Bundle

APP or COMPONENT BUNDLE

Definition : html

Controller : js

Helper : js

EventHandler : js

Style : css

Component(s)

Cmp1 Cmp3

Cmp2 App1

App1 App2

Cmp2 Cmp2

Project 1 Project 2

How User Interactions Are Handled

Configure

Attributes

Listen for

Events

Fire

Events

Data updated

Screen tapped

Another component

changed

Network offline

Set color

Set object

Get user

Record saved

List scrolled

Save offline

Color changed

Visualforce Page Vs. Lightning Components

Best Practices

Can provide multiple implementations for “Implements”

App Builder, Community Builder

Salesforce Lightning Design System

Components should be independent to context

Lightning Components Demo

Fast point-and-click development

Build using standard and custom

Lightning Components

Design apps for any device

Lightning App Builder

What Can I Build With Lightning App Builder?

SPAs (Single Page Applications)

Link with existing standard pages

Expose Global Actions for more interactivity

Dashboard-style Applications

“Point” Applications to solve a particular task

Available Standard Components

Filter List

Recent Items

Report Chart

Rich Text

Visualforce Page

Salesforce1 Mobile Apps

Salesforce1 App Structure

Lightning

PageLightning

Components

Global Actions

Lightning App Builder Demo

Resources

Lightning Overview

http://developer.salesforce.com/lightning

Salesforce Trailhead

https://developer.salesforce.com/trailhead/module/lightning_connect

https://developer.salesforce.com/trailhead/en/business_process_automation/pr

ocess_builder

https://developer.salesforce.com/trailhead/en/module/lightning_components

https://developer.salesforce.com/trailhead/module/lightning_app_builder

What is the Lightning Component Framework?

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/

Thank You.