Skip to content

Category: Programming

Sorting Elements Alphabetically in JavaScript
JavaScript

Sorting Elements in an Array Alphabetically in JavaScript

There's a lot of reasons why you may want to sort an array, often it is done to make things easier for the user of the application to understand the data. Arrays are normally sorted to be in ascending order (or alphabetical).

May 19, 2015
Recreating PHP's time() function in JavaScript
JavaScript

Recreating PHP’s time() function in JavaScript

PHP's time() function returns the current unix timestamp. JavaScript doesn't exactly have the same functionality, but it's pretty close. Put a different and more understandable way, it returns the current time measured in seconds since the Unix Epoch (00:00:00 UTC on 1 January 1970). JavaScript has a similar way of getting the time but it's in milliseconds since the Unix Epoch.

May 12, 2015
Programming

Introduction to Testing in Salesforce

Automated testing confirms whether a piece of particular code is working correctly. And, its no secret, that writing automated tests helps decrease…

May 6, 2015
Salesforce

Salesforce Quick Deploy

Releasing changes from a sandbox into production Salesforce can be an interesting time as a developer. As your instance gains more and…

April 22, 2015
Salesforce

Introduction to Salesforce Trailhead

When Salesforce introduced Trailhead in the Dreamforce 2014 Developer Keynote I wasn’t overly excited. Trailhead is Salesforce’s Learning Platform; it’s designed to…

April 17, 2015
JavaScript

JavaScript IsNumeric Function

In the past, there’s been so many times I needed to tell if an object was numeric. With the below function, it’s…

January 13, 2015
Salesforce

Salesforce Spring15 Including Mapping Features

Salesforce’s Spring 15 release is going to include mapping and geolocation for address fields. I believe, location based features started appearing before…

December 1, 2014
Salesforce Logo
Programming

How to do Callouts from Apex Triggers

In this blog post, we'll discuss how to correctly do Callouts from Apex Triggers. Salesforce doesn't allow External Callouts to directly happen from Apex Triggers. You will get the error "Callout from triggers are currently not supported'.

November 18, 2014
Salesforce Logo
Programming

How to Show error messages in Visualforce

Visualforce is Salesforce's MVC style pages. In this blog post, we'll cover how to display error messages in a Visualforce page and how to add error messages.

November 11, 2014
Salesforce

Looking Back at Dreamforce 2014

I was really blessed to be able to attend Dreamforce and learn even more about Salesforce. While attending there, I attended a…

October 19, 2014
Salesforce Logo
Salesforce

Standard Salesforce Object Id Prefixes

The first three digits of an Id is an identifier to the type of entity that the object is. It doesn't matter if the Id is a 15 digit or 18 digit id.

September 17, 2014
Salesforce Logo
Programming

Salesforce Development Tips for the Novice

For the last eleven months or so, I’ve been working a lot as a salesforce developer.  In this time, I’ve learned an incredible…

September 6, 2014