January 16, 2017

Salesforce Lightning - Hosting a Component in Visualforce

You may be familiar with overriding the editing experience for a Salesforce object with a custom Visualforce (VF) page. When users choose the new or edit actions for an object record, they get a customized view rather than the standard Salesforce view. I wanted to convert a custom edit view written in Visualforce over to Lightning. What I thought would take a day ended up consuming the better part of a week. Read more

November 28, 2016

Salesforce Lightning - Fixing the Built-in Components

If you've developed with the Salesforce Lightning Framework, you're probably familiar with the Lightning components available in the UI namespace. They include ui:button and ui:inputText among others. These out-of-the-box components are intended to get you up and running quickly, but the reality is they're pretty buggy. It can take some tweaking to get them to look right. Issues with ui:inputDateTime A prime example of this is ui:inputDateTime. If you use it in conjunction with the SLDS classes slds-input and slds-form-element__label, the component's layout gets out of whack. Read more

November 18, 2016

Salesforce Lightning - The Bad Parts

I try to avoid writing rants, but after a rough day, I needed to get this out. For the last two months, I've been working with the Salesforce Lightning Framework. It is the most frustrating JavaScript framework I've ever used. Unlike my experiences with Angular, React, and Knockout, I feel like Lightning is constantly fighting me. Technically it is built on the open source Aura framework, so this is an Aura critique as well. Read more

October 25, 2016

Callbacks As Lightning Component Attributes

Last week I posed a question on salesforce.stackexchange.com asking how to pass a function as an attribute in a Lightning Component. As a newbie to the Lightning Component framework (and the Salesforce platform), I found it odd callbacks were not included as one of the supported attribute types. The dearth of responses to my question surprised me. Eventually I found the answer when researching Component Events. Lightning Events Before I elaborate, I have to say the Lightning framework's approach to callbacks or events seems excessive. Read more

September 9, 2016

Forget 100% - A Realistic Guide to Physical Fitness

Two years ago in July I made a decision that changed my life. After a ten year hiatus, I decided to start working out again. I was in good shape in my twenties, but I was never able to carry out an exercise routine for more than a few months. I would be enthusiastic about it at first and then burn out. Eventually I stopped working out altogether. When I hit my late thirties, I was heavier than I wanted to be and felt sluggish most days. Read more

August 15, 2016

TaskCompletionSource - Bridging the Gap Between Old and New

In the latest versions of the .NET Framework, asynchronous work is represented by the Task class. A task is similar to a future or promise in other languages. You can create one in many ways the most common being Task.Run(). The result of a task is exposed by the Task.Result property. If the work is complete, then the property immediately returns a value; otherwise, it blocks until the operation is finished. Read more

© Joe Buschmann 2020