integrate cloud services with the rest/json client

11
EMBARCADERO TECHNOLOGIES Integrate Cloud Services with the REST/JSON Client Jim McKeeth jim.mckeeth@embarcadero. com JimMcKeeth on G+, Twitter, FB, etc. Download a free trial – NOW! http://embt.co/trialdownloads Fast Programming TIP, TRICKS and TECHNIQUES

Upload: jim-mckeeth

Post on 19-Jan-2015

758 views

Category:

Software


5 download

DESCRIPTION

Introduction to the REST/JSON stack including the REST Debugger, REST Client controls and REST Demos. For more free developer Skill Sprints see http://embt.co/Sprints14

TRANSCRIPT

Page 1: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIESEMBARCADERO TECHNOLOGIES

Integrate Cloud Services with the REST/JSON Client Jim [email protected] on G+, Twitter, FB, etc.

Tuesday, 1st of July, 2014Download a free trial – NOW!http://embt.co/trialdownloads

Fast Programming TIP, TRICKS and TECHNIQUES

Page 2: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIES

How Skill Sprints Work. - Agenda

• READY– Tips tricks & short URLS

• SET– 20 minutes, 1 topic

• GO– Demo and discussion– Live Q&A

Download a free trial – NOW!http://embt.co/trialdownloads

Page 3: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIES

The REST/JSON Client Stack

• Access to REST & JSON based web and cloud services.– Over 50K public services like Dropbox, Twitter, Google,

Flickr, Amazon, eBay, Wikipedia, PayPal, NOAA, etc.• ProgrammableWeb’s Directory http://embt.co/rest-directory

– Private services built with .NET WCF, OData, Java JAX-RS, Jersey, and other web technologies.

• Expand functionality of desktop and mobile apps.• Components make access quick and easy.

Page 4: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIES

The REST/JSON Client Stack

• REST Components– For developing REST client applications

• RESTDemos.exe– Uses REST Components to access common providers

• RESTDebugger.exe– Uses REST components to execute ad hoc requests

Page 5: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIES

REST & JSON Features

• Comprehensive HTTP client– Asynchronous execution– Proxy connection– HTTPS & GZIP

• Authentication: Simple, Basic, OAuth1, OAuth2• JSON

– Parsing, Formatting, DataSet Adapter– JSON to TObject, TObject to JSON

• Rapid Prototyping– LiveBindings– Design time execution

Page 6: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIES

DEMONSTRATIONREST/JSON Client Stack

Page 7: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIES

REST / JSON Summary

• The new REST Client Stack– REST Client Library: TRESTClient and related components.– REST Debugger: Prototype your REST calls.– REST Demos: Examples of calling common REST services.

• Quickly and easily add features from on-line services to your desktop and mobile apps.

Page 8: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIES

REST / JSON Resources

• Samples– C:\Users\Public\Documents\Embarcadero\Studio\14.0\Samples\Object Pascal\Database\RESTDemo

• Included Source Code (if purchased Pro or higher)– C:\Program Files (x86)\Embarcadero\Studio\14.0\source\data\rest– C:\Program Files (x86)\Embarcadero\Studio\14.0\source\data\rest\restdebugger

• DocWiki with Examples– http://embt.co/REST_Client_Library

• CodeRage 8 Videos– Dive into Details http://embt.co/cr8-rest-details – Tool of Many Trades http://embt.co/cr8-rest

Download a free trial – NOW!http://embt.co/trialdownloads

Page 9: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIES

REST / JSON Resources

• My Blog Posts & These Slides - http://delphi.org/category/rest/ • Blog Posts in C++

– Weather API - http://embt.co/DavidI-CPP-RestWeather

– Phillips Hue Lights - http://embt.co/DavidI-CPP-PhilipsHue

– Surf Spot Finder - http://embt.co/1eJiiv3

• Blog Posts in Object Pascal– JT “Endless Possibilities” - http://embt.co/JT-REST1

– Sarina DuPont with Beats Audio - http://embt.co/feeling-the-beat

– Sarina DuPont with Surf Spot Finder - http://embt.co/1k1tRVj/

– Sarina DuPont with Using FDMemTable - http://embt.co/rest-with-fdmemtable

Download a free trial – NOW!http://embt.co/trialdownloads

Page 10: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIES

Next Time….

• Integrate More iOS with Objective-C Calls • Take full advantage of the iOS platform by accessing

APIs and 3rd party libraries directly from your App.• Thursday, July 3rd, 2014

– 6AM San Francisco / 9AM New York / 2PM London / 3PM Milan– 11AM San Francisco / 2PM New York / 7PM London / 8PM Milan– 5PM San Francisco / Fri 9AM Tokyo / Fri 10AM Sydney

Download your free trial now: http://embt.co/trialdownloads Full Skill Sprint Schedule: http://embt.co/Sprints14

Page 11: Integrate Cloud Services with the REST/JSON Client

EMBARCADERO TECHNOLOGIESEMBARCADERO TECHNOLOGIES

Q & A

Download your free trial now! http://embt.co/trialdownloads

@EmbarcaderoTech

Full Skill Sprint Schedule http://embt.co/Sprints14