PHP and Rails with AppExchange


Published on

Published in: Economy & Finance, Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • PHP and Rails with AppExchange

    1. 1. PHP and Rails with AppExchange Nick Tran, Doug Chasman, Derek Haynes, highgroove studios Track: Advanced AppExchange Developer
    2. 2. Safe Harbor Statement <ul><li>“ 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. </li></ul><ul><li>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, 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. </li></ul><ul><li>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 . </li></ul><ul><li>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., inc. assumes no obligation and does not intend to update these forward-looking statements, except as required by law. </li></ul>
    3. 3. Agenda <ul><li>Welcome </li></ul><ul><li>Introductions </li></ul><ul><li>PHP </li></ul><ul><li>Rails </li></ul>
    4. 4. Nick Tran Developer Program Manager - AppExchange Developer Network (ADN) [email_address]
    5. 5. Why PHP? <ul><li>Easy </li></ul><ul><ul><li>Short learning curve. </li></ul></ul><ul><ul><li>No compiling! </li></ul></ul><ul><ul><li>No packaging! </li></ul></ul><ul><li>Fast </li></ul><ul><ul><li>3.5x faster than JSP. </li></ul></ul><ul><li>Cross platform </li></ul><ul><li>Everyone’s doing it </li></ul><ul><ul><li>Friendster, Wikipedia, Yahoo, Digg </li></ul></ul>
    6. 6. PHP Toolkit <ul><li>What is it? </li></ul><ul><li>What’s new in 1.1? </li></ul><ul><ul><li>Supports the new 8.0 API methods. </li></ul></ul>
    7. 7. PHP Toolkit Requirements <ul><li>PHP 5.1.x </li></ul><ul><li>PHP capable web server </li></ul><ul><li>Developer Edition, Enterprise Edition, and Unlimited Edition </li></ul>
    8. 8. Where PHP can be used <ul><li>Salesforce Integration </li></ul><ul><li>Inline S-Control </li></ul><ul><ul><li>Youtube Mashup </li></ul></ul><ul><li>Outbound Messaging Endpoint </li></ul>
    9. 9. DEMO <ul><li>Hello World </li></ul>require_once ('../soapclient/SforcePartnerClient.php'); $mySforceConnection = new SforcePartnerClient(); $mySoapClient = $mySforceConnection->createConnection(&quot;partner.wsdl.xml&quot;); $mylogin = $mySforceConnection->login(&quot; [email_address] &quot;, &quot; changeme &quot;); $userResult = $mylogin->userInfo; echo $userResult->userFullName.', your session id is '.$mylogin->sessionId;
    10. 10. Demo <ul><li>Flex </li></ul><ul><ul><li>Data </li></ul></ul><ul><ul><li>Bypass Cross Domain </li></ul></ul><ul><li>Youtube </li></ul><ul><ul><li>Inline S-Control </li></ul></ul>
    11. 11. Resources and Information <ul><li> </li></ul><ul><ul><li>Blog </li></ul></ul><ul><ul><li>Projects & Toolkits </li></ul></ul><ul><ul><li>Documents </li></ul></ul><ul><ul><li>Discussion Boards </li></ul></ul>
    12. 12. Doug Chasman Principle Developer, Development Lead/Founder, ASF [email_address]
    13. 13. What is Ruby on Rails <ul><li>Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. </li></ul><ul><li>Uses Ruby as its very expressive, user friendly scripting language </li></ul><ul><ul><li>Share most of the advantages of other server side scripting languages </li></ul></ul>
    14. 14. What is ActiveSalesforce? <ul><li>ActiveSalesforce (ASF) is a Ruby on Rails framework connection adapter </li></ul><ul><ul><li>provides direct access to managed data via AppExchange web service API </li></ul></ul><ul><li>Integrates directly into the Ruby on Rail's ActiveRecord model layer </li></ul><ul><ul><li>leverage all of the RoR view and controller functionality, scafolding, 3 rd party plug ins, etc </li></ul></ul><ul><ul><li>majority of model layer behaviour supported </li></ul></ul><ul><ul><ul><li>much closer to 100% coverage in ASF 1.5 </li></ul></ul></ul>
    15. 15. Version 1.0 Features <ul><li>Basic Create, Read, Update and Delete operations </li></ul><ul><li> relationships are automatically surfaced in Rails as associations </li></ul><ul><li>Auto creation of basic model functionality for referenced object types </li></ul><ul><li>Request boxcar/batching using Rails transaction semantics </li></ul><ul><li>Multiple connection, heterogeneous back end support </li></ul><ul><li>Gem installable (local and remote install support) </li></ul><ul><ul><li>gem install activesalesforce </li></ul></ul>
    16. 16. Version 1.5 Features (Winter '07) <ul><li>High performance ActiveRecord.count and SELECT COUNT() </li></ul><ul><li>LIMIT </li></ul><ul><li>ORDER BY </li></ul><ul><li>x IN () where clause support </li></ul><ul><li>Joins </li></ul><ul><ul><li>Where clause conditions based on relationships </li></ul></ul><ul><ul><li>Single query returns main row and related row sets </li></ul></ul>
    17. 17. Resources and Information <ul><li>Hosted on </li></ul><ul><li>Project home page </li></ul><ul><li> Community : Developer Boards : Perl, PHP, Python & Ruby Development </li></ul><ul><li>ActiveSfdc RubyForge forum </li></ul>
    18. 18. Partner Presentation <ul><li>Derek Haynes </li></ul><ul><li>Newest member of the ASF project team! </li></ul>
    19. 19. Session Feedback Let us know how we’re doing! <ul><li>Please score the session from 5 to 1 (5=excellent,1=needs improvement) on the following categories: </li></ul><ul><ul><li>Overall rating of the session </li></ul></ul><ul><ul><li>Quality of content </li></ul></ul><ul><ul><li>Strength of presentation delivery </li></ul></ul><ul><ul><li>Relevance of the session to your organization </li></ul></ul>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: