PHP and Rails with AppExchange Nick Tran, Salesforce.com Doug Chasman, Salesforce.com Derek Haynes, highgroove studios Track: Advanced AppExchange Developer
Safe Harbor Statement “ Safe harbor” statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements the achievement of which involves risks, uncertainties and assumptions. If any such risks or uncertainties materialize or if any of the assumptions proves incorrect, our results 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 the integration of Sendia Corporation’s technology, operations, infrastructure and personnel with ours; unexpected costs or delays incurred in integrating Sendia with salesforce.com, which could adversely affect our operating results and rate of growth; any unknown errors or limitations in the Sendia technology; any third party intellectual property claims arising from the Sendia technology; customer and partner acceptance and deployment of the AppExchange and AppExchange Mobile platforms; interruptions or delays in our service or our Web hosting; our new business model; breach of our security measures; possible fluctuations in our operating results and rate of growth; the emerging market in which we operate; our relatively limited operating history; our ability to hire, retain and motivate our employees and manage our growth; competition; our ability to continue to release and gain customer acceptance of new and improved versions of our CRM service; unanticipated changes in our effective tax rate; fluctuations in the number of shares outstanding; the price of such shares; foreign currency exchange rates and interest rates. Further information on these and other factors that could affect our financial results is included in the reports on Forms 10-K, 10-Q and 8-K and in other filings we make with the Securities and Exchange Commission from time to time, including our Form 10-K for the fiscal year ended January 31, 2006. These documents are available on the SEC Filings section of the Investor Information section of our website at  www.salesforce.com/investor . 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 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, except as required by law.
Agenda Welcome Introductions PHP Rails
Nick Tran Developer Program Manager Salesforce.com - AppExchange Developer Network (ADN) [email_address]
Why PHP? Easy Short learning curve. No compiling! No packaging! Fast 3.5x faster than JSP. Cross platform Everyone’s doing it Friendster, Wikipedia, Yahoo, Digg
Salesforce.com PHP Toolkit What is it? What’s new in 1.1? Supports the new 8.0 API methods.
Salesforce.com PHP Toolkit Requirements PHP 5.1.x PHP capable web server Developer Edition, Enterprise Edition, and Unlimited Edition
Where PHP can be used Salesforce Integration Inline S-Control Youtube Mashup Outbound Messaging Endpoint
DEMO Hello World require_once ('../soapclient/SforcePartnerClient.php'); $mySforceConnection = new SforcePartnerClient(); $mySoapClient = $mySforceConnection->createConnection("partner.wsdl.xml"); $mylogin = $mySforceConnection->login(" [email_address] ", " changeme "); $userResult = $mylogin->userInfo; echo $userResult->userFullName.', your session id is '.$mylogin->sessionId;
Demo Flex Data Bypass Cross Domain Youtube Inline S-Control
Resources and Information http://www.salesforce.com/developer/ Blog Projects & Toolkits Documents Discussion Boards
Doug Chasman Principle Developer, Salesforce.com Development Lead/Founder, ASF [email_address]
What is Ruby on Rails Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. Uses Ruby as its very expressive, user friendly scripting language Share most of the advantages of other server side scripting languages
What is ActiveSalesforce?  ActiveSalesforce (ASF) is a Ruby on Rails framework connection adapter provides direct access to Salesforce.com managed data via AppExchange web service API Integrates directly into the Ruby on Rail's ActiveRecord model layer leverage all of the RoR view and controller functionality, scafolding, 3 rd  party plug ins, etc majority of model layer behaviour supported much closer to 100% coverage in ASF 1.5
Version 1.0 Features Basic Create, Read, Update and Delete operations Salesforce.com relationships are automatically surfaced in Rails as associations Auto creation of basic model functionality for referenced object types Request boxcar/batching using Rails transaction semantics Multiple connection, heterogeneous back end support Gem  installable (local and remote install support) gem install activesalesforce
Version 1.5 Features (Winter '07) High performance ActiveRecord.count and SELECT COUNT() LIMIT ORDER BY x IN () where clause support Joins Where clause conditions based on relationships Single query returns main row and related row sets
Resources and Information Hosted on RubyForge.org Project home page  http://activesfdc.rubyforge.org/ Salesforce.com Community : Developer Boards : Perl, PHP, Python & Ruby Development ActiveSfdc RubyForge forum
Partner Presentation Derek Haynes Newest member of the ASF project team!
Session Feedback Let us know how we’re doing! Please score the session from 5 to 1 (5=excellent,1=needs improvement) on the following categories: Overall rating of the session Quality of content Strength of presentation delivery Relevance of the session to your organization Save time! Use your cell phone or mobile device to send Feedback via SMS/Text Messaging! Send a message to  26335 In the message body:   Session 244, ####   For example, “ Session 123, 5555 ” Session ID:  244 Session ID # Scores for 4 categories SMS Voting powered by:

PHP and Rails with AppExchange

  • 1.
    PHP and Railswith AppExchange Nick Tran, Salesforce.com Doug Chasman, Salesforce.com Derek Haynes, highgroove studios Track: Advanced AppExchange Developer
  • 2.
    Safe Harbor Statement“ Safe harbor” statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements the achievement of which involves risks, uncertainties and assumptions. If any such risks or uncertainties materialize or if any of the assumptions proves incorrect, our results 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 the integration of Sendia Corporation’s technology, operations, infrastructure and personnel with ours; unexpected costs or delays incurred in integrating Sendia with salesforce.com, which could adversely affect our operating results and rate of growth; any unknown errors or limitations in the Sendia technology; any third party intellectual property claims arising from the Sendia technology; customer and partner acceptance and deployment of the AppExchange and AppExchange Mobile platforms; interruptions or delays in our service or our Web hosting; our new business model; breach of our security measures; possible fluctuations in our operating results and rate of growth; the emerging market in which we operate; our relatively limited operating history; our ability to hire, retain and motivate our employees and manage our growth; competition; our ability to continue to release and gain customer acceptance of new and improved versions of our CRM service; unanticipated changes in our effective tax rate; fluctuations in the number of shares outstanding; the price of such shares; foreign currency exchange rates and interest rates. Further information on these and other factors that could affect our financial results is included in the reports on Forms 10-K, 10-Q and 8-K and in other filings we make with the Securities and Exchange Commission from time to time, including our Form 10-K for the fiscal year ended January 31, 2006. These documents are available on the SEC Filings section of the Investor Information section of our website at www.salesforce.com/investor . 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 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, except as required by law.
  • 3.
  • 4.
    Nick Tran DeveloperProgram Manager Salesforce.com - AppExchange Developer Network (ADN) [email_address]
  • 5.
    Why PHP? EasyShort learning curve. No compiling! No packaging! Fast 3.5x faster than JSP. Cross platform Everyone’s doing it Friendster, Wikipedia, Yahoo, Digg
  • 6.
    Salesforce.com PHP ToolkitWhat is it? What’s new in 1.1? Supports the new 8.0 API methods.
  • 7.
    Salesforce.com PHP ToolkitRequirements PHP 5.1.x PHP capable web server Developer Edition, Enterprise Edition, and Unlimited Edition
  • 8.
    Where PHP canbe used Salesforce Integration Inline S-Control Youtube Mashup Outbound Messaging Endpoint
  • 9.
    DEMO Hello Worldrequire_once ('../soapclient/SforcePartnerClient.php'); $mySforceConnection = new SforcePartnerClient(); $mySoapClient = $mySforceConnection->createConnection("partner.wsdl.xml"); $mylogin = $mySforceConnection->login(" [email_address] ", " changeme "); $userResult = $mylogin->userInfo; echo $userResult->userFullName.', your session id is '.$mylogin->sessionId;
  • 10.
    Demo Flex DataBypass Cross Domain Youtube Inline S-Control
  • 11.
    Resources and Informationhttp://www.salesforce.com/developer/ Blog Projects & Toolkits Documents Discussion Boards
  • 12.
    Doug Chasman PrincipleDeveloper, Salesforce.com Development Lead/Founder, ASF [email_address]
  • 13.
    What is Rubyon Rails Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. Uses Ruby as its very expressive, user friendly scripting language Share most of the advantages of other server side scripting languages
  • 14.
    What is ActiveSalesforce? ActiveSalesforce (ASF) is a Ruby on Rails framework connection adapter provides direct access to Salesforce.com managed data via AppExchange web service API Integrates directly into the Ruby on Rail's ActiveRecord model layer leverage all of the RoR view and controller functionality, scafolding, 3 rd party plug ins, etc majority of model layer behaviour supported much closer to 100% coverage in ASF 1.5
  • 15.
    Version 1.0 FeaturesBasic Create, Read, Update and Delete operations Salesforce.com relationships are automatically surfaced in Rails as associations Auto creation of basic model functionality for referenced object types Request boxcar/batching using Rails transaction semantics Multiple connection, heterogeneous back end support Gem installable (local and remote install support) gem install activesalesforce
  • 16.
    Version 1.5 Features(Winter '07) High performance ActiveRecord.count and SELECT COUNT() LIMIT ORDER BY x IN () where clause support Joins Where clause conditions based on relationships Single query returns main row and related row sets
  • 17.
    Resources and InformationHosted on RubyForge.org Project home page http://activesfdc.rubyforge.org/ Salesforce.com Community : Developer Boards : Perl, PHP, Python & Ruby Development ActiveSfdc RubyForge forum
  • 18.
    Partner Presentation DerekHaynes Newest member of the ASF project team!
  • 19.
    Session Feedback Letus know how we’re doing! Please score the session from 5 to 1 (5=excellent,1=needs improvement) on the following categories: Overall rating of the session Quality of content Strength of presentation delivery Relevance of the session to your organization Save time! Use your cell phone or mobile device to send Feedback via SMS/Text Messaging! Send a message to 26335 In the message body: Session 244, #### For example, “ Session 123, 5555 ” Session ID: 244 Session ID # Scores for 4 categories SMS Voting powered by: