Search

Quirky Apex

Developer related topics for the Salesforce.com platform

Month

August 2016

FFLIB – Unit of work

This is the next in the series of FFLIB posts in which I’m trying to cover in the upcoming months. In my last post I covered the selector layer and how it can really help centralise your queries in your application. The next logical layer in FFLIB to cover now is the unit of work pattern

The unit of work pattern (UOW) is aimed at solving some of the common design issues in Salesforce applications when dealing database operations and bringing additional functionality to make your life as a developer much easier.

Continue reading “FFLIB – Unit of work”

You can now find the Winter ’17 release notes online!

https://releasenotes.docs.salesforce.com/en-us/winter17/release-notes/salesforce_release_notes.htm

FFLIB – Selector layer

This is the next post in a series of posts covering how to use FFLIB in your project. In this post we will be covering the selector layer, the part of the application which handles all of your queries. Last time we covered a basic introduction to the domain layer.

Continue reading “FFLIB – Selector layer”

FFLIB – Domain layer

In my previous blog post I gave a basic introduction as to what FFLIB is and why it’s a good idea to use such a framework in your project.

This time I’d like to give a more technical introduction into the domain layer and give examples on how to use it.

Continue reading “FFLIB – Domain layer”

If you’re creating lots of Visualforce then this tool if for you! Emmet is an amazing tool for creating HTML quicker. It’s like autocomplete, but better!

http://emmet.io/blog/sublime-text-3/

Code commenting is a must but it can be a chore to create class and method comment blocks. Use DocBlokr to make your coding life easier.

https://packagecontrol.io/packages/DocBlockr

Really useful Sublime plugin to access Salesforce reference material faster!

https://github.com/Oblongmana/sublime-salesforce-reference/blob/develop/README.md

An introduction to FFLIB

Having a good foundation and structure to your Salesforce Apex code base is key for a successful implementation. It allows us to scale our application in a predictable manner.

Without any structure or framework we’re often faced with the same problems to solve over and over again, and it’s difficult to share the knowledge to other developers what they should and shouldn’t do in the code base.

Continue reading “An introduction to FFLIB”

Fast Visualforce!

Over the years I’ve created hundreds, if not thousands of Visualforce pages on Salesforce and I’ve learnt a lot on how to ensure users get fast responsive pages.

In this post I want to walk through some of my tips and tricks to speed up your Visualforce pages.

Continue reading “Fast Visualforce!”

Create a website or blog at WordPress.com

Up ↑