SlideShare a Scribd company logo
Manage Development in Your Org
with Salesforce Governance
Framework
James Burns
Director - Platform
Community Solution Advisors
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 any
litigation, risks associated with completed and any 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 year and in our quarterly report on Form 10-Q for the most recent
fiscal quarter. These 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.
Agenda
Salesforce Governance Framework
Change Management
Design Standards
â–Ş Coding Standards & Design
â–Ş Testing
â–Ş Integration
â–Ş Large Data Volumes
â–Ş Security
What are the Four Key Areas of Governance?
1. Center of Excellence

2. Change Management

Governance

3. Organization Strategy

4. Design Standards
Why is Governance important?
Manages
Risk

Enables
Agility

Drives
Business
Value
by Achieving
Key Goals

Increases
Control

CostEffective
Agenda
Salesforce Governance Framework
Change Management
Design Standards
â–Ş Coding Standards & Design
â–Ş Testing
â–Ş Integration
â–Ş Large Data Volumes
â–Ş Security
Traditional Development Process

Subset of Data
for Unit Testing

Subset of Data
for Unit Testing

Production Data
Copy for UAT

Servers

Production

Hardware configuration
Software configuration

Servers

UAT
Environment

Hardware configuration
Software configuration

Servers

Integration
Environment

Hardware configuration
Software configuration

Developer

Development
Environment
The Salesforce Platform Development Process
Integration
Environment

UAT
Environment

Subset of Data
for Unit Testing
Developer Pro

Production Data
Copy for UAT
Full Sandbox

Developer

Development
Environment

Subset of Data
for Unit Testing
Developer

Production
What Technology Should Your Developers Use?
Business
Analysts

Profession
al

Consider
an Org
Strategy

â–Ş Web UI
â–Ş Change sets

â–Ş Eclipse plugin / Web UI
â–Ş ANT migration

â–Ş Different orgs for different
categories of developer
How to Automate the Whole Process?
Create/Refresh Salesforce Sandbox

Pre-deployment tasks
Execution Engine
Starts the Build Process
Any Source
Control System

= manual

= automated

Salesforce Metadata
deployment
Post-deployment tasks
Dataloader loading
reference data
Agenda
Salesforce Governance Framework
Change Management
Design Standards
â–Ş Coding Standards & Design
â–Ş Testing
â–Ş Integration
â–Ş Large Data Volumes
â–Ş Security
How does Design Standards help to reduce Risk?
Coding Standards
& Design

Do you have?
Large Data
Volumes

Renegade Developers?

Test Best Practices

Poorly Designed Applications?
Variations in Application Sharing?
Performance and Data Challenges?
Compliance Requirements?

Security
Considerations

Integration
Approaches
Are the areas that Coding Standards apply?
Configuration
via
Code

Apex

VisualForce
Configuration via Code

Declarativ
e

Declarative
Programmatic
â–Ş Challengesmodel
Build Data & Considerations
Trigger
â–Ş Skill sets
â–Ş User Interface
Controllers
â–Ş Business Analysts
â–Ş Business logic
Classes
â–Ş Professional Programmers
â–Ş Formulas
â–Ş Custom UI
â–Ş Custom UI requires Apex
â–Ş Validation rules
â–Ş Advantages
â–Ş Time to market
â–Ş Workflows
Flexibility
â–Ş Declarative Testing
â–Ş Reporting
â–Ş Strong versioning
â–Ş Complex systems - declarative
â–Ş Advantages
â–Ş Reuse
â–Ş Security
â–Ş Scalable
â–Ş Disadvantages
â–Ş Large Data Volumes
â–Ş Maintainability
Can get complex
â–Ş Speed
Technical debit
â–Ş Do not need to be a
Testing
programmer
â–Ş Disadvantages
â–Ş Fixed UI
â–Ş It can get complex
â–Ş Advanced business logic
need code

Hybrid

Challenge
s

Considerat
ions

Programm
atic
What are APEX coding Best Practice?
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.

Bulkify your Code
Avoid SOQL Queries inside FOR Loops
Bulkify your Helper Methods
Using Collections, Streamlining Queries, and Efficient For Loops
Streamlining Multiple Triggers on the Same Object
Querying Large Data Sets
Use of the Limits Apex Methods to Avoid Hitting Governor Limits
Use @future Appropriately
Writing Test Methods to Verify Large Datasets
Avoid Hardcoding IDs
7 Habits of Highly Efficient VisualForce Pages
#
1
#
2
#
3
#
4
#
5
#
6
#
7

