lighnting component development

18
#MWD16

Upload: mohith-shrivastava

Post on 09-Apr-2017

621 views

Category:

Engineering


1 download

TRANSCRIPT

Page 1: Lighnting component development

#MWD16

Page 2: Lighnting component development

Midwest Dreamin’ Platinum Sponsors

#MWD16

Page 3: Lighnting component development

#MWD16

Midwest Dreamin’ Gold Sponsors

Page 4: Lighnting component development

LIGHTNING COMPONENT DEVELOPMENT AND DEBUGGING

#MWD16

Page 5: Lighnting component development

Mohith ShrivastavaSalesforce MVP ,Engineer at CodeScienceCodeScience INC@msrivastav13

#MWD16

Page 6: Lighnting component development

Why Lightning Components?1. Reusability(App Builder,Community

Builder,SF1 ,Visualforce,With Lightning out take components outside SFDC)

2. Responsive (fits any device)

3. Event Driven approach #MWD16

Page 7: Lighnting component development

Difference between Lightning components and VisualforceVisualforce

1.Monolithic unless developers use Visualforce components and templates

2.Building SPA applications without using frameworks like angular ,react etc is tedious

Lightning Components

1.Framework enforces developers to break application into components

2.Building SPA is lot easier.Event driven approach .(Publish and Subscribe model)#MWD16

Page 8: Lighnting component development

Building a Simple Sales LeaderBoard Component 1. Interfaces decide where all your

components can appear in salesforce

2. Events - Application events and Component Events

3. Use design attributes for admins #MWD16

Page 9: Lighnting component development

Breaking UI into Multiple Components

#MWD16

Page 10: Lighnting component development

Events - Publish and Subscribe Concept

Page 11: Lighnting component development

Building a Simple Youtube search component for community builders1. Implement

ForceCommunity:availableForAllPageTypes

2. Design Tokens and Design Variables for community builder

3. Callouts via Apex #MWD16

Page 12: Lighnting component development

Building Components for Record Home pages and Home page1. Implement

Flexipage:availableForRecordHome

2. Design components for Home page

#MWD16

Page 13: Lighnting component development

Lightning Out 1. Mashup Visualforce and Lightning

components

2. Heroku App Demo

#MWD16

Page 14: Lighnting component development

Debugging1. Chrome Lightning Inspector and Debugger

Debug Events , Performance , Component Tree ,Override Actions

Page 15: Lighnting component development

Debugging

Page 16: Lighnting component development

Referenceshttps://github.com/CodeScience/MidwestDreamin

https://github.com/msrivastav13/NodeLightningOut

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

Page 17: Lighnting component development

questionsMohith Shrivastava@msrivastav13

Page 18: Lighnting component development

#MWD16