Relative Content

Tag Archive for database-design

A multi tenant data architecture

We are at a planning & redesign stage of our loyalty card application. As it is understood it will be a multi-tenant application. And I need to take your thoughts. Here are the some key points we should take in to account to redesign logical and physical data structure:

Ledger or log design for a point-based system?

Right now creating a new service that will integrate into our company’s existing platform. The service will be responsible for tracking “points” that a user can generate over time through certain activities.

Why is the usage of string keys generally considered to be a bad idea?

This has been bugging me for a while. Most of the time, when it comes to storing data in structures such as hashtables, programmers, books and articles insist that indexing elements in said structures by String values is considered to be bad practice.
Yet, so far, I have not found a single such source to also explain WHY it is considered to be bad practice.
Does it depend on the programming language? On the underlying framework? On the implementation?

Using a database for each module in a system [duplicate]

I was trying to standardize and modularize some functions (Email
Management Module, CMS Module & etc) by implementing a 3-tier
architecture concept where each module would have its own independent
module database. So that in the future all we’d need to do is just
code a presentation layer, reuse the BLL layer, DAL Layer and
database.

What is a good design for a container, assignment and items

————- 1 * ————– * 1 ——– | Container |——–| Assignment |———–| User | ————- ————– ——– ^ ^ | | ———- ————- | | | | ———- ———- ———- ————— | Flight | | Dinner | | Booking| | Reservation | ———- ———- ———- ————— This problem is one that I’ve stumbled upon in […]