…Have Rock-Solid HTML, SS, & JavaScript knowledge
…Do Not Support a Single, Pixel-Perfect UI on Every Browser
...Are Stateless, Don’t Poll Our Servers, and Defer Difficult Work
...Have Optimized SOQL
...Use Standard Set Controllers
...Aren’t Kitchen Sinks
...Do Not Use Any Salesforce Resources
What are the types of Testing?

Componen
t/
System
Level
testing

Performan
ce
User
Acceptanc
e

Testing

Environme
nts

Strategies

Tools
What is a Salesforce Testing Strategy?
Regression

Component

Why is it
Important
Apex
Functional

Tools

End to End

Type
of
Testing
Testing

When
should
I conduct
it

Client

Types
Roles &
Responsibilities Integration
What is a Salesforce Testing Strategy?
Why is it
Important
Apex

When
should
I conduct
it

Testing
Types

Tools
Roles &
Responsibilities
What is a Salesforce Testing Strategy?
Regression

Functional

End to End

Component

Type
of
Testing

Client

Integration
What are Techniques for Optimization Performance?

Mash-ups
&
Canvas

Differed
Sharing
Calculations

Differed
Business
Rules

Using
SOQL &
SOSL

Deleting
Data

Search
What are the key Security Design consideration?
â–Ş

Considerations?

Integration data flow

â–Ş

Any PII data?

â–Ş

Field visibility

â–Ş
Authenticat
ion

Users personas defined?

â–Ş
Data

â–Ş
â–Ş

Application

Are the requirements clearly defined?

Internal Users

â–Ş

External Users

â–Ş

Mobility
Integration Patterns and Practices
UI Update
Based on
Data Change

Batch Data
Synchronizati
on

Request
&
Reply

Remote
Call-In

Fire
&
Forget
Summary
1. Center of Excellence

2. Change Management

Governance

3. Organization Strategy

4. Design Standards
Useful links
Development Lifecycle Guide
http://www.salesforce.com/us/developer/docs/dev_lifecycle/index.htm

Coding Standards
http://wiki.developerforce.com/page/Apex_Code_Best_Practices

Large Data Volumes
http://wiki.developerforce.com/page/Best_Practices_for_Deployments_with_Large_Data_Volumes

Integration Patterns
http://wiki.developerforce.com/page/Integration_Patterns_and_Practices

Visualforce
https://dreamevent.my.salesforce.com/apex/ActivityList#a093000000VhYM0AAN

Help & Training Course
We want to hear
from YOU!
Please take a moment to complete our
session survey
Surveys can be found in the “My Agenda”
portion of the Dreamforce app
Manage Development in Your Org with Salesforce Governance Framework

More Related Content

What's hot (20)

PDF
DevOps Center_ArchitectGroup
AmeyKulkarni84
 
PDF
Best Practices for Rolling Out New Functionality
Salesforce Admins
 
PPTX
Tackling Salesforce Technical Debt
panayaofficial
 
PDF
From Sandbox To Production: An Introduction to Salesforce Release Management
Salesforce Developers
 
PDF
Circles of success - So you have created or acquired a mess - now what (1)
Salesforce - Sweden, Denmark, Norway
 
PDF
Moving from Solo Admin to Center of Excellence
Salesforce Admins
 
PDF
Discover salesforce, dev ops and Copado CI/CD automations
JackGuo20
 
PDF
Performing a successful technical debt assessment in Salesforce
Coforge (Erstwhile WHISHWORKS)
 
PDF
Salesforce.com Sandbox management
Ali Akbar
 
PDF
Managing Change With A Sensible Sandbox Architecture
Alexander Sutherland
 
PDF
Understanding the Salesforce Architecture: How We Do the Magic We Do
Salesforce Developers
 
PDF
First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...
Anna Loughnan Colquhoun
 
PDF
Business Process Mapping for Salesforce Admins
Salesforce Admins
 
PDF
Best Practices for Team Development in a Single Org
Salesforce Developers
 
PPTX
Top Benefits of Salesforce in Business
Fexle Services Pvt. Ltd.
 
PPTX
Salesforce Sharing Architecture
gemziebeth
 
PPTX
Salesforce integration best practices columbus meetup
MuleSoft Meetup
 
PDF
Sales Cloud Best Practices
Sales Support Systematics Sp. z o.o.
 
PDF
Salesforce DevOps: Where Do You Start?
Chandler Anderson
 
PPTX
Salesforce intro session_for_students_v2
Stephen Edache Paul
 
DevOps Center_ArchitectGroup
AmeyKulkarni84
 
Best Practices for Rolling Out New Functionality
Salesforce Admins
 
Tackling Salesforce Technical Debt
panayaofficial
 
