Download as pdf or txt
Download as pdf or txt
You are on page 1of 33

A

Seminar Report
On
”Salesforce1 Lightning”

By

Miss. Mamta Kukreja


Submitted in partial fulfillment of
Third Year Master in Computer Application
Savitribai Phule Pune University

Under The Guidance


Of

Mrs. Manjusha Khond


Bhujbal Knowledge City

MET’s Institute of Engineering

Department of MCA

Adgaon,Nashik-422003
Bhujbal Knowledge City

MET’s Institute of Engineering

Department of MCA
Adgaon, Nashik-422003

CERTIFICATE
This is to certify that Miss.Mamta Kukreja
has successfully completed her Project work on
”Salesforce1 Lightning” in partial fulfillment of
term work of Third Year Master in Computer Application
under Savitribai Phule Pune University, for the academic year 2014-2015.

(Mrs.Manjusha Khond) (Prof.Aruna Deogire)


Seminar Guide H.O.D.
Acknowledgement

Every work is source which requires support from many people and areas. It gives
me proud privilege to complete the seminar on ”Salesforce1 Lightning” under valuable
guidance and encouragement of my guide Prof.Manjusha Khond.

I am also extremely grateful to our respected H.O.D.(MCA Dept.) Prof.Aruna


Deogire and Prof.Nita Shinde (Seminar Coordinator) for providing all facilities and
every help for smooth progress of seminar.

I would also like to thank all the Staff Members of MCA Department for timely
help and inspiration for completion of the seminar.

At last I would like to thank all the unseen authors of various articles on the
Internet, helping me become aware of the research currently ongoing in this field and all
my colleagues for providing help and support in my work.

Ms. Mamta Kukreja


TYMCA

i
Abstract

The subsequent invention of the Salesforce1 platform provides a component framework


and a latest group of tools for developers, business analysts and partners to construct
apps, integrate data, and computerize business processes at a lightning speed.

Using Lightning, we can easily build responsive applications for any screen. Lightning
is the set of tools and technologies that has resulted in a considerable advancement to
the Salesforce1 Platform.

Lightning includes:

• Lightning App Builder - Lets you build apps visually using off-the-shelf components
provided by Salesforce as well as platform developers.

• Lightning Component Framework - Includes extensions and components that per-


mit you to make standalone apps, customize the Salesforce1 Mobile App and create
reusable components.

• Lightning Connect - An integration tool that helps your Force.com app to utilize
data from any external source that follows the OData specification.

• Lightning Process Builder - A UI tool for visually making automated business


processes.

• Lightning Components - Re-usable, self-contained UI elements for Force.com Apps.

• Lightning Schema Builder - A UI tool for displaying as well as creating objects and
fields, and establishing relationships among them.

ii
Using these lightning technologies, you can effortlessly customize and simply deploy
new apps to mobile devices consisting Salesforce1. The next generation of Salesforce1
Platform will offer developers the control to improve apps for real business results, faster.

iii
Contents

1 Introduction to Salesforce1 Lightning 1

2 Building Blocks of Salesforce1 Lightning 5


2.1 Lightning Process Builder . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Lightning App Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Lightning Connect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Lightning Schema Builder . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.5 Lightning Community Builder . . . . . . . . . . . . . . . . . . . . . . . . 11
2.6 Lightning Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

3 Lightning Component Framework 13


3.1 What is the Lightning Component Framework? . . . . . . . . . . . . . . 13
3.2 Why Use the Lightning Component Framework? . . . . . . . . . . . . . . 14
3.3 Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.4 Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.5 Browser Support of Lightning Component Framework . . . . . . . . . . . 16
3.6 Using the Developer Console . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.7 Prerequisites to work with Lightning Components . . . . . . . . . . . . . 18
3.8 Open Source Aura Framework . . . . . . . . . . . . . . . . . . . . . . . . 18
3.8.1 Why Use Aura? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

4 Advantages of Salesforce1 Lightning 20

5 Disadvantages of Salesforce1 Lightning 23

6 Conclusion 24

iv
7 Bibliography 25

v
List of Figures

1.1 Salesforce1 Lightning Logo . . . . . . . . . . . . . . . . . . . . . . . . . . 1


1.2 Potential of Salesforce1 Lightning . . . . . . . . . . . . . . . . . . . . . . 3

2.1 Lightning Process Builder . . . . . . . . . . . . . . . . . . . . . . . . . . 6


