Práce se zabývá problematikou práce s daty a jejím přenosem s využitím nástrojů REST API a GraphQL. Obě technologie jsou v teoretické části podrobně popsány a vysvětleny, včetně jejich výhod, nevýhod a nedostatků. Praktická část práce zahrnuje samotnou imple-mentaci technologií v praxi a jejich porovnání. Funkcionalitu těchto nástrojů nejlépe de-monstrují vytvořené aplikace, které se opírají o nabyté znalosti a poznatky z teoretické části.
Anotace v angličtině
The work deals with the issue of working with data and its transfer using the REST API and GraphQL tools. Both technologies are in detail described and explained in the theoret-ical part of this thesis, including their advantages, disadvantages and shortcomings. The practical part of the thesis includes the implementation of both technologies in practice and their comparison. The functionality of these technologies is best demonstrated by the creat-ed applications, which are based on the acquired knowledge and insights from the theoreti-cal part.
Klíčová slova
REST API, GraphQL, PHP, HTTP, databáze
Klíčová slova v angličtině
REST API, GraphQL, PHP, HTTP, database
Rozsah průvodní práce
60
Jazyk
CZ
Anotace
Práce se zabývá problematikou práce s daty a jejím přenosem s využitím nástrojů REST API a GraphQL. Obě technologie jsou v teoretické části podrobně popsány a vysvětleny, včetně jejich výhod, nevýhod a nedostatků. Praktická část práce zahrnuje samotnou imple-mentaci technologií v praxi a jejich porovnání. Funkcionalitu těchto nástrojů nejlépe de-monstrují vytvořené aplikace, které se opírají o nabyté znalosti a poznatky z teoretické části.
Anotace v angličtině
The work deals with the issue of working with data and its transfer using the REST API and GraphQL tools. Both technologies are in detail described and explained in the theoret-ical part of this thesis, including their advantages, disadvantages and shortcomings. The practical part of the thesis includes the implementation of both technologies in practice and their comparison. The functionality of these technologies is best demonstrated by the creat-ed applications, which are based on the acquired knowledge and insights from the theoreti-cal part.
Klíčová slova
REST API, GraphQL, PHP, HTTP, databáze
Klíčová slova v angličtině
REST API, GraphQL, PHP, HTTP, database
Zásady pro vypracování
Analyzujte problematiku a vypracujte literární rešerši na dané téma.
Popište technologie REST API a GraphQL.
Navrhněte sérii ukázkových aplikací.
Implementujte navržené aplikace s praktickými ukázkami.
Vyhodnoťte výhody a nevýhody obou prezentovaných nástrojů.
Zásady pro vypracování
Analyzujte problematiku a vypracujte literární rešerši na dané téma.
Popište technologie REST API a GraphQL.
Navrhněte sérii ukázkových aplikací.
Implementujte navržené aplikace s praktickými ukázkami.
Vyhodnoťte výhody a nevýhody obou prezentovaných nástrojů.
Seznam doporučené literatury
PORCELLO, Eve a Alex BANKS. Learning GraphQL: declarative data fletching for modern web apps. Sebastopol,CA: O´Reilly, 2018. ISBN 978-1-492-03071-3.
BRITO, Gleison; VALENTE, Marco Tulio. Rest vs graphql: A controlled experiment. In: 2020 IEEE International Conference on Software Architecture (ICSA). IEEE, 2020. p. 81-91. ISBN 978-1-7281-4659-1.
DOGLIO, Fernando. REST API Development with Node.js: Manage and Understand the Full Capabilities of Successful REST Development. 2nd ed. 2018. Imprint: Apress, 2018. ISBN 978-1-4842-3715-1.
MASSE, Mark. REST API Design Rulebook: Designing Consistent RESTful Web Service Interfaces. " O'Reilly Media, Inc.", 2011. ISBN 978-1-449-31050-9.
BIEHL, Matthias. GraphQL API Design: API-University Series #5. API-University Press, 2019. ISBN 1230003164303.
BIEHL, Matthias. API Architecture: The Big Picture for Building APIs: API-University Series #2. CreateSpace Independent Publishing Platform, 2015. ISBN 150867664X.
WIERUCH, Robin. The Road to GraphQL: Your journey to master GraphQL in JavaScript. Independently published, 2018. ISBN 1730853935.
BUNA, Samer. GraphQL in Action. Manning Publications, 2021. ISBN 1730853935.
PORCELLO, Eve a Alex BANKS. Learning GraphQL: declarative data fletching for modern web apps. Sebastopol,CA: O´Reilly, 2018. ISBN 978-1-492-03071-3.
BRITO, Gleison; VALENTE, Marco Tulio. Rest vs graphql: A controlled experiment. In: 2020 IEEE International Conference on Software Architecture (ICSA). IEEE, 2020. p. 81-91. ISBN 978-1-7281-4659-1.
DOGLIO, Fernando. REST API Development with Node.js: Manage and Understand the Full Capabilities of Successful REST Development. 2nd ed. 2018. Imprint: Apress, 2018. ISBN 978-1-4842-3715-1.
MASSE, Mark. REST API Design Rulebook: Designing Consistent RESTful Web Service Interfaces. " O'Reilly Media, Inc.", 2011. ISBN 978-1-449-31050-9.
BIEHL, Matthias. GraphQL API Design: API-University Series #5. API-University Press, 2019. ISBN 1230003164303.
BIEHL, Matthias. API Architecture: The Big Picture for Building APIs: API-University Series #2. CreateSpace Independent Publishing Platform, 2015. ISBN 150867664X.
WIERUCH, Robin. The Road to GraphQL: Your journey to master GraphQL in JavaScript. Independently published, 2018. ISBN 1730853935.
BUNA, Samer. GraphQL in Action. Manning Publications, 2021. ISBN 1730853935.