From Sandbox To Production: An Introduction to Salesforce Release Management
Salesforce Developers
 
Circles of success - So you have created or acquired a mess - now what (1)
Salesforce - Sweden, Denmark, Norway
 
Moving from Solo Admin to Center of Excellence
Salesforce Admins
 
Discover salesforce, dev ops and Copado CI/CD automations
JackGuo20
 
Performing a successful technical debt assessment in Salesforce
Coforge (Erstwhile WHISHWORKS)
 
Salesforce.com Sandbox management
Ali Akbar
 
Managing Change With A Sensible Sandbox Architecture
Alexander Sutherland
 
Understanding the Salesforce Architecture: How We Do the Magic We Do
Salesforce Developers
 
First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...
Anna Loughnan Colquhoun
 
Business Process Mapping for Salesforce Admins
Salesforce Admins
 
Best Practices for Team Development in a Single Org
Salesforce Developers
 
Top Benefits of Salesforce in Business
Fexle Services Pvt. Ltd.
 
Salesforce Sharing Architecture
gemziebeth
 
Salesforce integration best practices columbus meetup
MuleSoft Meetup
 
Sales Cloud Best Practices
Sales Support Systematics Sp. z o.o.
 
Salesforce DevOps: Where Do You Start?
Chandler Anderson
 
Salesforce intro session_for_students_v2
Stephen Edache Paul
 

Similar to Manage Development in Your Org with Salesforce Governance Framework (20)

PDF
Release and Enviromental Management
Salesforce Partners
 
PPTX
Force.com Friday : Intro to Apex
Salesforce Developers
 
PDF
Five Developer Tips Every Admin Needs To Know
Salesforce Developers
 
PPTX
Elevate Tel Aviv
sready
 
PPTX
Bridging the Gap between Clicks & Code
Salesforce Admins
 
PDF
Elevate london dec 2014.pptx
Peter Chittum
 
PPTX
August 2015 Governance Final 20150804.pptx
AdilPatel34
 
PPTX
Salesforce Campus Tour - Declarative
James Ward
 
PPT
Salesforce Integration
Joshua Hoskins
 
PPTX
Salesforce Campus Tour - Developer Intro
James Ward
 
PPTX
Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)
Salesforce Developers
 
PDF
Webinar: Take Control of Your Org with Salesforce Optimizer
Salesforce Admins
 
PDF
Just-In-Time Sharing Using Apex
Salesforce Developers
 
PDF
Force.com Friday: Intro to Force.com
Salesforce Developers
 
PDF
Avoid Growing Pains: Scale Your App for the Enterprise (October 14, 2014)
Salesforce Partners
 
PPT
Aan004 Wilson 091807
Dreamforce07
 
PPTX
5 Easy Ways to Make Your Org Instantly More User Friendly
Traction on Demand
 
PDF
Apex Testing Best Practices
Salesforce Developers
 
PDF
Succes Services - Top tips for better adoption
Salesforce_Benelux
 
PPTX
Force.com Friday: Intro to Visualforce (May 8, 2015)
Salesforce Developers
 
Release and Enviromental Management
Salesforce Partners
 
Force.com Friday : Intro to Apex
Salesforce Developers
 
Five Developer Tips Every Admin Needs To Know
Salesforce Developers
 
Elevate Tel Aviv
sready
 
Bridging the Gap between Clicks & Code
Salesforce Admins
 
Elevate london dec 2014.pptx
Peter Chittum
 
August 2015 Governance Final 20150804.pptx
AdilPatel34
 
Salesforce Campus Tour - Declarative
James Ward
 
Salesforce Integration
Joshua Hoskins
 
Salesforce Campus Tour - Developer Intro
James Ward
 
Apex for Admins: Get Started with Apex in 30 Minutes! (part 1)
Salesforce Developers
 
Webinar: Take Control of Your Org with Salesforce Optimizer
Salesforce Admins
 
Just-In-Time Sharing Using Apex
Salesforce Developers
 
Force.com Friday: Intro to Force.com
Salesforce Developers
 
Avoid Growing Pains: Scale Your App for the Enterprise (October 14, 2014)
Salesforce Partners
 
Aan004 Wilson 091807
Dreamforce07
 
5 Easy Ways to Make Your Org Instantly More User Friendly
Traction on Demand
 
Apex Testing Best Practices
Salesforce Developers
 
Succes Services - Top tips for better adoption
Salesforce_Benelux
 
Force.com Friday: Intro to Visualforce (May 8, 2015)
Salesforce Developers
 
Ad

More from Salesforce Developers (20)

PDF
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
PDF
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Salesforce Developers
 
PDF
Local development with Open Source Base Components
Salesforce Developers
 