2.2 App Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Lightning Connect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Lightning Schema Builder . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.5 Lightning Community Builder . . . . . . . . . . . . . . . . . . . . . . . . 11
2.6 Lightning Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

3.1 Lightning Component Framework . . . . . . . . . . . . . . . . . . . . . . 13


3.2 Developer Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

vi
Chapter 1

Introduction to Salesforce1
Lightning

Salesforce has taken another big jump towards the Internet of Customers with Sales-
force1 Lightning, a UI framework for customers to effortlessly build and connect apps
faster than ever.

Lightning marks the second version of Salesforce1 platform, intended at developing


applications easily and quickly. Lightning empowers everyone in the field: business users,
customers, developers, sales or marketing users, to build innovative, rich and user friendly
apps.

Figure 1.1: Salesforce1 Lightning Logo

Link:http://qloudwerks.com/blog/2014/10/28/salesforce-launches-salesforce1-lightning-
the-fastest-way-to-build-mobile-apps

1
Lightning has been the next major release of the Salesforce1 platform and is the
biggest change since SFDC first introduced the ability to create custom objects.

With Lightning, SFDC has delivered a new mobile-optimised, modular user interface,
which delivers a consistent experience across all devices and enables rapid application
development through re-use. Salesforce itself has used Salesforce1 Lightning internally
to create the Salesforce1 mobile app. This application was then known as ”Aura”.

As the name Lightning suggests, the platform is all about speed. Lightning adds new
components to Salesforce1, including pre-built functionalities, a framework, and an app
builder that allows users to make apps, integrate data, automate processes and interre-
late all entities easily and at very high speed.

Benioff described Salesforce1 Lightning to be the fastest way to create mobile apps,
when introduced by company co-founders Parker Harris and Marc Benioff on Day 2 of
Dreamforce 2014. The platform, which consists of a group of pre-configured templates for
generally requested app types and above 400 objects from which to select, uses drag-and-
drop, drop-down menus and point-and-click methodology to create apps, be it simple or
complex. The apps then work on Salesforce1’s cloud for iOS, BlackBerry, Android, and
Windows mobile devices, so linking the apps to networks is done by the company’s own
developers already.

Mike Rosenbaum, GM for the Salesforce1 Platform at Salesforce.com, strongly feels


that it shouldn’t be tougher to build an app than it is to operate a business. Also, he
cant wait to see what would happen when Lightning would be in the hands of business
users and developers. Technology barriers have disappeared with Salesforce1 Lightning,
so anyone could create apps as per their need.

Lightning has the power of converting any idea into an app-based reality without
writing even a line of code! To put things into perspective, Lightning not only eliminates
the dependency on developers to deploy apps but also saves hours of development. Thus
customers are empowered as never before! Firm to its philosophy that app development
shouldnt be more difficult than running your business, whether it is connecting to your

2
customers via communities or process automation, Lightning enables you to do this your-
self, without any lines of code.

”LOB (line-of-business) users and Developers can now create purpose-built apps for
devices having screens of varied shape and size - desktops, smartphones, laptops, tablets,
wearables and phablets,” Harris, who runs the development group at the company, said
onstage during demonstrating the toolkit, ”Lightning’s UI (user interface) delivers a con-
sistent user experience across every Salesforce app and is optimized for any device.”

Figure 1.2: Potential of Salesforce1 Lightning

Link:http://suyati.com/webinar/salesforce1-lightning/

Rosenbaum says that the key feature is that instead of building apps from scratch,
developers can now build components. This means that all people in the entire ecosystem
can go faster as developers can now re-use components.

Salesforce1 Lightning provides the opportunity for Salesforce Administrators and De-
velopers to work together to optimize Salesforce and develop new apps on the Salesforce1
Platform. With these tools, a Developer can code reusable Lightning Components, and
a Salesforce Admin or Business Analyst can assemble those components into screens for
any device to meet their business needs themselves, without any dependency on the De-

3
velopers. The Salesforce Admin or Business Analyst can also automate complex business
processes and integrate with ERP systems - without writing code!

Its clear the future will be device-agnostic, meaning users will be accessing applica-
tions and services across a magnitude of different end points. This could be anything
from tablets and smartphones, to wearable devices like the Apple Watch, as well as other
paradigms that havent been introduced yet.

Thus, Salesforce1 Lightning is being claimed as a one-stop, drag-and-drop dashboard


