Author Archives: Stephen

Apex Method of the Day – String.format(String value, List<String> args)

The above is an example of simple token replacement and is equivalent to: Why bother? Well, for more complex strings use of String.format can be easier to write and maintain than concatenation, but a great benefit comes from its combination … Continue reading

Posted in Documentation | Tagged , | Leave a comment

Constructive Forces at Work

A constructor in Apex is called when an instance of a class is created. Code-wise constructors might look like member methods, but they differ in a couple of significant ways. First, constructors can’t be called any other time than when … Continue reading

Posted in Documentation | Tagged | Leave a comment

Dynamic Field Sets

One of the things I love about Force.com is how easy it can be to stitch together blocks of functionality provided in the platform, saving you development effort. Spending a little extra time working out how to best use platform … Continue reading

Posted in Tutorials | Tagged , , , | 1 Comment

Back from the Dream side of the Force

Just back from Dreamforce ’13, which was, what’s Marc’s word for it?… oh, yes… awesome. As per my last post, I had two sessions in the DevZone this year: Practical Introduction to Chatter Publisher Actions (with Carolina Ruiz @CarolEnLaNube), and Tests and Testability: … Continue reading

Posted in News | Tagged | 4 Comments

A journey to the Dream side of the Force

I will very shortly be off to San Francisco to attend Dreamforce 2013. I am delighted to be speaking at two DevZone sessions this year: Practical Introduction to Chatter Publisher Actions This session is on Tuesday, November 19th at 1:30 … Continue reading

Posted in News | Tagged | 1 Comment

Apex Method of the Day – String.isEmpty(String myString)

Rather than: Force.com Apex Code Developer’s Guide – String Methods

Posted in Documentation | Tagged , | 1 Comment

Speedy Force.com Documentation Search in Chrome

Google Chrome has a great feature for customising your searches from the “omnibox” (URL/search box) which you can use to speed up your searches of the Force.com developer documentation.

Posted in Tutorials | Tagged , | 2 Comments