Summary

Regardless of the method used for deployment, the goal is to move your changes from your development sandbox to production. For smaller code changes, a single class and its tests, or for declarative metadata, such as page layouts and object additions, I prefer the public audit trail provided by change sets. On the other hand, if I'm deploying an entire features' worth of code and tests, I almost always go for an IDE or Ant deployment. And if there's more than one developer deploying metadata, I always automate the process with a continuous integration tool with Ant. Remember that the only way to remove metadata from a production org is through the Ant toolkit or the Force.com IDE. This is reason enough to learn the pointy details of the ...

Get Mastering Application Development with Force.com now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.