Category: Lightning Components

5 #Lightning tips for Visualforce devs

…Originally posted in medium

Are you a Visualforce developer? Do you want to transition to #Lightning? Don’t be scared about it! Lightning Components is a new technology that can seem very different to Visualforce, as the way of programming is pretty different. Despite the learning curve is a bit sharped, once you have acquired skills on Lightning Components development, you will develop components at the speed of light, in comparison with Visualforce development! So, don’t miss the next 5 tips:

Continue reading “5 #Lightning tips for Visualforce devs”

Lightning Components for admins!

Last week I had the pleasure of giving a talk in the Woman In Technology user group in Paris. As the members of the group are mainly admins, and I am a developer, I wanted to talk about something that I was familiar with but that they could understood and use in their daily work. Having seen all the new Lightning features that come with Winter 17 release, I thought that a good option could be doing a summary of the many ways we can use Lightning Components in Lightning Experience and Salesforce1. This is, not talk about developing Lightning Components, but about configuring Salesforce to use them.

Continue reading “Lightning Components for admins!”

Lightning Components Facets

Today I want to talk a bit about Lightning Component Facets. What is a Facet? A facet is an attribute that we can define and place in a subcomponent, in order that another container component, which references the subcomponent, can fill up the facet space with some html code. Note that the subcomponent and container component are simply components, but I will call them in this way in order their relationship is easier to understand .

A facet attribute is similar to any other component attributes, but instead of having a primitive, collection, sObject or custom class type, it has an “Aura.Component[]” type. And instead of holding those kind of data, it will hold HTML markups or even another component.

Continue reading “Lightning Components Facets”

Lightning Components Attributes

Lightning Components attributes are used to:

  • Pass information from one component to another component.
  • Pass information from an app to a component.
  • Pass information from an url query string to an app.
  • Hold information that is dynamically changed (eg: through javascript) and which is dynamically referenced within an app or component.

This is, attributes can be defined within a component or within an app. The purpose of this post is seeing examples of the types of attributes that we can define and how can we pass them from one component to another. Passing attributes from an app to a component would work exactly in the same way. For more information on dynamically setting attributes in an app through the query string, take a look at this.

Continue reading “Lightning Components Attributes”