Real time middleware system: Direct DB access vs REST API access
I’m developing a complex environment which involves a web application, a mobile app and a real time middleware system which accesses the DB for on-site tag readings. Currently, the web application exposes some services over a REST API, which are accessed by the mobile app to let it perform its business work (in this case, time delay is not critical). However, for my middleware system, I access the DB directly (through a ORM), in order to provide faster responses.
Real time middleware system: Direct DB access vs REST API access
I’m developing a complex environment which involves a web application, a mobile app and a real time middleware system which accesses the DB for on-site tag readings. Currently, the web application exposes some services over a REST API, which are accessed by the mobile app to let it perform its business work (in this case, time delay is not critical). However, for my middleware system, I access the DB directly (through a ORM), in order to provide faster responses.
Migrating single-layer ORM based app to multi-layer API
I’m trying to understand what is the best way of migrating a website that works in a single layer and gets all the data via an ORM, to one that uses multiple layers, using an API backend to get the information needed to display a page.
How to associate both a collection and one item of this collection to an entity
I’m working on a project in which I have an entity, we may call Users
and another entity Address
.
Heterogeneous Associations – Data Modeling When an Object that Must Relate to One of Many Classes
Suppose you have 3 classes: ClassA
, ClassB
and ClassC
. Now suppose you have a class Message
. You want a one-to-many
relationship between each one of those three classes and the Message.
Heterogeneous Associations – Data Modeling When an Object that Must Relate to One of Many Classes
Suppose you have 3 classes: ClassA
, ClassB
and ClassC
. Now suppose you have a class Message
. You want a one-to-many
relationship between each one of those three classes and the Message.
Heterogeneous Associations – Data Modeling When an Object that Must Relate to One of Many Classes
Suppose you have 3 classes: ClassA
, ClassB
and ClassC
. Now suppose you have a class Message
. You want a one-to-many
relationship between each one of those three classes and the Message.
Managing allocation calendars for an employee set [duplicate]
This question already has answers here: DB modeling for staffing demand and supply (1 answer) Algorithm for mapping users to a schedule based on time availability (2 answers) Closed 9 years ago. IN view of creating a MIS (Management Information System) one architectural/design issue that’s confronting us is managing allocation for set of employees. Scenario: […]
Domain/Model objects attributes good practices
Simple question: Should model/domain objects only include attributes that are meant to be persisted in a database or serialized to any other specific format?
Inverse property naming (ORM scenario) [closed]
Closed 9 years ago.