salesforce lightning design system

Post on 16-Apr-2017

1.229 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

#StruckByLightning #JaipurDUG #LightningExperience

Durgesh DhootA Salesforce Developer & Mobile Architect

* Beta Release 0.8.0

@ddurgesh28 @ddurgesh28

Create the world’s best enterprise app experiences.

Safe HarbourSafe harbor statement under the Private Securities Litigation Reform Act of 1995:

This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.

The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal quarter. This document and others are available on the SEC Filings section of the Investor Information section of our Web site.

Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

So a new Lightning Experience is coming...

Let’s take a Sneak PeekPre Release Winter 16 Org

But what about our Custom Implementations ???

Salesforce provided,A New CSS basedDesign Framework

* Beta Release 0.8.0

Diff. b/w VF & SLDS

➔ Page Centric➔ Server-side Rendering➔ Tried & True Model➔ Limited Interactivity➔ High Latency

➔ App Centric➔ Client-side Rendering➔ Complex➔ Highly Interactive➔ Low Latency

VF inside SLDS➔ Visualforce inside iframe➔ Sidebar & Header are always false (hidden)➔ Start considering “sforce.one”

Features:➔ Easy to use:

◆ Supporting Components Library◆ Consistent with core Salesforce feature◆ Extensive Documentation◆ Full Responsive CSS Framework

Features:➔ Easy to use➔ Design with Expertise

◆ Detailed Guidelines◆ Interactive Design Patterns◆ Best Practices guides

Features:➔ Easy to use➔ Design with Expertise➔ Platform Agnostic

◆ Can easily be used with any other framework

◆ Can be Used at any of the platforms including Salesforce, Lightning & Heroku.

Features:➔ Easy to use➔ Design with Expertise➔ Platform Agnostic➔ Trustworthy & Growing

◆ Designed by Salesforce itself◆ Growing rapidly to add more

components.

Where To Use ?

Visualforce

Lightning Component

s

Heroku, Mobile or

Any Other Platform

Similar to...

Twitter Bootstrap Android’s Material Design

Design Guidelines

Component Toolkit Design Tokens

What it has ?

Design Guidelines➔ Layout- based on use-cases & content➔ Loading Indicators- use spinners & stencils for reassurance➔ Navigation Patterns- guidance for navigation based on

requirement➔ Motions- guidance for effective motion, effects & animations.

SLDS CSS Pattern➔ Block : ➔ Element (__)➔ Modifier (--)

Modifier

Component ToolkitCollection of various components, to help in designing consistent, responsive and good looking UI design. Some of important components among them are:➔ Grid System➔ Page Header➔ Activity Timeline➔ Datatables➔ Form & Elements➔ Modals➔ Lookups & many more...

Design tokens are the visual design atoms of the design system, helps to achieve a scalable and consistent visual system for UI development.Some of this tokens are:➔ Color- Background, Text, Border➔ Font- Font, Size, Line Height➔ Z Index➔ Size➔ and many more...

Design Tokens

DemoVisualforce Pages Lightning

Components

FAQs➔ Is any JavaScript included as part of the framework? - No its an Pure

CSS Framework ➔ What CSS syntax does SLDS use? - It uses BEM CSS Syntax Pattern for

naming all classes ➔ Do we need to use (and compile) SASS to use SLDS? - SASS or any

preprocessor can be used to preprocess Design Tokens, but if you are only using predefined component you don’t have to worry about them.

➔ Does Lightning Experience replace Visualforce? - LX & SLDS are provided to be integrated inside Visualforce, so now you can consider that you have 2 ways to design your app either in older fashion with new framework inside Visualforce, or a completely new Platform Lightning

➔ Should we start building in Lightning or Visualforce? - It may varies based on your requirement.

➔ Will Lightning Experience support Visualforce's apex tags? - So far VF tags are not going to show in new UI but will use older class CSS while rendering

➔ How to identify whether we are on Classic View Or Lightning Experience - You can use sforce.one to identify whether you are in a Classic View or inside SF1 or LX

Reference➔ https://www.lightningdesignsystem.com/➔ Developer Trail - Lightning Experience➔ ForceDotComLabs - sldsx

Trailhead: Developer Trail - Lightning Experience

Start learning today.

Q/A

top related