PPTX
TrailheaDX India : Developer Highlights
Salesforce Developers
 
PDF
Why developers shouldn’t miss TrailheaDX India
Salesforce Developers
 
PPTX
CodeLive: Build Lightning Web Components faster with Local Development
Salesforce Developers
 
PPTX
CodeLive: Converting Aura Components to Lightning Web Components
Salesforce Developers
 
PPTX
Enterprise-grade UI with open source Lightning Web Components
Salesforce Developers
 
PPTX
TrailheaDX and Summer '19: Developer Highlights
Salesforce Developers
 
PDF
Live coding with LWC
Salesforce Developers
 
PDF
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
PDF
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
PDF
Lightning web components episode 2- work with salesforce data
Salesforce Developers
 
PDF
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
PDF
Migrating CPQ to Advanced Calculator and JSQCP
Salesforce Developers
 
PDF
Scale with Large Data Volumes and Big Objects in Salesforce
Salesforce Developers
 
PDF
Replicate Salesforce Data in Real Time with Change Data Capture
Salesforce Developers
 
PDF
Modern Development with Salesforce DX
Salesforce Developers
 
PDF
Get Into Lightning Flow Development
Salesforce Developers
 
PDF
Integrate CMS Content Into Lightning Communities with CMS Connect
Salesforce Developers
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Salesforce Developers
 
Local development with Open Source Base Components
Salesforce Developers
 
TrailheaDX India : Developer Highlights
Salesforce Developers
 
Why developers shouldn’t miss TrailheaDX India
Salesforce Developers
 
CodeLive: Build Lightning Web Components faster with Local Development
Salesforce Developers
 
CodeLive: Converting Aura Components to Lightning Web Components
Salesforce Developers
 
Enterprise-grade UI with open source Lightning Web Components
Salesforce Developers
 
TrailheaDX and Summer '19: Developer Highlights
Salesforce Developers
 
Live coding with LWC
Salesforce Developers
 
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
Lightning web components episode 2- work with salesforce data
Salesforce Developers
 
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
Migrating CPQ to Advanced Calculator and JSQCP
Salesforce Developers
 
Scale with Large Data Volumes and Big Objects in Salesforce
Salesforce Developers
 
Replicate Salesforce Data in Real Time with Change Data Capture
Salesforce Developers
 
Modern Development with Salesforce DX
Salesforce Developers
 
Get Into Lightning Flow Development
Salesforce Developers
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Salesforce Developers
 
Ad

Recently uploaded (20)

PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
Designing Production-Ready AI Agents
Kunal Rai
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Designing Production-Ready AI Agents
Kunal Rai
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 

