Dreamforce 2012 Session - Making your managed package extensible with Apex Plugins
Apex
Switch branches/tags
Nothing to show
Latest commit 4100817 Oct 6, 2014 @afawcett afawcett Create LICENSE
Permalink
Failed to load latest commit information.
ff_df12_plugin/src
unpackaged/src/classes Initial src commit Sep 4, 2012
.gitignore Initial src commit Sep 4, 2012
LICENSE Create LICENSE Oct 6, 2014
README.md

README.md

Making your managed package extensible with Apex Plugins

Dreamforce 2012 Session

Tuesday, September 18th: 1:45 PM - 2:15 PM
Community Common, Moscone Center West, San Francisco

###Description Apex-driven processing in packaged solutions is becoming more and more complex on the Force.com platform these days. As an ISV, it is not always enough for your customers to create triggers or add their own logic around your custom objects to meet their unique requirements. Sometimes they simply want to effect or steer the existing calculations or data manipulation going on within the managed package. Join us to learn a pattern and approach that can be used to expose a plugin interface to your managed packages by using Apex Interfaces and the new Type.newInstance feature.

###Speakers Stephen Willcock, FinancialForce.com
@stephenwillcock

###Slides www.slideshare.net/stephenwillcock/apex-plugins

Repository

This repository contains all the code that was used to build a sample Force.com managed package to demonstrate the Plugin technique - ff_df12_plugin, and a very simple Plugin class to accompany it.

If you want to play with the plugin, you can install the managed package. The package has deliberately been left in beta - it is provided purely for demonstrating the Plugin technique.

More usage details to follow after Dreamforce.

References

Martin Fowler, Patterns of Enterprise Application Architecture - Plugin
Martin Fowler, Patterns of Enterprise Application Architecture - Separated Interface
Apex Developer's Guide - Type Methods