Spline Reticulator at Automattic
As a software developer at Automattic, Dennis spends his time chasing problematic code, writing about design, and pursuing simplicity. He travels around as a nomad exploring cultures and people and places. When not programming he is probably cooking, hunting dark skies, or thinking about code.
Help! There’s too much spaghetti in my APIs
Another topic on REST? Yes! In fact, URLs and JSON is only the beginning of what we can learn about building APIs for use in our web applications.
In this talk we’re specifically going to look at how a combination of REST principles and modeling our processes and dialogs as state machines can dramatically simplify our client applications and API exchanges.
Why would you want to hear more about this subject? As we all start working more in the browser and communicate back to WordPress via API calls it’s easy for the complexity to start stacking up and overwhelming us! In fact, API design isn’t necessarily intuitive and the web is full of noisy advice.
We’ll use an example Gutenberg plugin to walk through a very common scenario dealing with interactive processes and we’ll see how a few design principles can save us the headaches of race conditions, code bloat, and changing requirements. We’ll examine how “state machines” can guide us and simplify complex business logic and we’ll explore how “HATEOAS” and REST pair with these machines to simplify complex application and UI logic.
Whether you are just starting to write your own APIs and API clients or you have been churning them out for years I invite you to join this design session; we’ll stay away from nitty-gritty code details and instead focus on general principles we can apply in any coding environment.
It’s my hope that after participating in this session you will be able to confidently work with: indicating loading states; testing and debugging forms, processes, and uploads; untangle complicated business rules dealing with things like authentication, limiting, validation, and triggering related activity; and end up with well documented means of doing so.
Thursday, February 22nd
10:00 - 10:30
Keen to listen to Dennis' session?
Grab your ticket and join us in Salt Lake City. Not only will you get to hear Dennis' session but we’ve lined up 20+ other amazing speakers that are ready and willing to share their WordPress knowledge and passion. Don’t miss out!
Director of Engineering, GetHealthy
Founder of SuperFriendly
Community Engineer at Pantheon
Agency and Community Engineer at Pantheon
Co-founder Sucuri Security
Founder / CEO at Lockr.io
Product Designer at Automattic
WordPress Plugin Developer
Assistant Creative Director, Interactive Design, Boston University
WordPress Core Committer
Software Engineer, Delicious Brains
Software Engineer, Pagely
Direct of IT at Actionable
Senior WordPress Developer at Human Made
Director of Engineering, Mindgrub
Software Engineer, University of British Columbia
VP of Products at LiquidWeb
Software Engineer, Human Made
Independent PHP Developer