that is inclined towards helping customers who don’t know how to code mobile apps, with
engaging and rich experiences faster. Scott Holden, vice president of platform marketing
at Salesforce.com asserts that this is a fundamentally different technique from the way
applications are currently being built.

What all of this essentially means that in days to come, we are probably going to
see application problems being solved more through point-and-click instead of complex
lines of code. This approach would result in reusable components rather than standalone
applications, a philosophy that is lately on an upward trend. Lightning will surely be
the future of app development; ironically, involving little or no development.

4
Chapter 2

Building Blocks of Salesforce1


Lightning

2.1 Lightning Process Builder


Many of the emails you normally send, the tasks you regularly assign, and other record
updates are essential parts of your organization’s standard processes. Instead of doing
this recurring monotonous work manually, you can create processes to do it without hu-
man intervention.

The Process Builder provides a user-friendly and powerful visual representation of


the process as you build it. This new workflow tool helps you to automate your business
processes. The Process Builder’s simple but powerful design allows you to:

• Use point-and-click to create processes using visual layout with good efficiency.

• Avoid using Apex code and doing so automate simple tasks.

• Make easy collaboration with different teams in your business and create processes.

• Instead of creating multiple workflow rules, create the whole process in one place.

Automated processes in the Process Builder include criteria that decide when to ex-
ecute action groups and immediate and scheduled actions to execute when those criteria
are met. Any modification that causes a record to match the criteria can automatically

5
trigger the action group.

The Process Builder can be used as a stronger alternative to workflow. Even though
the process builder doesn’t support outbound messages, but you can create one for your
custom functionality using Apex without much effort.

Figure 2.1: Lightning Process Builder

Link:https://developer.salesforce.com/trailhead/business_process_automation/process_builder

Use the buttons in the button bar(1) to activate or edit the properties of the open
process, save the process as a new one, or return to the process management page. The
canvas(2) represents main workspace for a process. On the canvas, we can define:

• The records, the process should evaluate (3)


All that we do is, identify the object and specify the changes to that object’s records
which will cause the process to execute.

6
• 1 or >1 criteria nodes (4)
Each criteria node consists of conditions that are used to evaluate the record. Crite-
ria node evaluates based on the filter criteria -eg: whether the value for the Amount
field is >1000 - or based on formula.

• One or more actions (5)


You can add up to 10 immediate actions and 10 scheduled actions to the given
criteria node. If the criterias are met for the record that initiates the process, the
criteria node’s associated action group (6) executes instantly or according to the
schedule defined for the action.

With the Process Builder, you can:

• Update any related record - not just the record or its parent

• Create a record

• Use a quick action to create a record, update a record, or log a call

• Send an email

• Launch a flow - as an immediate or a scheduled action

• Submit for approval

• Post to Chatter

You can also call Apex from a process in case you want your process to perform more
actions than the ones mentioned above.

2.2 Lightning App Builder


Force.com is the only platform that allows you to create powerful enterprise applications
without coding. With the Lightning App Builder, both developers and business users
can now make attractive custom user interfaces for their Force.com applications that are
designed to work flawlessly on desktop and mobile devices.

7
You can create powerful, attractive applications with drag-and-drop components for
everything from standard fields, reports and charts, to pre-built components from our
AppExchange marketplace, to your own custom components.

Figure 2.2: App Builder

Link:https://medium.com/@salesforce/introducing-salesforce1-lightning-8697f6c389ad

The Lightning App Builder is aimed to be used by both technical and non-technical
users so as to build software applications through point-and-click controls that do not
need a thorough understanding of software development. The company claimed that
anyone using the App builder can quickly design apps with a customised user interface
across devices such as desktops, laptops, tablets, phablets, smartphones, wearables and
connected products.

8
Design apps to look the way you want, in the device you are designing for - a tablet,
a phone, a wearable device, desktop, you name it.
• Visually create apps with drag-and-drop components

• Create attractive, responsive UI’s for Salesforce1 Apps

• Use standard, custom or off-the-shelf Lightning Components

2.3 Lightning Connect


Salesforce1 Lightning Connect makes it extremely simple to access data that is external
to Salesforce in real-time through reference. Because the data is treated as if it is internal
to Salesforce, you can search it, use it in Apex and Visualforce to build custom apps, and
access it via APIs. Another plus point is that the data still remains at the originating
app, so there is no issue of storage or trace.

