Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Create Salesforce online IDE in 30 minutes

15,605 views

Published on

Dreaforce 2014 Session , Create Salesforce IDE with the help of Tooling API with complete Source code

Published in: Software
  • Sex in your area is here: ❶❶❶ http://bit.ly/2F4cEJi ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating for everyone is here: ❶❶❶ http://bit.ly/2F4cEJi ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Create Salesforce online IDE in 30 minutes

  1. 1. Create Online IDE in 30 minutes Jitendra Zaa @ilovenagpur Dev Prakash @devprakash15
  2. 2. Dev Prakash Associate Director - Salesforce Practice
  3. 3. About Cognizant Salesforce Practice 178,600 employees globally 20,000+ Outsourcing projects in 40 countries 25+ Regional sales offices 50+ Global Delivery Centres Market Capitalisation Over $26 billion 1,223 active customers Founded in 1994 (CTSH, Nasdaq) Headquarters Teaneck, NJ 8+ Years as Partner 1 of 18 Global Strategic Sis 425+ Salesforce projects delivered 800+/500+ Salesforce Trained / Salesforce Certified
  4. 4. Agenda •Node.js •Heroku •Twitter Bootstrap •Tooling API •Code Walkthrough •Resources and source code
  5. 5. Why Node.js ? • Uses same JavaScript engine which is used by Google chrome browser “V8 JavaScript runtime” •Very popular, simple, yet powerful script •Mostly used for developing high performance network applications • With help of many available node modules, web application can be created. We will be using “express”
  6. 6. Why Heroku ? • Is leading platform as a service •Supports many programming languages like ruby, java, php, scala, python, node.js •Owned by Salesforce •Heroku connect (easily connect Salesforce with applications hosted on Heroku )
  7. 7. Twitter Bootstrap •Most popular html, CSS, and JavaScript framework for developing responsive, mobile first projects on the web • Open source project by twitter
  8. 8. Champion of the Show – Tooling API •Released in spring 13 • Provides REST and SOAP based interface to help creating custom development tools •Supports create, update and delete apex classes, triggers, visualforce pages and visualforce components • Getting debug logs, heap dump and symbol tables • Still in infancy, like other Salesforce APIs this is growing with each release
  9. 9. Why do we need Tooling API • Force.com developer community is growing fast like Salesforce itself • Many organizations are looking for custom functionalities around development tools to follow their standards • Like any popular programming language, it very important to “make developers happy” •Tooling API opens door for creating beautiful development tools which will make development efficient and easy
  10. 10. Jitendra Zaa Sr. Consultant - Salesforce Practice
  11. 11. Code Walkthrough
  12. 12. Recap – Reading existing resources • SELECT Id,Name FROM ApexClass •SELECT Id,Name FROM ApexPage •SELECT Id,Name FROM ApexTrigger
  13. 13. Recap – Reading body of resources • http://na1.salesforce.com/services/data/v29.0/tooling/sobjects/ApexClass/id • http://na1.salesforce.com/services/data/v29.0/tooling/sobjects/ApexPage/id • http://na1.salesforce.com/services/data/v29.0/tooling/sobjects/ApexTrigger/id
  14. 14. Recap – Creating resources •POST request to below URL with content • http://na1.salesforce.com/services/data/v29.0/tooling/sobjects/ApexClass • http://na1.salesforce.com/services/data/v29.0/tooling/sobjects/ApexPage • http://na1.salesforce.com/services/data/v29.0/tooling/sobjects/ApexTrigger
  15. 15. Recap – Updating resources • Create MetadaContainer • Create ResourceMember • Create ContainerAsyncRequest •Poll ContainerAsyncRequest to see if update is successful
  16. 16. Delete resources •Delete request to below URLs • http://na1.salesforce.com/services/data/v29.0/tooling/sobjects/ApexClass/id • http://na1.salesforce.com/services/data/v29.0/tooling/sobjects/ApexPage/id • http://na1.salesforce.com/services/data/v29.0/tooling/sobjects/ApexTrigger/id
  17. 17. Reading Logs • List of Logs – SELECT Id,LogUserId FROM ApexLog •Log Body – http://na1.salesforce.com/services/data/v29.0/tooling/ApexLog/id/Body/
  18. 18. Symbol Table • “SymbolTable” is element in JSON returned when we read resource Body
  19. 19. Use ACE – JavaScript based Code Editor •To make editor more useful and professional, we can use free Library of Online Editor – Ace • http://ace.c9.io/#nav=about
  20. 20. Complete Code and Demo URL •Demo - https://toolingapi.herokuapp.com/ •Demo with Ace - https://dreamforce14.herokuapp.com/ • Git (simple editor) with Heroku 1 button – https://github.com/JitendraZaa/ToolingAPI30Min • Git (with ace) with Heroku 1 button – https://github.com/JitendraZaa/ToolingAPI30Min-AceEditor
  21. 21. Other Resources •Tooling API Guide • Create Node.js application Using Eclipse and deploy to Heroku (Video Tutorial) •Bootstrap Library

×