3. Interactive
–adjective
1.acting one upon or with the other
2. Of or pertaining to a two-way system of
electronic communications, as by means of
television or computer.
5. Data Models Formula Fields
Workflows Declarative Logic Validation Rules
Controller Apex Governor Limits SOQL
Binding Triggers Visualforce Cloud Deployment
Data
MVC Model Chatter Spring MVC
Mobile Interfaces Site.com OAuth
REST API Heroku git
10. 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, 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-K for the most recent fiscal quarter ended
July 31, 2011. This document and others 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.
11. Customers, Partners, and Employees Are
Demanding a New Generation of Apps. Now.
456 Million
Tablets at Work
782 Million
Smartphones at Work
2009 2010 2011 2012
2013(E) 2014(E)
2015(E) 2016(E)
12. “80% of new commercial enterprise apps will
be deployed on cloud platforms in 2012”
IDC Predictions 2012: Competing for 2020
13. The Salesforce Platform
Your Apps Our Apps Any Apps
Salesforce Touch Platform
Chatter
Salesforce Identity
Heroku Force.com Site.com
AppExchange
Database.com
32. 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, 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-K for the most recent fiscal quarter ended
July 31, 2011. This document and others 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.
33. Data Modeling
Declarative Applications
Create
relationships, requirements and
validation rules
Apex, Visualforce and API‟s
automatically extended
34. Spreadsheet Versus Application
Relational Data
Validated data
Process driven workflows
OR Approval System
Field Auditing
Users, Profiles and Permissions
Enterprise Collaboration
With the same amount of programming…
36. Warehouse Application Requirements
• Track price and inventory on hand for all
merchandise
• Create invoices containing one or more
merchandise items as a line items
• Present total invoice amount and current shipping
status
37. Warehouse Application Requirements
• Track price and inventory on hand for all
merchandise
• Create invoices containing one or more
merchandise items as a line items
• Present total invoice amount and current shipping
status
38. Warehouse Application Requirements
• Track price and inventory on hand for all
merchandise
• Create invoices containing one or more
merchandise items as a line items
• Present total invoice amount and current shipping
status
39. Warehouse Data Model
Invoice
Number Status Count Total
INV-01 Shipped 16 $370
INV-02 New 20 $200
Invoice Line Items Merchandise
Invoice Line Merchandise Units Unit Price Value Name Price Inventory
Sold
Pinot $20 15
INV-01 1 Pinot 1 15 $20
Cabernet $30 10
INV-01 2 Cabernet 5 10 $150
Malbec $20 20
INV-01 3 Malbec 10 20 $200
Zinfandel $10 50
INV-02 1 Pinot 20 50 $200
42. 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, 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-K for the most recent fiscal quarter ended
July 31, 2011. This document and others 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.
46. Formula Fields
• „Pre-packaged‟ operations for performing common logic
• Support for commons functions
– Math
– Text
– Date & Time
– Logical
• Can chain functions together
AND ( OR (
ISPICKVAL(StageName, "Closed Won"),
ISPICKVAL(StageName, "Negotiation/Review")),
ISBLANK(Delivery_Date__c) )
47. Validation Rules
If Then Error
Implied on Formula evals Return error
record save. true (error) or message
false (save) (UI or API)
54. Privacy and Security
Home Tab / Profile Page Record Detail Page
Only users with
Every internal user can see what
“Read” access to the
you post
record can see what
you post
59. 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, 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-K for the most recent fiscal quarter ended
July 31, 2011. This document and others 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.
66. Apex Class Anatomy
public with sharing class myControllerExtension {
Class and Interface based
private final Account acct;
public Contact newContact {get; set;} Scoped Variables
public myControllerExtension(ApexPages.StandardController stdController) {
this.acct = (Account)stdController.getRecord();
}
public PageReference associateNewContact(Id cid) {
newContact = [SELECT Id, Account from Contact WHERE Id =: cid LIMIT 1];
newContact.Account = acct;
update newContact; Inline SOQL
}
} Inline DML
67. What can you do with Apex?
Controllers Custom API and Inbound/Outbound
HTTP Callouts Email Services
Database Triggers Scheduled and Batched Tasks
74. Salesforce Mobile
No additional development, admin configured and controlled
Mobile HTML Application
Web development skills required, easily made for multiple devices
and screens
Mobile SDK Development
Offers access to device functionality and can
create the most fast performing applications
75. Salesforce Mobile
No additional development, admin configured and controlled
Mobile HTML Application
Web development skills required, easily made for multiple devices
and screens
Mobile SDK Development
Offers access to device functionality and can
create the most fast performing applications
78. 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, 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-K for the most recent fiscal quarter ended
July 31, 2011. This document and others 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.
Can you guess the word? This is the theme for the day. Social and interactive. This is not a one way conversation. That wouldn’t be very social would it?Emphasize that questions can be asked about anything, it doesn’t require to be related to the tutorials, etc. It’s an open dialog.
OK, we have a lot to talk about today. It might seem a little overwhelming, but let’s focus on the big topics.
Disruptive changes require fast and agile development
Enterprises are responding to this demand by going to the cloud
Let’s have an exercise in requirements gathering. Here is some of the core needs for our Warehouse application. What nouns here should we be looking at to model our data with?
Let’s have an exercise in requirements gathering. Here is some of the core needs for our Warehouse application. What nouns here should we be looking at to model our data with?
Let’s have an exercise in requirements gathering. Here is some of the core needs for our Warehouse application. What nouns here should we be looking at to model our data with?
Here is an overview of what our data model will look like. Recommended: Break into a demo of building data in the browser, either custom object wizard or schema builder depending on audience/workbooks
Formulas are the building blocks of creating our business logic declaratively, and you’ll see them appear again throughout the day.
Formula fields work like formulas work in Excel spreadsheets.The formula here insists that a delivery date is needed for these stages.
Validation rules are always in 3 parts IF->then-ERROR.Let’s have a look how this is implemented in Force.com - flip to the app now and check out the check_inventory rule on LineItem
This is hard to see
Automated, time based processes that can integrate into backend systemsGreat for consistency, and removing human involvementEg:
How does privacy work with Chatter? Can you accidentally share a record I’m not supposed to see?
We’re going to look at Visualforce later, but let’s have a bit of a preview here. Visualforce is our user interface framework in the cloud, and it knows all about Chatter.
Want to make Chatter smarter? You can extend it with Apex Triggers to associate highly custom behaviors. Here if someone adds a hash tag “promote”, Apex will automatically add it to the promotion and even update the record to let everyone know it just did that. We’ll also be doing a deeper dive into Apex and triggers today as well.
Let’s talk about anatomy, specifically the anatomy of an application. If you are going to build something which is easy to maintain in an enterprise setting, how would you do it? What would be the bones, muscle and skin of your application?
The MVC pattern is one of the most commonly used design paradigms to create enterprise web applications. It neatly divides and conquers the application into distinct components to solve specific problems.
Specifically it keeps your data, your logic and your interfaces distinct while allowing them to interoperate. Think of your data like the bones of an animal – it defines the structure of what that animal will be, but it doesn’t need to know how to move around. Logic, your muscle, will do that for it. But Logic isn’t worried about appearances – that’s what your interfaces … the skin of your application … is for.
On the Force.com platform, we give all the tools to get this done. You’ve already seen custom objects, now let’s look into what makes that work with Apex and Visualforce to give your applications logic and a UI.
So we know how to get our data. What can we do with it? With Apex, it might be easier to ask what you can’t do with it.
For those unfamiliar with OO, here’s what a simple class structure looks like.NOTE: If you’re using this slide deck for a very technical audience, breeze through this section and get to meatier features of Apex.
Let’s have a look at what Apex looks like. We are going to build the worlds most simple Apex Class, HelloContacts. This is a great example for seeing how we can use the new Developer console within Force.com to code completely in the cloud. Much of the workbook will talk about use the Force.com IDE, an eclipse-based development environment. For today however, we are going to use the developer console. Talk through dev console with the repository view, highlight SOQL (we are going to need that to achieve our requirements) then execute the class and show how to use the log viewer to see execution time etc.
OK. We can do all of this powerful logic, right in our cloud – right from your web browser. It seems just too easy, right?There’s a catch. Think about an airport, and all the planes that are flying in the airspace and their trajectories and where they are heading and where they are going. Imagine being a pilot in that situation trying to land without an air traffic control tower.Force.com is an enterprise class multitenant architecture. We have a lot of planes in the air, and they all have places to go – but we get them where they are going, we do it safely and securely, and we’re doing it faster and faster with every release. We do this with some pretty excellent technology, but we also put some limits on what some of the our technologies like Apex can do. This makes sure someone isn’t able to fly a big, huge jet really quickly right through the middle of everyone’s path.
So what are some of those things?
OK, we have our bones and our muscle – what about our skin?
For those unfamiliar with OO, here’s what a simple class structure looks like.NOTE: If you’re using this slide deck for a very technical audience, breeze through this section and get to meatier features of Apex.
For those unfamiliar with OO, here’s what a simple class structure looks like.NOTE: If you’re using this slide deck for a very technical audience, breeze through this section and get to meatier features of Apex.