Figure 2.3: Lightning Connect

Link:https://www.youtube.com/watch?v=OZWneVt_1Mk

Lightning Connect allows you to easily use data from external sources, alongside
with your Salesforce data. You can retrieve data from legacy systems such as Microsoft,
SAP and Oracle in real time, without copying the data in Salesforce. Also its all easily
configured by a simple yet powerful point and click interface.

9
• Connect and fetch data from external sources with point and click simplicity

• Severely decrease integration time to unlock and modernize back-office systems


such as Microsoft, SAP, Oracle, and more

• View external data alongside with existing Salesforce data

2.4 Lightning Schema Builder


With Schema Builder, you can build, visualize and extend your data model real time.
Whether you quickly need to add new custom objects, fields or relationships or see
how your objects are interconnected with each other through lookup and master-detail
relationships, Schema Builder is the solution!

Figure 2.4: Lightning Schema Builder

Link:http://www.grazitti.com/blog/what-is-salesforce1-lightning/

If you are a developer, your long hours in managing data model are over! You can
now add and remove objects, fix up your data model instantly, without the need to write
any code.

10
2.5 Lightning Community Builder
You no longer require to depend on a large development cycle to connect to your cus-
tomers or partners; Lightning Community Builder allows you to create both private as
well as public communities that help you to connect to your customers and partners with
equal ease through integrated and connected content, tools and templates.

Figure 2.5: Lightning Community Builder

Link:http://www.salesforce.com/in/platform/services/lightning/

Lightning Community Builder incorporates built-in analytics, that permits you to


measure and track the activity of your customers and partners similarly, thus helping
you to make effective decisions.

2.6 Lightning Components


The Lightning Component framework is a UI framework for developing dynamic web
apps for mobile and desktop devices. Its a modern framework for building single-page
applications engineered for growth.

The framework supports partitioned multi-tier component development that bridges


the client and server. It uses JavaScript on the client side and Apex on the server side.

11
In addition to building new, custom applications with Lightning Components, you can
also use Lightning Component Extensions to replace and extend the default Salesforce1
Mobile App UI.

Figure 2.6: Lightning Components

Link:https://developer.salesforce.com/lightning

12
Chapter 3

Lightning Component Framework

3.1 What is the Lightning Component Framework?


The Lightning Component framework is a UI framework used to create dynamic web apps
for desktop and mobile devices. It’s a modern framework used for building single-page
applications.

Figure 3.1: Lightning Component Framework

Link:https://www.salesforce.com/us/developer/docs/lightning/lightning.pdf

The framework supports partitioned multi-tier component development that bridges


the client and server gap. It uses Apex on the server side and JavaScript on the client
side.

13
3.2 Why Use the Lightning Component Framework?
There are many advantages of using the Lightning Component framework to build apps.

• Event-Driven Architecture
It uses an event-driven architecture for enhanced decoupling between components.
Any component can subscribe to an application event, or to a component event
that they can view.

• Performance
It uses a stateless server and stateful client architecture that depends on JavaScript
on the client side to handle application data and UI component metadata. The
framework uses JSON to communicate data between the client and the server. To
maximize efficiency, the server only sends data that is required by the user. It
intelligently utilizes your browser, server, devices, and network so you can focus on
the business logic and communications of your apps.

• Out-of-the-Box Component Set


It comes with an out-of-the-box set of components to immediately start building
apps. You don’t have to spend time in optimizing the app for different devices as
the components do that for you automatically.

• Device-Aware and Cross-Browser Compatibility


Apps are responsive and provide an enjoyable user experience. The Lightning
Component framework supports the latest in browser technology such as HTML5,
CSS3, and touch events.

• Faster Development
It empowers teams to work faster with out-of-the-box components that function
effortlessly with mobile and desktop devices. Building an app with components
allows for parallel design, improving overall development efficiency.

Components are encapsulated. This means that their public shape is visible to con-
sumers of the component while internals stay private. This strong division gives com-
ponent authors the freedom to change the internal implementation details and isolates
component consumers from those changes.

14
3.3 Components
Components are the reusable and self-contained sections of an app. They represent a
reusable part of the UI, and range in granularity from a single line of text to an entire app.

The framework includes a set of prebuilt components. You can assemble and configure
components to form new components in an app. Components are rendered to produce
HTML DOM elements within the browser.

A component can contain other components, as well as HTML, CSS, JavaScript, or


