Join us as we use the Tooling API to build a basic IDE for editing and compiling Apex Classes. We'll weigh in on existing applications that use the Tooling API, and look at what's new in Mavens Mate, a Force.com IDE plugin for Sublime Text. After this session, you'll be able to extend these open source tools or build your own.
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Building Your Own Development Tools With the Force.com Tooling API
1. Building Your Own Development Tools With
the Force.com Tooling API
Doug Friedman
@realdoug
Featuring:
Joe Ferraro, CTO, Mavens Consulting
@joeferraro
6. The Tooling API:
A great “Alternative”
▪ Restforce Ruby Gem
▪ Command Line & cURL
▪ MavensMate
▪ Force.com Developer Console
7. How to Use
Works just like the Data API
▪ Oauth
▪ JSON
▪ REST/HTTP
▪ SOAP/XML
8. Metadata API & Tooling API Together
The Tooling API is best
used in conjunction with
the Metadata API
9. Key Tooling API Objects
▪ MetadataContainer
• A resource which holds the pieces of metadata in your project
▪ ApexClassMember, ApexPageMember, <any type>Member
• Represents a working copy of your Apex/Visualforce metadata
▪ ContainerAsyncRequest
• Compile Apex/Visualforce asynchronously
▪ SymbolTable
• Represents Apex Class tokens
• Assists in Code completion for IDEs