SlideShare a Scribd company logo
MavensMate: An Open Source
Alternative to the Force.com IDE
Developers
Joe Ferraro, Mavens, CTO
@joeferraro
Safe Harbor
 Safe harbor statement under the Private Securities Litigation Reform Act of 1995:

 This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if
 any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-
 looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of
 product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of
 management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments
 and customer contracts or use of our services.

 The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
 service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth,
 interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated
 with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain,
 and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling
 non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the
 financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This
 documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site.

 Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may
 not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently
 available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Joe Ferraro
CTO, Mavens
@joeferraro
Sublime Text Package
(Plugins/Snippets/Macros/Commands, etc.)
But we already have the Force.com IDE!


     ~850mb+ RAM         ~100mb RAM
There must have been other
 factors than RAM…right?
Why I Built MavensMate

• Deployment connections
• Async deployments
• Pretty unit test results
• Ability to become proficient with the Metadata API
• Ability to work on something fun/different
What are the ingredients?

• SublimeText
• Python & Ruby
• Salesforce.com Metadata API
• MavensMate.app
• HTML/CSS/Javascript
Python

• Command language for Sublime Text
• Handles high level requests from Sublime Text, passes to
  Ruby APIs via terminal
• Evaluates JSON response from Ruby commands, displays
  response in debug panel
Hey, that kinda
looks like Rails!
Ruby

• Rails-like, basic MVC framework
• Daemonized WEBrick server
• Savon gem to handle the painful SOAP exchanges
• Rubyzip gem to handle the zipping/unzipping of directories
• ERB to produce metadata shells
Salesforce.com Metadata/Apex APIs
•   describeMetadata
•   listMetadata
•   deploy
•   retrieve
•   checkStatus
•   compileClasses, compileTriggers
•   executeAnonymous
•   runTests
•   partner.xml, metadata.xml, & apex.xml
MavensMate.app
• OSX app that’s effectively a fancy webshell
• Ruby generates a UI in HTML/CSS/Javascript,
  MavensMate displays it in a WebView
• Interacts with a daemonized WEBRick server via
  jQuery
HTML/CSS/Javascript

• Bootstrap v1.4 [blech!]
    CSS
    Javascript
      • Popovers
      • Tabs

• Jquery
    DOM manipulation
    Ajax
High-Level Feature List
•   Create new project
•   Edit project metadata
•   Import/checkout SVN repo or clone Git repo
•   Create/Edit Apex Classes, Apex Triggers, Visualforce Pages, & Visualforce Components
•   Run Apex unit tests
•   Play Pacman while your Apex unit tests run!
•   Deploy to server
•   Execute anonymous
•   Apex code assist (beta)
Where can I get it?!



               mavens.io/mavensmate
                           OR
                       mavens.io/mm
Demo (deep dive) Agenda

 • New project & metadata creation
 • Compile new metadata
 • Run Apex unit tests
 • Deploy to server
All About Mavens                                                           mavens.io
              Mavens is a technology company focused on delivering
              disruptive services, solutions, and products to our
              customers in the Life Sciences industry. Our mission is
              to provide a unique, best-in-class experience to every
              one of our end-users, customers, and partners.

               We work with 8 of the top 10 pharmaceutical companies in the world
               Our culture is centered around creativity & happiness not billable
                hours and the bottom line
               3 Salesforce.com & Force.com MVPs on staff
               Experimentation and risk-taking is encouraged
Joe Ferraro
CTO, Mavens
 @joeferraro
MavensMate: An Open Source Alternative to the Force.com IDE

More Related Content

MavensMate: An Open Source Alternative to the Force.com IDE

  • 1. MavensMate: An Open Source Alternative to the Force.com IDE Developers Joe Ferraro, Mavens, CTO @joeferraro
  • 2. Safe Harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward- looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 5. But we already have the Force.com IDE! ~850mb+ RAM ~100mb RAM
  • 6. There must have been other factors than RAM…right?
  • 7. Why I Built MavensMate • Deployment connections • Async deployments • Pretty unit test results • Ability to become proficient with the Metadata API • Ability to work on something fun/different
  • 8. What are the ingredients? • SublimeText • Python & Ruby • Salesforce.com Metadata API • MavensMate.app • HTML/CSS/Javascript
  • 9. Python • Command language for Sublime Text • Handles high level requests from Sublime Text, passes to Ruby APIs via terminal • Evaluates JSON response from Ruby commands, displays response in debug panel
  • 10. Hey, that kinda looks like Rails!
  • 11. Ruby • Rails-like, basic MVC framework • Daemonized WEBrick server • Savon gem to handle the painful SOAP exchanges • Rubyzip gem to handle the zipping/unzipping of directories • ERB to produce metadata shells
  • 12. Salesforce.com Metadata/Apex APIs • describeMetadata • listMetadata • deploy • retrieve • checkStatus • compileClasses, compileTriggers • executeAnonymous • runTests • partner.xml, metadata.xml, & apex.xml
  • 13. MavensMate.app • OSX app that’s effectively a fancy webshell • Ruby generates a UI in HTML/CSS/Javascript, MavensMate displays it in a WebView • Interacts with a daemonized WEBRick server via jQuery
  • 14. HTML/CSS/Javascript • Bootstrap v1.4 [blech!]  CSS  Javascript • Popovers • Tabs • Jquery  DOM manipulation  Ajax
  • 15. High-Level Feature List • Create new project • Edit project metadata • Import/checkout SVN repo or clone Git repo • Create/Edit Apex Classes, Apex Triggers, Visualforce Pages, & Visualforce Components • Run Apex unit tests • Play Pacman while your Apex unit tests run! • Deploy to server • Execute anonymous • Apex code assist (beta)
  • 16. Where can I get it?! mavens.io/mavensmate OR mavens.io/mm
  • 17. Demo (deep dive) Agenda • New project & metadata creation • Compile new metadata • Run Apex unit tests • Deploy to server
  • 18. All About Mavens mavens.io Mavens is a technology company focused on delivering disruptive services, solutions, and products to our customers in the Life Sciences industry. Our mission is to provide a unique, best-in-class experience to every one of our end-users, customers, and partners.  We work with 8 of the top 10 pharmaceutical companies in the world  Our culture is centered around creativity & happiness not billable hours and the bottom line  3 Salesforce.com & Force.com MVPs on staff  Experimentation and risk-taking is encouraged
  • 19. Joe Ferraro CTO, Mavens @joeferraro