Download presentation
Presentation is loading. Please wait.
Published byDale Cunningham Modified over 8 years ago
1
embt.co/sprint-rest-json-services Blog Notes: Building RESTful servers. In C++ Builder Developer Skill Sprint Tips, Tricks and Techniques The Ultimate Application Development platform for Widows 10, Mac, Mobile and IoT Craig Chapman Software Consultant Embarcadero Technologies craig.chapman@embarcadero.com Feb 4 th, 2016 @ CraigChapm53280
2
embt.co/sprint-rest-json-services Blog Notes: This Skill Sprint Works with... Windows OS X Android iOS RAD Studio Delphi C++ Builder General Information Links embarcadero.com/products/rad-studio/ get- startedembarcadero.com/products/rad-studio/ get- started embarcadero.com/landing-pages/ skill- sprintsembarcadero.com/landing-pages/ skill- sprints Community.embarcadero.comCommunity.embarcadero.com docwiki.embarcadero.com/ RADStudio /endocwiki.embarcadero.com/ RADStudio /en docwiki.embarcadero.com/ CodeExamples /e ndocwiki.embarcadero.com/ CodeExamples /e n docwiki.embarcadero.com/ Libraries /endocwiki.embarcadero.com/ Libraries /en docwiki.embarcadero.com/ PlatformStatusdocwiki.embarcadero.com/ PlatformStatus
3
embt.co/sprint-rest-json-services Blog Notes: Agenda Brief introduction to REST Brief introduction to JSON Stand-Alone vs ISAPI Service Create – (POST) Read – (GET) Update - (PUT) Delete – (DELETE) Q&A
4
embt.co/sprint-rest-json-services Blog Notes: Brief Introduction – to REST REST is an abbreviation of ”Representational State Transfer” Stateless Client/Server model. No state maintained on the server. Layered System A client does not know if it is connected to the end-server or some intermediary. Uniform Interface Separation of concern between the client and server implementations.
5
embt.co/sprint-rest-json-services Blog Notes: Brief Introduction – to REST – Over HTTP (CRUD) HTTP GET = READ Retrieves a collection of resources as a list of the URI’s and other details for each resource. HTTP PUT = UPDATE Replaces the entire collection with another collection. HTTP POST = CREATE Create a new entry in the collection. HTTP DELETE = DELETE Delete the entire collection.
6
embt.co/sprint-rest-json-services Blog Notes: Brief Introduction – To JSON JSON stands for JavaScript Object Notation. Originally derived from the JavaScript scripting language. It is a language independent format, now commonly used in client-server communications. JSON primarily consists of a series of comma separated Name:Value pairs. Can group data as ‘objects’ using braces ‘{’..’}’ Can convey arrays of values or objects using brakets ‘[‘..’]’
7
embt.co/sprint-rest-json-services Blog Notes: Brief Introduction – To JSON { "firstName": "John", "lastName": "Smith", "isAlive": true, "age": 25, "address": { "streetAddress": "21 2nd Street", "city": "New York", "state": "NY", "postalCode": "10021-3100" }, "phoneNumbers": [ { "type": "home", "number": "212 555-1234" }, { "type": "office", "number": "646 555-4567" } ], "children": [], "spouse": null } Some example JSON taken from the JSON Wikipedia page: https://en.wikipedia.org/wiki/JSON
8
embt.co/sprint-rest-json-services Blog Notes: Download a free trial! embt.co/trialdownloads
9
embt.co/sprint-rest-json-services Blog Notes: Learning Resources This sprint: http://embt.co/sprint-rest-json-serviceshttp://embt.co/sprint-rest-json-services JSON Classes - More on my blog: http://chapmanworld.com/2015/01/18/json-with-radstudio-delphi- or-c-builder/ http://chapmanworld.com/2015/01/18/json-with-radstudio-delphi- or-c-builder/ REST: https://en.wikipedia.org/wiki/Representational_state_transfer https://en.wikipedia.org/wiki/Representational_state_transfer JSON: https://en.wikipedia.org/wiki/JSONhttps://en.wikipedia.org/wiki/JSON Download a free trial! embt.co/trialdownloads
10
embt.co/sprint-rest-json-services Blog Notes:
11
embt.co/sprint-rest-json-services Blog Notes: Next Time... Using Animations and Effects on Components See the full schedule and replays at embt.co/skill-sprints Delphi on Tuesday the 9 th of February, 2016 C++ on Thursday the 11 th of February, 2016 –6AM San Francisco / 9AM New York / 2PM London / 3PM Milan –11AM San Francisco / 2PM New York / 7PM London / 8PM Milan –5PM San Francisco / Wed 9AM Tokyo / Wed 10AM Sydney (Schedule based on San Francisco time. Verify your local time are correct: www.TimeAndDate.com)www.TimeAndDate.com Download a free trial! embt.co/trialdownloads
12
embt.co/sprint-rest-json-services Blog Notes: Thank You Developer Skill Sprint Tips, Tricks and Techniques The Ultimate Application Development platform for Widows 10, Mac, Mobile and IoT Craig Chapman Software Consultant Embarcadero Technologies craig.chapman@embarcadero.com @ CraigChapm53280 Q&A
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.