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 Feb 4 th, CraigChapm53280
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
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
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.
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.
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 ‘[‘..’]’
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": " " }, "phoneNumbers": [ { "type": "home", "number": " " }, { "type": "office", "number": " " } ], "children": [], "spouse": null } Some example JSON taken from the JSON Wikipedia page:
embt.co/sprint-rest-json-services Blog Notes: Download a free trial! embt.co/trialdownloads
embt.co/sprint-rest-json-services Blog Notes: Learning Resources This sprint: JSON Classes - More on my blog: or-c-builder/ or-c-builder/ REST: JSON: Download a free trial! embt.co/trialdownloads
embt.co/sprint-rest-json-services Blog Notes:
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: Download a free trial! embt.co/trialdownloads
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 CraigChapm53280 Q&A