First of all, let me state that developing Apex REST services is not only fun but ridiculously easy. If you've used SOAP web services you'll love the new REST feature. I couldn't wait to see what our member could come up with. However, we launched a couple of challenges recently and were surprised that we received zero submissions. So I put on my thinking cap and spoke with a couple of developers who are agressive challenge submitters. Their comments were that the technology was too new, Developer orgs didn't have the feature enabled, there was no documentation and they didn't know how to get started.
Well, let my tell you my friend, I have solved all of your problems!
I've put a video together that shows you everything (yes, everything) you need to know to get started participating in our Apex REST challenges. The tutorial walks you through the entire process of building our Members service. It shows you how to structure your services (easy), how to use the new REST classes (easy), and how to use the Apigee Console for Salesforce.com to test your services (super-duper easy). The Apigee console even handles the OAuth for you!! Why write your own Java or Rails client app to test your classes? Just use the Apigee console! I've even published the entire code for the Members service at github so you can use it as a template.
Salesforce.com held an Apex REST webinar yesterday (it should be available here any day now) and release a bunch of documentation and code examples. They even made the announcement that all Developer org would automatically be enabled with the Apex REST feature. So now there's no excuse not to get started!
Here's the video mentioned above but it might be easier to view it at Youtube in full screen.
So here's how you can get started:
- Sign up for a new developer org at developer.force.com. All new orgs are now enabled with the Apex REST services so you can get started right away without waiting for the feature to get enabled.
- Take a peek at the Force.com REST API site for tutorials, code snippets, webinars and documentation. You can even post questions to the message boards for quick answers to your problems.
- Watch this awesome video by our friends at Apigee entitled RESTful API Design: Teach a Dog to REST. We love the design principles.
- Watch the video above for a quick tutorial services and then check out the code.
- Install our package into your DE org to get started. It contains all objects, code and metadata you should need to begin developing for our challenges.
- Pick a challenge that you want to participate in.
- Use the Apigee Console for Salesforce.com as your client application and beginning writing your entry!