• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Introduction to Force.com Pages (Visualforce)
 

Introduction to Force.com Pages (Visualforce)

on

  • 3,505 views

Force.com can automatically generate user interfaces, but sometimes you want to go a bit further. This session explores Force.com pages (Visualforce), the component-based UI framework that lets you ...

Force.com can automatically generate user interfaces, but sometimes you want to go a bit further. This session explores Force.com pages (Visualforce), the component-based UI framework that lets you build attractive, dynamic, reusable user interfaces. We'll cover code walk-throughs, common use cases, a little about Force.com code (Apex), and sample UIs.

Statistics

Views

Total Views
3,505
Views on SlideShare
3,367
Embed Views
138

Actions

Likes
0
Downloads
130
Comments
1

1 Embed 138

http://developer.force.com 138

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • beautifully managed
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Re-use!Anyone catch that session?

Introduction to Force.com Pages (Visualforce) Introduction to Force.com Pages (Visualforce) Presentation Transcript

  • Introduction to Force.com Pages (Visualforce)
    Developers
    Reid Carlberg:salesforce.com
    @ReidCarlberg
    @ForceDotComLabs
  • 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 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 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 ended January 31, 2010. This documents 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.
  • Ask Your Questions in the Dreamforce Org!
  • Who Has…
    Just started with force.com?
    Modified an existing HTML web page on any system?
    Developed an HTML web page from scratch?
    Developed a JSP/PHP/etc. type page?
    Implemented a complete webapp from scratch?
  • Visualforce
    provides UI flexibility.
    Why Visualforce?
    Salesforce Mobile
    Best Mobile Experience
  • After this session
    Describe Visualforce and why it matters
    Explain 3 Common Usage Patterns
    Identify 2 Ways of Authoring Pages
    Decide your personal next step
  • Model-View-Controller
    Model
    View
    Controller
  • Today’s Demo App: Project Management
    Project__c
    Milestone__c
    User
    Action__c
  • Developer Mode, Pages & Styles
  • What We Did
    Activate Developer Mode
    Update the URL to “…/apex/MyNewPage”
    standardController=Project__c
    apex:Detail
    showHeader=false
    showSidebar=false
    “…/apex/MyNewPage?id=[some project id]”
    MAGIC!
  • Learning the Syntax
    http://developer.force.com
  • Types of Controllers
    standardController
    All CRUD operations
    Expects “id” parameter
    You write nocode
    custom controllers
    Replace standard controllers completely
    You write all code
    controller extensions
    Extend standard controllers
    You write some code
  • Extensions & UI Enhancement
  • What We Did
    Wanted to see more detail about GrandChild objects
    Created a Custom Page (no header, no sidebar)
    Standard Controller = “Project__c”
    Extensions=“ProjectMilestoneActionController”
    Followed prompts to created class, methods
    Built out a list of milestones and tasks
    MAGIC!
  • http://labs.force.com
    Learning What’s Possible
    http://developer.force.com
  • Multiple Objects & Action Overrides
  • Advanced Topics
    Rerender
    Wizards
    List views
    Reporting & Dashboards
    Portals
    Mobile Deployment
    Email Templates
  • Best Practices
    Develop custom Apex code in sandbox or developer edition
    Use security scanner to ensure quality
    http://security.force.com
    Rely on server side where possible
    faster!
    Insert only a single <apex:form /> tag
    faster!
    Avoid re-writing every page
  • Next Steps
    Join Developer.Force.com
    Get a Developer Edition
    Do the Force.com Workbook
    Visit the Dev Zone!
    Get the Cheatsheet (actually get ‘em all)
    Do the Workbook
    Attend More Sessions
    Intro to Force.com Sites
    Developing Applications with JQuery
  • Resources, Q & A
    Chatter Resources
    This Deck in Dreamforce org
    Twitter Resources
    @ReidCarlberg
    @ForceDotComLabs
    @ForceDotCom
    @Salesforce
  • Introduction to Force.com Pages (Visualforce)
  • Visit the Developer Training and Support Booth in Force.com Zone
    D I S C O V E R
    Developer training, certification and support resources
    that help you achieve
    S U C C E S S
    Find us in the Partner Demo Area of
    Force.com Zone 2nd Floor Moscone West
    Learn about Developer Certifications
    Discover Developer Learning Paths
  • Remember. . .
    • Check Chatter for additional session information
    • Get your developer Workbooks and Cheat Sheets in the Force.com Zone
    • Visit for more information related to this topic
    Don’t forget the survey!
  • How Could Dreamforce Be Better? Tell Us!
    Log in to the Dreamforce app to submit
    surveys for the sessions you attended
    Use the Dreamforce Mobile app to submit surveys
    OR
    Every session survey you submit is a chance to win an iPod nano!