Manage Development in Your Org with Salesforce Governance Framework

  • 1. Manage Development in Your Org with Salesforce Governance Framework James Burns Director - Platform Community Solution Advisors
  • 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 any litigation, risks associated with completed and any 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 year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These 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.
  • 3. Agenda Salesforce Governance Framework Change Management Design Standards â–Ş Coding Standards & Design â–Ş Testing â–Ş Integration â–Ş Large Data Volumes â–Ş Security
  • 4. What are the Four Key Areas of Governance? 1. Center of Excellence 2. Change Management Governance 3. Organization Strategy 4. Design Standards
  • 5. Why is Governance important? Manages Risk Enables Agility Drives Business Value by Achieving Key Goals Increases Control CostEffective
  • 6. Agenda Salesforce Governance Framework Change Management Design Standards â–Ş Coding Standards & Design â–Ş Testing â–Ş Integration â–Ş Large Data Volumes â–Ş Security
  • 7. Traditional Development Process Subset of Data for Unit Testing Subset of Data for Unit Testing Production Data Copy for UAT Servers Production Hardware configuration Software configuration Servers UAT Environment Hardware configuration Software configuration Servers Integration Environment Hardware configuration Software configuration Developer Development Environment
  • 8. The Salesforce Platform Development Process Integration Environment UAT Environment Subset of Data for Unit Testing Developer Pro Production Data Copy for UAT Full Sandbox Developer Development Environment Subset of Data for Unit Testing Developer Production
  • 9. What Technology Should Your Developers Use? Business Analysts Profession al Consider an Org Strategy â–Ş Web UI â–Ş Change sets â–Ş Eclipse plugin / Web UI â–Ş ANT migration â–Ş Different orgs for different categories of developer
  • 10. How to Automate the Whole Process? Create/Refresh Salesforce Sandbox Pre-deployment tasks Execution Engine Starts the Build Process Any Source Control System = manual = automated Salesforce Metadata deployment Post-deployment tasks Dataloader loading reference data
  • 11. Agenda Salesforce Governance Framework Change Management Design Standards â–Ş Coding Standards & Design â–Ş Testing â–Ş Integration â–Ş Large Data Volumes â–Ş Security
  • 12. How does Design Standards help to reduce Risk? Coding Standards & Design Do you have? Large Data Volumes Renegade Developers? Test Best Practices Poorly Designed Applications? Variations in Application Sharing? Performance and Data Challenges? Compliance Requirements? Security Considerations Integration Approaches
  • 13. Are the areas that Coding Standards apply? Configuration via Code Apex VisualForce
  • 14. Configuration via Code Declarativ e Declarative Programmatic â–Ş Challengesmodel Build Data & Considerations Trigger â–Ş Skill sets â–Ş User Interface Controllers â–Ş Business Analysts â–Ş Business logic Classes â–Ş Professional Programmers â–Ş Formulas â–Ş Custom UI â–Ş Custom UI requires Apex â–Ş Validation rules â–Ş Advantages â–Ş Time to market â–Ş Workflows Flexibility â–Ş Declarative Testing â–Ş Reporting â–Ş Strong versioning â–Ş Complex systems - declarative â–Ş Advantages â–Ş Reuse â–Ş Security â–Ş Scalable â–Ş Disadvantages â–Ş Large Data Volumes â–Ş Maintainability Can get complex â–Ş Speed Technical debit â–Ş Do not need to be a Testing programmer â–Ş Disadvantages â–Ş Fixed UI â–Ş It can get complex â–Ş Advanced business logic need code Hybrid Challenge s Considerat ions Programm atic
  • 15. What are APEX coding Best Practice? 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Bulkify your Code Avoid SOQL Queries inside FOR Loops Bulkify your Helper Methods Using Collections, Streamlining Queries, and Efficient For Loops Streamlining Multiple Triggers on the Same Object Querying Large Data Sets Use of the Limits Apex Methods to Avoid Hitting Governor Limits Use @future Appropriately Writing Test Methods to Verify Large Datasets Avoid Hardcoding IDs
  • 16. 7 Habits of Highly Efficient VisualForce Pages # 1 # 2 # 3 # 4 # 5 # 6 # 7 …Have Rock-Solid HTML, SS, & JavaScript knowledge …Do Not Support a Single, Pixel-Perfect UI on Every Browser ...Are Stateless, Don’t Poll Our Servers, and Defer Difficult Work ...Have Optimized SOQL ...Use Standard Set Controllers ...Aren’t Kitchen Sinks ...Do Not Use Any Salesforce Resources
  • 17. What are the types of Testing? Componen t/ System Level testing Performan ce User Acceptanc e Testing Environme nts Strategies Tools
  • 18. What is a Salesforce Testing Strategy? Regression Component Why is it Important Apex Functional Tools End to End Type of Testing Testing When should I conduct it Client Types Roles & Responsibilities Integration
  • 19. What is a Salesforce Testing Strategy? Why is it Important Apex When should I conduct it Testing Types Tools Roles & Responsibilities
  • 20. What is a Salesforce Testing Strategy? Regression Functional End to End Component Type of Testing Client Integration
  • 21. What are Techniques for Optimization Performance? Mash-ups & Canvas Differed Sharing Calculations Differed Business Rules Using SOQL & SOSL Deleting Data Search
  • 22. What are the key Security Design consideration? â–Ş Considerations? Integration data flow â–Ş Any PII data? â–Ş Field visibility â–Ş Authenticat ion Users personas defined? â–Ş Data â–Ş â–Ş Application Are the requirements clearly defined? Internal Users â–Ş External Users â–Ş Mobility
  • 23. Integration Patterns and Practices UI Update Based on Data Change Batch Data Synchronizati on Request & Reply Remote Call-In Fire & Forget
  • 24. Summary 1. Center of Excellence 2. Change Management Governance 3. Organization Strategy 4. Design Standards
  • 25. Useful links Development Lifecycle Guide http://www.salesforce.com/us/developer/docs/dev_lifecycle/index.htm Coding Standards http://wiki.developerforce.com/page/Apex_Code_Best_Practices Large Data Volumes http://wiki.developerforce.com/page/Best_Practices_for_Deployments_with_Large_Data_Volumes Integration Patterns http://wiki.developerforce.com/page/Integration_Patterns_and_Practices Visualforce https://dreamevent.my.salesforce.com/apex/ActivityList#a093000000VhYM0AAN Help & Training Course
  • 26. We want to hear from YOU! Please take a moment to complete our session survey Surveys can be found in the “My Agenda” portion of the Dreamforce app