Architecting eCommerce APIs - Gluecon 13

446 views

Published on

Gluecon 2013 talk on eCommerce API architecture

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
446
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Architecting eCommerce APIs - Gluecon 13

  1. 1. Architecting e-Commerce APIs Saranyan Vigraham @saranyan, Tech Guy, Bigcommerce)
  2. 2. What is BAD software design?
  3. 3. Rigid - Hard to Change Too many parts get affected by a change
  4. 4. Fragile - Unexpected things Something else breaks
  5. 5. No re-usability It is part of the “core code”
  6. 6. Mobile, Blah Blah!
  7. 7. Importance of Platform
  8. 8. Where is your API?
  9. 9. We are forced to rethink our architectures Website and Mobile Templates Database MVC Mobile Templates MVC Templates Database Static Assets Mobi MVC Mobile Templates Static Assets Templates Database MVC Static Assets
  10. 10. Website Templates MVC Static Assets Mobile Templates MVC Static Assets Native App Native App API Database
  11. 11. The Big Ball of Mud Brian Foote and Joseph Yoder, laputan.org/mud
  12. 12. The Big Ball of Mud
  13. 13. Starting with API first
  14. 14. Everything is a service! UI UI API Layer UI
  15. 15. Everything is a service! API Layer Payments Orders ... Authentication
  16. 16. Everything is a service! API Layer Payments Orders Service Container Single Code Base ... Authentication
  17. 17. Everything is a service! API Layer Payments Orders Service Container X Single Code Base ... Authentication
  18. 18. Everything is a service! API Layer Single Code Base Payments Orders Service Container ... Authentication
  19. 19. Liskov Substitution Client Service 1 Service 2 Service 3
  20. 20. Liskov Substitution Client Service 1 Service 2 Service 3
  21. 21. Liskov Substitution API Layer Single Code Base Payments Shipping ... Authentication Service Container New Authentication System Shipping Service 2.0 New Service Container
  22. 22. Interface Segregation Single Code Base API Layer Payments Orders Service Container ... Authentication
  23. 23. Interface Segregation Single Code Base UI UI API Layer Payments Orders Service Container ... Authentication
  24. 24. Interface Segregation API Layer Payments Orders Service Container Single Code Base ... Authentication
  25. 25. Interface Segregation Single Code Base UI UI API Layer Payments Orders Service Container ... Authentication
  26. 26. Re-cap • Everything is a service • Single codebase - Creation of sandboxes, provisioning, etc • Liskov substitution • Interface Segregation
  27. 27. ? @saranyan https://developer.bigcommerce.com

×