Successfully reported this slideshow.
Your SlideShare is downloading. ×

[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Thanh Linh, Senior Software Engineer at CodeComplete Vietnam

[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Thanh Linh, Senior Software Engineer at CodeComplete Vietnam

This is a demonstration of how to layering GraphQL on top of existing infrastructure without rewriting any data layer. In this demonstration, you and me will build a simple GraphQL endpoint then try to layer it on top of several types of data access layer like Mysql DAL, ORM, Rest API, etc.

This is a demonstration of how to layering GraphQL on top of existing infrastructure without rewriting any data layer. In this demonstration, you and me will build a simple GraphQL endpoint then try to layer it on top of several types of data access layer like Mysql DAL, ORM, Rest API, etc.

More Related Content

More from DevDay.org

Related Books

Free with a 30 day trial from Scribd

See all

[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Thanh Linh, Senior Software Engineer at CodeComplete Vietnam

  1. 1. LAYERING GRAPHQL ON TOP OF EXISTING INFRASTRUCTURE Linh Phan Senior Software Engineer CodeComplete Vietnam
  2. 2. Today ● What is GraphQL? ● Layering GraphQL on top of existing infrastructure ● Demonstration
  3. 3. What is GraphQL?
  4. 4. Designed to build Open sourced in 2015 Tool developed by
  5. 5. 01 Amet, consectetur adipiscing elit. Curabitur eleifend a diam quis suscipit. Class aptent taciti sociosqu ad litora torquent per conubia nostra. 03 Consectetur adipiscing elit. Curabitur eleifend lorem a diam quis suscipit. Class aptent taciti sociosqu ad litora torquent ipsum per conubia nostra.
  6. 6. Query Language a query language for your Database a query language for your API
  7. 7. Describe your data Ask for what you want Get predictable results TABLE users ( id int(10), name varchar(255) ) SELECT id, name FROM users WHERE id=1; id name 1 “Iron Man” type User { id: String name: String } query { user(id: "1") { id name } } "user": { "id": "1", "name": "Iron Man" } Query Language
  8. 8. Layering GraphQL on top of Existing Infrastructure
  9. 9. GraphQL MySQL GraphQL ORM GraphQL Rest API
  10. 10. Demonstration
  11. 11. References ● Demo source code ● Inspiring talk: Zero to GraphQL in 30 Minutes – Steven Luscher
  12. 12. Thank You!!!

×