Date: This webinar took place on July 24, 2012
Whether you are an experienced programmer or a salesforce.com administrator, Apex can help you get more out of the Force.com platform. Apex is the programming language of Force.com; it allows you to go beyond the point-and-click framework to add specialized and complex logic to your applications.
Watch this webinar to learn about:
:: How administrators with no programming knowledge can write simple Apex triggers to complete their applications
:: How programmers can utilize Apex to build complete application logic
:: How programmers can use Apex to integrate Force.com applications with other systems
View the recording, FAQs, and download the code here: http://bit.ly/apexcodewiki
1. Introduction to Apex
Josh Kaplan
Senior Product Manager
@joshsfdc
Sandeep Bhanot
Senior Developer Evangelist
@cloudysan
Follow us @forcedotcom
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 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, 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 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, 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-K filed on April 30, 2008 and in other filings with the
Securities and Exchange Commission. These documents 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 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.
3. @forcedotcom / #forcewebinar
Developer Force Group
facebook.com/forcedotcom
Developer Force – Force.com
Community
youtube.com/developerforce
Follow us @forcedotcom
4. Apex is the Programming Language of the
Force.com Platform
2.4 Billion Lines of Apex Code
Follow us @forcedotcom
5. What Is Apex?
Object-oriented language
Strongly-typed
Java-like syntax
Follow us @forcedotcom
6. Why Apex?
Runs in the Cloud
Integrated to Your Data
Convenience Features
Testing Framework
Backward Compatibility
Write once, run anywhere
Follow us @forcedotcom
8. What can you do with Apex?
Custom web services and
Database Triggers Visualforce Controllers HTTP Callouts
Inbound/Outbound
Email Services Scheduled and Batched Tasks
Follow us @forcedotcom
10. Triggers – Add Logic To Your Application
Where the declarative platform ends, Apex begins
Apex Triggers act whenever records are saved
– Modify the object being saved
– Create new objects
– Modify related objects
– Modify any object in the system
Follow us @forcedotcom
20. Apex Integration Features
Expose RESTful Web Services
Expose SOAP Web Services
Outbound Web Service Calls
– Callout to RESTful Web Services
– Callout to SOAP Web Services
Follow us @forcedotcom
22. Let’s recap
Apex is the programming language for the Force.com platform
– Used for database triggers, Visualforce pages, integration services, batch
and scheduled processing and more …
Common syntax
– Variables, loops, classes, interfaces, collections, etc.
Many unique convenience features
– Tight binding with your Salesforce data model
– Simple data manipulation calls
– SOQL for querying records into variables
– Annotations & keywords – webservice, @isTest, @RestResource, etc.
– Integrated testing framework with data teardown
Follow us @forcedotcom
23. Ready. Set. Go!
FREE
Sign Up For Developer Edition
http://developer.force.com/join
Follow us @forcedotcom
24. Your Homework Assignment
Download the Apex Workbook
http://bit.ly/apexworkbook
Bite-sized 30 minute tutorials
– Starts with the basics and builds
from there
– Build in Developer Edition Now!
Follow us @forcedotcom
26. Upcoming Events
August 1
Learn to Build Apps CodeTalk
http://bit.ly/introcodetalk
August 15
Elevate your Career as a Cloud Developer
http://bit.ly/cloudcareer-wr
August 23
Heroku Postgres Cloud Database
http://bit.ly/herokupostgres-ap
Follow us @forcedotcom
27. Q&A
http://bit.ly/
apexcodesurvey
@joshsfdc @forcedotcom @cloudysan
Follow us @forcedotcom