Get Started with Lightning Development
After completing this unit, you’ll be able to:
- List the key benefits of the Lightning Component framework.
- Explain how to use both low-code and pro-code tools to increase your productivity.
- Describe the standards, services, and files that form Lightning Web Components.
Hey Visualforce Developer, Welcome to Lightning Experience!
If you are an experienced Visualforce developer who wants to build modern and engaging user experiences with the best Lightning Experience tools, you’ve found the right place.
Even though Visualforce still works in Lightning Experience, you can build more seamless, engaging, and responsive user experiences with Lightning Experience tools. In this unit, we share why we developed the Lightning Component framework, consider two approaches to developing user interfaces for Lightning Experience: low-code and pro-code, and describe the fundamentals of Lightning web components.
Lightning Experience and the Lightning Component Framework
Designed and optimized for the web of 2006, Visualforce was based on a technology stack that aligned with other enterprise solutions of its era. The server-side rendering of Visualforce met the user requirements of the time.
After 2006, however, the landscape changed. Today, users expect more interactive, immersive, and responsive experiences. To meet those requirements, Salesforce launched Lightning Experience, built on the Lightning Component framework.
Instead of building monolithic pages with Visualforce, developers create small building blocks of Lightning components and assemble them in many ways to create different user interfaces.
Benefits of the Lightning Component framework include:
- Component reuse across Salesforce, maximizing developer productivity
- Easy extensibility of app functionality
- Custom components: download them from AppExchange or create your own
- Builders that help you create responsive designs that are optimized for mobile devices
- Base components that work great across device form factors
UI Development in Lightning Experience: Low-code and Pro-code
Salesforce offers two ways to build user interfaces (UI) in Lightning Experience: low-code and pro-code.
- Use low-code point-and-click tools to implement business logic or build user interfaces.
- Use pro-code tools to write your own code and fully customize your apps.
As a developer, when you begin developing something new, your instinct may be to start coding immediately. Instead, consider using low-code tools to get a headstart. If you use low-code tools for the repetitive boilerplate work, you have more time to spend on coding for complex requirements. As a bonus, the solutions you build with low-code tools are easy to change and extend with both low-code and pro-code tools.
UI Development in Salesforce
If you’re not familiar with Lightning Experience low-code solutions, we strongly recommend learning about them by earning these Trailhead badges.
- Lightning App Builder
- Lightning Experience Customization
- Salesforce Mobile App Customization
- Build Flows with Flow Builder
For pro-code tools, Salesforce provides two Lightning programming models: Lightning Web Components and Aura Components. We won’t dive too deeply into them here, just know that Lightning Web Components is the preferred way to develop custom UI in Lightning. It is more performant, easier to build, and more portable. If you’re interested in learning more about the differences between Aura components and Lightning web components, read the Understand How Lightning Web Components Work with Aura Components unit in the Lightning Web Components for Aura Developers module here on Trailhead.
Lightning Web Components Fundamentals
Lightning Web Components is a lightweight programming model based on the web components standards. It abstracts the more complex parts of the web components API and manages the component lifecycle, allowing you to write components easily, with less boilerplate code.
Note: Before continuing, we recommend that you read the Discover Lightning Web Components in the module. There you’ll learn more about the foundations for Lightning Web Components and the files that shape a Lightning web component.
- Trailhead: Visualforce & Lightning Experience
- Trailhead: Build Lightning Web Components
- Trailhead: Lightning Experience Development
- Salesforce Customer 360 Platform: The Benefits of Declarative Programming vs. Imperative Programming
- Lightning Web Components Developer Guide: Introducing Lightning Web Components