Aracılığıyla paylaş


Are the DAO, TDG, RDG and AR design patterns still relevant?

Nuestro buen amigo Javier Caceres nos comparte su artículo:

Are the DAO, TDG, RDG and AR design patterns still relevant?

Think for a while that nowadays we have popular ORM’s (like the Entity Framework), popular managed query languages (like Linq) and data base services (like DynamoDb) that abstract you from many of the underlying data access design patterns.

clip_image001The general answer is no, they are not relevant nowadays because many of those are outdated and solved problems that don’t exist anymore (see their strengths and weakness). A more specific answers is: depends on how you are going to use them.

If you are doing “rapid applications” go ahead and use the Active Record -AR- design pattern, by the way, you could also use Visual Basic 6 and be part of the silent majority. If you are not “rapid” but instead “agile” use the Entity Framework (and thus design patterns like DAO, Data Mapper and QueryObject). By other hand, if you are designing API for accessing storage media (imagine you are inventing USB based data storage) move forward with the TDG/RDG.

Ver más aquí.
Saludos.

Fernando García Loera (Community Program Manager – Latin America Region)

Icono Ferglo 40x116twitter 40x40RSS 40x40facebook 40x116linkedin40x40xbox 40x40

Que es un MVP? / Tips para ser MVP