System Integration tools - Practical Approach - PowerPoint PPT Presentation

About This Presentation
Title:

System Integration tools - Practical Approach

Description:

Workshop – PowerPoint PPT presentation

Number of Views:358
Slides: 16
Provided by: inam12
Tags:

less

Transcript and Presenter's Notes

Title: System Integration tools - Practical Approach


1
Application programming interface(System
integration Tool)
  • Muhammad usman saeed bsit 8th morning
  • University of okara

2
mockup
  • In manufacturing and design, a mockup, or
    mock-up, is a scale or full-size model of a
    design or device, used for teaching,
    demonstration, design evaluation, promotion, and
    other purposes. A mockup is a prototype if it
    provides at least part of the functionality of a
    system and enables testing of a design.

3
Mockup tools
  • Adobe XD
  • Mockplus
  • Moqups
  • Fluid UI
  • Marvel App

4
What is api?
  • a set of functions and procedures allowing the
    creation of applications that access the features
    or data of an operating system, application, or
    other service.
  • a software intermediary that allows two
    applications to talk to each other. Each time you
    use an app like Facebook, send an instant
    message, or check the weather on your phone,
    youre using an API.
  • E.g. The API is accessed from the URL
    http//www.domain.com/api/index.php

5
Api formats
  • 3 return types are currently supported
  • XML (this is the default)
  • JSON
  • Serialized PHP
  • You can specify the return type you wish to
    receive back from the API by adding the "output"
    query string parameter to your API URL. If you
    want to receive XML then you do not need to
    specify the output as that is the default.
    Example
  • /api/index.php?methodrequest.getoutputjson
  • The "output" parameter will accept xml, json, or
    php as valid values.

6
Xml format api
7
json format api
8
Serialized php format api
9
Rest api
  • REST means
  • REpresentational
  • State
  • Transfer

10
Rest api (cont.)
  • Every resource should support the HTTP common
    operations.
  • Resources are identified by global IDs (which are
    typically URIs or URLs).
  • REST allows that resources have different
    representations, e.g., text, XML,
  • JSON etc.
  • Stateless in nature. Excellent for distributed
    system.
  • Stateless components can be freely redeployed if
    something fails, and they
  • can scale to accommodate load changes.
  • This is because any request can be directed to
    any instance of a component.

11
http methods
  • The PUT, GET, POST and DELETE methods are
    typically used in REST based architectures. The
    following table gives an explanation of these
    operations

HTTP Methods CRUD Operations Descriptions
POST INSERT Adds to an existing resource
PUT UPDATE Overrides existing resource
GET SELECT Fetches a resource. The resource is never changed via a GET request
DELETE DELETE Deletes a resource
12
architecture
13
Json API Example
14
(No Transcript)
15
How to show Json data in app
  • See Practical Work now
Write a Comment
User Comments (0)
About PowerShow.com