we don’t need no stinkin app server! building a two-tier mobile app
Post on 10-May-2015
21.858 Views
Preview:
DESCRIPTION
TRANSCRIPT
We Don’t Need No Stinkin’ App Server!
Building a Two-Tier Mobile App
Pat Patterson@metadaddy
Principal Developer Evangelistsalesforce.com
Safe HarborSafe 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 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, 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 filed on March 9, 2012 and in other filings with the Securities and Exchange Commission. These documents 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.
Agenda
• Database-as-a-Service
• Hybrid Mobile App Frameworks
• Combining the two approaches for rapid mobile app development
Agenda
• Database-as-a-Service
• Hybrid Mobile App Frameworks
• Combining the two approaches for rapid mobile app development
3-Tier Architecture
3-Tier Architecture
3-Tier Architecture
3-Tier Architecture
3-Tier Architecture
3-Tier Architecture
3-Tier Architecture
2-Tier Architecture
2-Tier Architecture
iOSAndroid
2-Tier Architecture
iOSAndroid
database.comSimpleDB/DynamoDB
GAE DatastoreCouchDBMongoDB
…
RESTful Database APIResource Name URI Description
Versions / List of supported API versions
Resources by Version
/vXX.X/ Available resources for this version
Describe Global /vXX.X/sobjects/ Available objects and metadata
SObject Basic Info /vXX.X/sobjects/SObject/ Metadata for object
SObject Describe /vXX.X/sobjects/SObject/describe/ Metadata for object fields etc
SObject Rows /vXX.X/sobjects/SObject/id/ Access record by native ID
SObject Rows by External ID
/vXX.X/sobjects/SObject/fieldName/fieldValue
Access record by external ID
User Password /vXX.X/sobjects/User/userId/password Set/reset user password
Query /vXX.X/query/?q=soql SOQL query
Search /vXX.X/search/?s=sosl SOSL query
http://www.salesforce.com/us/developer/docs/dbcom_api_rest/index.htm
Agenda
• Database-as-a-Service
• Hybrid Mobile App Frameworks
• Combining the two approaches for rapid mobile app development
Agenda
• Database-as-a-Service
• Hybrid Mobile App Frameworks
• Combining the two approaches for rapid mobile app development
Mobile App Spectrum
Objective C /Java
Native
HTML5 +CSS +
JavaScript
Hybrid
HTML5 +CSS +
JavaScript
Web
Atwood’s Law
“Any application that can be written in JavaScript, will eventually be written in
JavaScript.”
http://www.codinghorror.com/blog/2007/07/the-principle-of-least-power.html
Proof Point: LinkedIn iPad App
“Yes, only one screen in the entire LinkedIn iPad app is actually native.
The rest is good ol’ HTML5-based mobile web technology, running in the
browser.”
http://venturebeat.com/2012/05/02/linkedin-ipad-app-engineering/
Hybrid Mobile App Platforms
• Apache Cordova (aka [Adobe] PhoneGap)• Trigger.io• Appcelerator Titanium• Ansca Corona• Many, many, more
– http://en.wikipedia.org/wiki/Mobile_application_development
Salesforce Mobile SDK
• Hybrid support built on PhoneGap 1.2+ OAuth 2.0 built in+ JavaScript binding to database.com REST API
• Current Version 1.1– Added Secure Offline API, more flexible OAuth 2.0 and more
• Version 1.2 coming soon– Adds PIN protection, session timeout and more
2012
1.0Dec 2011
1.1Mar 2012
1.2Soon!
• And…
It’s 100% open source
Agenda
• Database-as-a-Service
• Hybrid Mobile App Frameworks
• Combining the two approaches for rapid mobile app development
Agenda
• Database-as-a-Service
• Hybrid Mobile App Frameworks
• Combining the two approaches for rapid mobile app development
Code Time…
http://bit.ly/gc12-mobile-demo
Conclusion
• Database-as-a-Service can dramatically simplify your web app’s back end
• Frameworks such as Apache Cordova accelerate mobile app development
• Combine the two for rapid mobile app development
Thank You!Pat Patterson@metadaddy
Principal Developer Evangelistsalesforce.com
top related