Home » DataModels

Tag Archives: DataModels

The DTO (Data Transfer Object)

Bipartite Graph

1. Introduction to DTO Having a big application that has multiple layers you will need to “transport” that data between different layers. To transport the data you have to encapsulate it into objects (DTO), that you can easily send it. This type of object doesn’t have any kind of logic, just some accessors,  mutators, and parsers for serialization or deserialization. ...

Read More »

MongoDB Data Models Example

1. Introduction This is an in-depth article on how to create MongoDB Data models. Mongo Database is a no sql database. It has capabilities such as query language to retrieve from the database. It also provides operational and administrative procedures. A document in Mongo Database is a data structure which has field and value pairs. These documents are like JSON ...

Read More »