Unanswered Questions
103 questions with no upvoted or accepted answers
7
votes
1
answer
7k
views
Assembler vs Entity Translator and Entities vs DTO
I was hoping that someone could explain the exact difference between an Assembler and Entity Translator.
Martin Fowler describes the Assembler as a sort of Mapper(?) which converts DTOs into Domain ...
4
votes
0
answers
269
views
How to authenticate third-party callbacks that don't support authentication
I'm working on a project that integrates with a third-party service via API, and the third-party uses callbacks to update us on the status of the operations being performed. These callbacks can be hit ...
4
votes
0
answers
142
views
Sharing identical events, with differing scopes, between client and server libraries, in a micro-service architecture
I have a shared user repository (id, name, e-mail, password, etc.) exposed as a REST service - and multiple independent websites accessing this REST service (from the back-end) as a means of sharing a ...
4
votes
1
answer
2k
views
Best way to build a JSON API coupled with HTML views in a Rails project
I've got a Rails eCommerce project communicating with an iOS app. The iOS app receives JSON data from the Rails back-end, but there's also HTML rendering when a user comes to the project from his ...
3
votes
0
answers
87
views
API Cilent - global request method or one method per request?
I am designing a 3rd-party library for developers to retrieve data from various endpoints of another system which itself has multiple APIs. Each of those APIs may contain the same type of request but ...
3
votes
0
answers
297
views
When designing an activity-based authorization system, how should additional conditional checks be handled?
When designing an activity-based authorization system, how should additional conditional checks be handled?
For example, I have the following authority:
VIEW_COMPANY_TRANSACTIONS
which allows the ...
3
votes
0
answers
1k
views
How to model an Admin View on a ReST API
We have a more or less "typical" ReST API that allows clients to interact with a bunch of resources, let's say Maps and Devices. An authenticated client can get a list of maps, it can download a map, ...
3
votes
0
answers
2k
views
Separation of web server and stateless REST API
Currently, I have a single Node server that provides both (a) stateless API routes returning JSON, and (b) session-based web routes. My API routes and web routes have started sharing a lot of code, ...
3
votes
0
answers
348
views
Manage the persistence of entities on iOS in several places: CoreData on the device, iCloud and on a REST API
For the needs of a project, I would persist the datas contained in Core Data in several places depending on the state of the user.
If the user is logged to my API -> Persist the datas on my API.
If ...
3
votes
0
answers
3k
views
Google Maps - Geofence a route
I'm looking at implementing a PHP based application, where by you have a certain route for example London to Edinburgh. Along this route, I want to calculate say a 10mi Radius or Polygon around the ...
2
votes
2
answers
271
views
Auto Transaction Failsafe's, Third Party API's, Coldfusion Schedule Files
I have an automated invoicing web app and I'm trying to build in some failsafes and a structure that will, under no circumstance, allow an invoice to be double charged.
All things working perfectly, ...
2
votes
0
answers
581
views
Managing environments in a FastAPI app using Docker
Bit of context: I'm an Economics major that somehow ended up developing an API that's becoming a whole software project, so please bear with me.
So, after I got asked to add logs I noticed I should ...
2
votes
0
answers
244
views
What is the benefit of performing authn/authz at the API gateway instead of at the service?
I want to know is if we should perform authentication at the API gateway, at the individual service, or both.
Let's frame this question and descussion in the context of new development. Specifically, ...
2
votes
0
answers
58
views
Communicate with multiclient applications
I have a 3rd party application. Basically I need to run one instance of that application for a one user. For 10 users I have to run 10 instances. From my API
I want to communicate with a specific ...
2
votes
0
answers
342
views
Reading (GET) Facebook Ads From Ad Library and Reading (GET) Personal Ad Account Billing Data in my Android Application
I'm trying to create an android application for personal use to do the following:
Get ads from the Facebook ad library (commercial ones) not the ones with politics topics etc. and then insert them ...