The Ultimate Application Development platform for Widows 10

  • Slides: 12
Download presentation
The Ultimate Application Development platform for Widows 10, Mac, Mobile and Io. T Craig

The Ultimate Application Development platform for Widows 10, Mac, Mobile and Io. T Craig Chapman Developer Skill Sprint Tips, Tricks and Techniques @Craig. Chapm 53280 Software Consultant Embarcadero Technologies craig. chapman@embarcadero. com Building RESTful servers. In Delphi Blog Notes: embt. co/sprint-rest-json-services Feb 2 nd, 2016

This Skill Sprint Works with. . . • • Windows OS X Android i.

This Skill Sprint Works with. . . • • Windows OS X Android i. OS RAD Studio Delphi C++ Builder Blog Notes: embt. co/sprint-rest-json-services General Information Links • embarcadero. com/products/rad-studio/get-started • embarcadero. com/landing-pages/skill-sprints • • • Community. embarcadero. com docwiki. embarcadero. com/RADStudio/en docwiki. embarcadero. com/Code. Examples/en docwiki. embarcadero. com/Libraries/en docwiki. embarcadero. com/Platform. Status

Agenda • Brief introduction to REST • Brief introduction to JSON • Stand-Alone vs

Agenda • Brief introduction to REST • Brief introduction to JSON • Stand-Alone vs ISAPI Service Blog Notes: embt. co/sprint-rest-json-services • • • Create Read Update Delete Q&A – (POST) – (GET) - (PUT) – (DELETE)

Brief Introduction – to REST • REST is an abbreviation of ”Representational State Transfer”

Brief Introduction – to REST • REST is an abbreviation of ”Representational State Transfer” • Layered System • Stateless Client/Server model. No state maintained on the server. • Uniform Interface Blog Notes: embt. co/sprint-rest-json-services A client does not know if it is connected to the end-server or some intermediary. Separation of concern between the client and server implementations.

Brief Introduction – to REST – Over HTTP (CRUD) • HTTP GET = READ

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. Blog Notes: embt. co/sprint-rest-json-services • HTTP POST = CREATE Create a new entry in the collection. • HTTP DELETE = DELETE Delete the entire collection.

Brief Introduction – To JSON • JSON stands for Java. Script Object Notation. •

Brief Introduction – To JSON • JSON stands for Java. Script Object Notation. • Originally derived from the Java. Script scripting language. It is a language independent format, now commonly used in client-server communications. Blog Notes: embt. co/sprint-rest-json-services • 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 ‘[‘. . ’]’

Brief Introduction – To JSON Some example JSON taken from the JSON Wikipedia page:

Brief Introduction – To JSON Some example JSON taken from the JSON Wikipedia page: https: //en. wikipedia. org/wiki/JSON Blog Notes: embt. co/sprint-rest-json-services { "first. Name": "John", "last. Name": "Smith", "is. Alive": true, "age": 25, "address": { "street. Address": "21 2 nd Street", "city": "New York", "state": "NY", "postal. Code": "10021 -3100" }, "phone. Numbers": [ { "type": "home", "number": "212 555 -1234" }, { "type": "office", "number": "646 555 -4567" } ], "children": [], "spouse": null }

Download a free trial! embt. co/trialdownloads Demonstration Blog Notes: embt. co/sprint-rest-json-services

Download a free trial! embt. co/trialdownloads Demonstration Blog Notes: embt. co/sprint-rest-json-services

Learning Resources Download a free trial! embt. co/trialdownloads • This sprint: http: //embt. co/sprint-rest-json-services

Learning Resources Download a free trial! embt. co/trialdownloads • This sprint: http: //embt. co/sprint-rest-json-services • JSON Classes - More on my blog: http: //chapmanworld. com/2015/01/18/json-with-radstudio-delphi-orc-builder/ • REST: https: //en. wikipedia. org/wiki/Representational_state_transfer • JSON: https: //en. wikipedia. org/wiki/JSON Blog Notes: embt. co/sprint-rest-json-services

See the special offers embt. co/try-rad-studio Blog Notes: embt. co/sprint-rest-json-services

See the special offers embt. co/try-rad-studio Blog Notes: embt. co/sprint-rest-json-services

Next Time. . . Download a free trial! embt. co/trialdownloads Using Animations and Effects

Next Time. . . Download a free trial! embt. co/trialdownloads 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 – 6 AM San Francisco / 9 AM New York / 2 PM London / 3 PM Milan – 11 AM San Francisco / 2 PM New York / 7 PM London / 8 PM Milan – 5 PM San Francisco / Wed 9 AM Tokyo / Wed 10 AM Sydney (Schedule based on San Francisco time. Verify your local time are correct: www. Time. And. Date. com) Blog Notes: embt. co/sprint-rest-json-services

The Ultimate Application Development platform for Widows 10, Mac, Mobile and Io. T Craig

The Ultimate Application Development platform for Widows 10, Mac, Mobile and Io. T Craig Chapman Developer Skill Sprint Tips, Tricks and Techniques Q&A Blog Notes: embt. co/sprint-rest-json-services @Craig. Chapm 53280 Software Consultant Embarcadero Technologies craig. chapman@embarcadero. com Thank You