any other Web-enabled code. This enables you to build apps with sophisticated UIs.

The details of a component’s implementation are encapsulated. This allows the end
user of a component to focus on building their app, while the component creator can
innovate and make changes without breaking customers. You configure components by
setting the named attributes that they expose in their definition. Components interact
with their environment by listening to or publishing events.

3.4 Events
Event-driven programming is utilized in many frameworks and languages, such as JavaScript
and Java Swing. The thought is that you write handlers that respond to interface events
immediately as they occur.

A component registers that it may fire an event in its markup. Events are fired from
JavaScript controller actions that are typically triggered by a user interacting with the
user interface.

There are two types of events in the framework:

• Component events are either handled by the component itself or a component that
contains or instantiates the component.

• Application events are essentially a traditional publish-subscribe model. All com-

15
ponents that offer a handler for the event are informed when the event is fired. are
notified when the event is fired.

You write the handlers in JavaScript controller actions.

3.5 Browser Support of Lightning Component Frame-


work
The Lightning Component Framework supports the following web browsers most recent
stable versions across major platforms, with exceptions noted.

Browser Notes
Google Chrome
Apple Safari 5+ For Mac OS X and iOS
Mozilla Firefox
Microsoft Internet Explorer Recommended to use Internet Explorer 9, 10, or 11.
Versions 7 and 8 may provide a degraded performance.

3.6 Using the Developer Console


The Developer Console provides tools for creating your components and applications.
The Developer Console allows you to carry out the following functions :

• Use the menu bar (1) to create or open these Lightning resources.

– Component
– Event
– Interface
– Application

• Use the workspace (2) to work on your Lightning resources.

• Use the sidebar (3) to open or create client-side resources that are part of a specific
component bundle.

16
– Style
– Controller
– Documentation
– Renderer
– Helper

Figure 3.2: Developer Console

Link:https://www.salesforce.com/us/developer/docs/lightning/lightning.pdf

17
3.7 Prerequisites to work with Lightning Compo-
nents
To work with standalone Lightning apps and components, make sure you have these
prerequisites.

1. Create a Developer Edition organization.

2. Register a Namespace Prefix.

3. Enable Lightning Components

3.8 Open Source Aura Framework


Lightning components are based on the open source Aura framework. Through use of
Aura framework, you can create apps that are totally independent of your Salesforce data.

Salesforce1 is built on Aura. The Salesforce team has created Aura exclusively for
improving the mobile experience. Aura was formerly built for Salesforce Touch. Since
then, the Aura framework has grown enormously. Now, portions of Force.com App
Builder, Chatter, Site.com Component Framework, and the Sales Cloud Opportunity
Splits are all using Aura. Note that this framework is being used for both Mobile and
Desktop devices.

3.8.1 Why Use Aura?


Aura comes with an extensible and rich component set to start building apps in no time.
You dont have to spend time in optimizing your app for various devices as the compo-
nents do that internally for you.

The framework smartly utilizes your server, browser, network, and devices so you can
focus on the business logic and communications of your apps.

Above that, Aura has a set of other benefits listed below :

18
• It is open source: Aura lives on GitHub and can be forked/modified whenever
required. You can even provide functionality changes or bug fixes!

• Aura is not native to the Force.com platform: Unlike languages like Visualforce and
Apex, Aura does not require Salesforce. Even though it was built for Salesforce,
but it can be used by any developer. This will take Aura up to a much larger
set of developers. Along with it being open source, this framework has scope to
grow at a drastic rate. As Aura is built using object-oriented principles, it provides
the basic constructs of inheritance, encapsulation and polymorphism from typical
object-oriented programming and applies them to presentation layer development.

• Aura greatly utilizes events to interact with different components: With the ability
to quickly transition between mobile and desktop, Aura provides an amazingly
powerful framework to create applications that work for all mediums.

19
Chapter 4

Advantages of Salesforce1 Lightning

Lightning provides a component framework and an innovative set of tools that permit de-
velopers and channel partners to create extremely dynamic and powerful web apps. Apart
from the capability to give a power-packed, highly customized UI, Lightning makes au-
tomating key business processes as well as integrating data a seamless procedure.

• Fast and Easy App Development


