REST APIs as Data Backends

Some months ago, the Socorro team agreed that our current mix of REST API middleware calls and direct SQL calls from the web interface simply wasn’t meeting our needs. We were faced with an increasing number of data sources, including the coming addition of Elastic Search to the data storage system, and maintenance was becoming a problem. Thus, the decision was made to move our data layer to our REST API exclusively, removing all direct access to data storage from the web interface.

This is the second such project I’ve been on where an external API has been used for the retrieval of all data in an application. It’s a novel concept, but one that takes some getting used to to be sure.

(more…)

Monday, March 19th, 2012 @ 7:00 am | Comment (7) | Categories: Best Practices, Software Development, Web Architecture
Tags: , , , , ,


Copyright © 2022 by Brandon Savage. All rights reserved.