RANCANG BANGUN APPLICATION PROGRAMMING INTERFACE MENGGUNAKAN GRAPHQL PADA MULTIPLATFORM APPLICATION

Authors

  • Gede Humaswara Prathama
  • I Gusti Ngurah Darma Paramartha

DOI:

https://doi.org/10.36002/jutik.v8i1.1586

Abstract

ABSTRACT
During the last decade the use of APIs has become a mandatory service for web-based application
development, in addition to using APIs for communication between applications and database servers,
APIs are also used as communication between applications to share data with each other in the B2B
(Business to Business) concept. In the current API development, RESTful and SOAP architectures still
dominate where RESTful produces JSON data format and SOAP produces XML data format. In the
current development of applications where the use of APIs is used by various platforms such as web,
mobile, desktop, smartwatch, IoT devices and other platforms in the same application or data so that
API developers who utilize RESTful or SOAP architecture create many versions and API nodes to serve
API requests from each of these platforms. Not a few developments with limited resources that do not
create versions or API nodes for each platform at the expense of the performance of the API response
both from latency, bandwidth and data provided. This research will apply GraphQL architecture in
developing APIs that are able to serve applications from various platforms, GraphQL can overcome
problems related to available data and application requirements, minimal use of latency and bandwidth
according to the needs of each platform as well as documentation and version problems of the API by
utilizing the features provided on the GraphQL architecture.
Keywords: GraphQL, Multi-platform, API, RESTful, latency, bandwidth.
ABSTRAK
Selama dekade terakhir penggunaan API menjadi layanan yang wajib disediakan dalam pengembangan
aplikasi berbasis web, selain pemanfaatan API untuk komunikasi antara aplikasi dengan database server,
API juga dimanfaatkan sebagai komunikasi antar aplikasi untuk saling berbagi data dalam konsep B2B
(Business to Business). Dalam pengembangan API saat ini arsitektur RESTful dan SOAP masih
mendominasi dimana RESTful menghasilkan format data JSON dan SOAP menghasilkan format data
berbentuk XML. Dalam perkembangan aplikasi saat ini dimana penggunaan API digunakan berbagai
macam platform seperti web, mobile, desktop, smartwatch, IoT devices dan platform lain dalam satu
aplikasi atau data yang sama sehingga pengembang API yang memanfaatkan arsitektur RESTful atau
SOAP membuat banyak versi dan node API untuk melayani permintaan API dari masing-masing
platform tersebut. Tidak sedikit pengembangan dengan keterbatasan resource yang tidak
mengkhususkan versi atau node API untuk masing-masing platform dengan mengorbankan performa
dari response API tersebut baik dari latency, bandwidth maupun data yang disediakan. Penelitian ini
akan menerapkan arsitektur GraphQL dalam mengembangkan API yang mampu melayani aplikasi dari
berbagai platform, dimana GraphQL dapat mengatasi masalah terkait data yang tersedia dan dibutuhkan
aplikasi, penggunaan latency dan bandwidth yang minimal sesuai kebutuhan masing-masing platform
serta permasalahan dokumentasi dan versi dari API dengan memanfaatkan fitur-fitur yang disediakan
pada arsitektur GraphQL.
Kata Kunci: GraphQL, Multi-platform, API, RESTful, latency, bandwidth.

Downloads

Published

2022-01-13

How to Cite

Prathama, G. H., & Paramartha, I. G. N. D. (2022). RANCANG BANGUN APPLICATION PROGRAMMING INTERFACE MENGGUNAKAN GRAPHQL PADA MULTIPLATFORM APPLICATION. Jurnal Teknologi Informasi Dan Komputer, 8(1). https://doi.org/10.36002/jutik.v8i1.1586