Heroku and Force.com have already permitted developers to utilize the Salesforce
platform to create world-class customer and employee facing apps faster than ever
before, using lesser resources. Lightning raises the bar significantly and extends
such advantages to the mobile world in a large way. An IDC White Paper spon-
sored by Salesforce shows that Lightning decreases the time required to get apps to
the market by 70 percent. In fact, Lightning is the fastest means to build mobile
apps.

Lightning brings easy and quick development using components. Lightning Com-
ponents also offer tremendous customization opportunities to customers. It is also
feasible for developers to build their own custom code easily - using Apex on the
server, and side JavaScript on client side.

The advantages of speed, flexibility, efficiency and ease-of-use through Lightning


Components are achieved in the following ways:

20
1. Lightning components are encapsulated. The users of a component view only
its public shape whereas the internals stay private. This provides developers
the freedom to alter the internal implementation details without altering users
of other elements in the components. Encapsulation also helps to widen and
improve the overall development efficiency.
2. Lightning Components have event-driven architecture that helps in better de-
coupling between components. ’Decoupling’ means different components re-
maining independent, or uninformed of each other, allowing each component
to achieve its task autonomous of other components. Also, the buffer sepa-
rates the access of each component to the memory, and this parallelism helps
to achieve high-performance.

• Drag-and-Drop Function
Lightning allows application development using drag-and-drop, without writing
any code. This revolutionizes the development space, making it possible for even
business managers and novices with no coding experience to roll-out highly powerful
apps.

• Responsive Design
Lightning apps are responsive and present a stable user experience. The Lightning
Component framework supports the latest browser technologies such as HTML5,
CSS3, and touch events. Lightning makes it very easy for developers to build
responsive apps that get the screen size details from the device and format them
accordingly. With the growing popularity of mobile devices such as wearables,
smartphones, phablets, tablets growing, and all these devices coming in almost
uncountable screen sizes, responsive web design has become a vital function, and
Lightning permits developers to do this in double quick time, without a lot of effort.

A recent study sponsored by Salesforce proves that the Lightning Platform delivers
52 percent faster application deployment, 50 percent faster design of new apps, all, at an
overall 42 percent savings in IT costs.

The strength of Lightning comes from its distinctive blend of powerful features with
ease. It breaks down technological barriers and makes it achievable for developers to

21
deploy highly powerful features and functionality in an easy way, regularly requiring just
some mouse clicks. The necessity for coding is decreased tremendously and even novices
can now roll out high quality apps. For businesses, Lightning provides the independence
to manage their business, without spending a lot on developing apps.

22
Chapter 5

Disadvantages of Salesforce1
Lightning

As with any new technology release, there are some important things to think when
deciding if it fits your particular requirements. So, here are a few current limitations of
Salesforce1 Lightning :

• Lightning is currently in beta status. While it’s fairly stable and usable, there may
be bugs that haven’t yet been found or fixed. Things may change that could break
your code unsuspectingly.

• You will need to enable Lightning in your orgs explicitly to be able to use it, as it
is not enabled by default, but this stops canvas apps from working.

• Lightning components require a namespace registered for your organization. Cur-


rently, this restricts Lightning to only work in Developer Edition organizations if
you want to create and use custom components. Also, only the Developer Console
can be used to write Lightning apps.

23
Chapter 6

Conclusion

I believe Lightning is a game changer for the Salesforce1 platform. There is a huge oppor-
tunity for developers as they shift from creating standalone apps, to re-usable Lightning
Components.

This potential has always been seen in the Salesforce1 platform, where app develop-
ment is no longer a time consuming, costly process, but instead fast and efficient. For
the first time, this is achievable through a building block approach, that doesn’t sacrifice
quality, performance or security.

Overall I think Lightning will change the way apps are built and its exciting to see
what developers (including citizen developers) will do with the new capabilities!

24
Chapter 7

Bibliography

• https://developer.salesforce.com/lightning

• http://www.salesforce.com/in/platform/services/lightning/

• http://suyati.com/advantages-salesforce1-lightning/

• http://www.lifeintech.com/

• http://www.zdnet.com/article/salesforce1-re-energized-with-lightning-upgrade-for-
connected-apps/

• http://blog.stratagon.com/salesforce-1-lightning

• http://blog.sonomapartners.com/2014/10/news-from-dreamforce-14-salesforce-announces-
salesforce1-lightning.html

• http://www.jobsinsalesforce.com/salesforce1-gets-a-ui-lift-empowering-customers-to-
build-connected-apps-faster-than-ever/

25

You might also like