MavensMate: An Open Source Alternative to the IDE


Published on

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

MavensMate: An Open Source Alternative to the IDE

  1. 1. MavensMate: An Open SourceAlternative to the IDEDevelopersJoe Ferraro, Mavens, CTO@joeferraro
  2. 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, 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 products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of, 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., inc. assumes no obligation and does not intend to update these forward-looking statements.
  3. 3. Joe FerraroCTO, Mavens@joeferraro
  4. 4. Sublime Text Package(Plugins/Snippets/Macros/Commands, etc.)
  5. 5. But we already have the IDE! ~850mb+ RAM ~100mb RAM
  6. 6. There must have been other factors than RAM…right?
  7. 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. 8. What are the ingredients?• SublimeText• Python & Ruby• Metadata API•• HTML/CSS/Javascript
  9. 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. 10. Hey, that kindalooks like Rails!
  11. 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. 12. Metadata/Apex APIs• describeMetadata• listMetadata• deploy• retrieve• checkStatus• compileClasses, compileTriggers• executeAnonymous• runTests• partner.xml, metadata.xml, & apex.xml
  13. 13.• 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. 14. HTML/CSS/Javascript• Bootstrap v1.4 [blech!]  CSS  Javascript • Popovers • Tabs• Jquery  DOM manipulation  Ajax
  15. 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. 16. Where can I get it?! OR
  17. 17. Demo (deep dive) Agenda • New project & metadata creation • Compile new metadata • Run Apex unit tests • Deploy to server
  18. 18. All About Mavens 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 & MVPs on staff  Experimentation and risk-taking is encouraged
  19. 19. Joe FerraroCTO, Mavens @joeferraro