How to Write Good Unit Tests

by Jesse Lorenz on July 30, 2009 at 02:40 PM

If you’ve written Apex Code and deployed it to production, then you’ve encountered the 75% code coverage requirement. In order to help you achieve (and hopefully exceed) 75% code coverage, I’ve written an article that introduces some of the most important concepts for crafting good unit tests. It explores the proper structure of unit tests, the code scenarios that your unit tests should cover, and the properties of well-written unit tests. One property of well-written...
Read more »

Object Oriented Apex - Practical Usage

by Dave Carroll on July 28, 2009 at 04:28 PM

A recent post came to my attention on our Visualforce Developer board. The developer is taking advantage of code re-use in the form of custom components for his page implementation and wanted to have a way to establish communication between the page controller and the custom component. As it turns out, this is the exact requirement that I needed to make the Facebook toolkit easy to use. The answer lies in taking advantage of the...
Read more »

Quick Tip: Searching the Force.com Technical Library

by Caroline Roth on July 28, 2009 at 11:14 AM

Dfc_search
Did you know you can use Developer Force search to quickly search all of the reference documentation in the Force.com Technical Library? Until recently, search on Developer Force only returned wiki articles, discussion board topics, blog entries, and IdeaExchange posts. Now you can also use Developer Force search to find topics in the following Force.com reference guides as well: Apex Code Developer's Guide Visualforce Developer's Guide Web Services API Developer's Guide Metadata API Developer's Guide...
Read more »

Test Patterns

by Quinton Wall on July 28, 2009 at 10:45 AM

I recently finished up an internal project which required a comprehensive approach to test cases, in particular those relating to Visualforce pages, and Controllers. Throughout the project I did a lot of self-discovery combining my experience with other testing frameworks such as JUnit, Selenium etc. with my knowledge of how test cases work within the Force.com platform. The result was a great exercise in identifying real world test patterns, best practices and most importantly, the...
Read more »

Cloud Developer Challenge Deadline Extended!

by Kingsley Joseph on July 27, 2009 at 03:31 PM

Since many of you have told us that you needed more time to complete your app, we're extending the deadline for the Force.com Cloud Developer Challenge, by a whole 30 days - to August 31st 2009! We hope this extra time will help you raise the bar on your cloud app. Remember, you have a lot of support to fall back on — check out the developer challenge discussion board and the challenge page. The...
Read more »

Architecting a Commercial App

by Sati Hillyer on July 23, 2009 at 05:00 PM

A few weeks ago, I wrote about becoming the next salesforce.com. But to get there, you first need to know how to architect a commercial app. Today, a new article has been published that explains many of the concepts and considerations an ISV should review when architecting a commercial app on Force.com. Force.com gives you so much, so fast, that it's easy to start without a plan. However, to make a great app, you need...
Read more »

How to show a "busy" user interface status cue after pushing a button in Visualforce

by Jon Mountjoy on July 22, 2009 at 12:59 AM

before.jpg
How to show a "busy" visual cue after someone pushes a button.
Read more »

Add a Google Calendar to your Salesforce.com Org Homepage in < 5 minutes

by Quinton Wall on July 16, 2009 at 02:56 PM

We often spend so much time articulating how quick, and flexible the Force.com platform is. This week I wanted to show and prove it. So put away your 6-minute abs, and sit back and enjoy a little video I put together to demonstrate how you can add a Google Calendar to your Salesforce.com Org home page, using the HTML Area Homepage component, in less than 5 minutes: Even after adding a Google Calendar, you still...
Read more »

Email isn't old school

by Jon Mountjoy on July 13, 2009 at 01:27 PM

With all this focus on new media, we mustn't forget the old. Here's a tech talk to help you remember.
Read more »

Authenticating against the Force.com Web Services API using Java and Apache Axis

by Jon Mountjoy on July 10, 2009 at 06:41 AM

This video shows how to authenticate against the Force.com Web Services API using Java and Apache Axis.
Read more »