Relative Content

Tag Archive for client-server

have we come full circle with microservices, back to very old school approaches?

In terms of software architecture and design, how do microservices “stack up” (pun intended) against middleware? I’m coming from Java, and it seems like as you move away from straight REST as an API, and abstract away different layers and connection parameters, at least in Java, you’ve almost come full circle back to some very old school ideas. We’ve come back to virtualization…wheras the JVM is already virtual.

Design consideration on JSON schema for an API

I have an API endpoint that retrieve data from 3 SQL tables on the server-side. At the moment, I do a SELECT with joins, consolidate/reorganize the selected data based on a JSON schema, and then send the JSON to client. The point here is that, almost none of the data values is changed, only their structure is transformed from the SQL schema to the JSON schema.

Should client-side model contain foreign keys to extract data already on client

I’m currently building the front-end of an application using AngularJS. I don’t have a whole lot of knowledge about the back-end, but some of the data I’m being served by the back-end developer is becoming difficult to work with, requiring a lot of rejigging on the front-end, and I’m starting to suspect that we could be handling it better. I just wanted to get some feedback about best practices for how data should be served, particularly whether data should be extracted with id references to other data already served.