user
user

Archfirst

Archfirst is a place for software developers to learn technology best practices through real-world examples.


Navigation
CategoryBest Practices
Featured

Best Practices

JoinJS – An Alternative to Complex ORMs

Posted on August 10th, 2015.

JoinJS is a JavaScript library to map complex database joins to nested objects. It’s a simpler alternative to a full-blown Object-Relation Mapper (ORM), and gives you direct control over your database interactions. In this article, we will explore the power of JoinJS using a simple hands-on example. Motivation: Direct, no-nonsense control over your database Traditional […]

Featured

Best Practices

MyBatis vs. Other ORMs

Posted on July 1st, 2015.

Object-Relational Mapping (ORM) frameworks allow us to access relational databases from object-oriented languages. Over the years, I have used several ORMs – Hibernate/JPA for Java, Bookshelf.js and Sequelize for JavaScript, just to name a few. I was never completely satisfied with these solutions because in one way or another, they did not match my way […]

Featured

Best Practices

Domain-Driven Design

Posted on February 22nd, 2015.

Domain-Driven Design, or DDD, is an approach for building high-quality software that meets core business objectives. It emphasizes collaboration among domain experts, developers, UX designers and other disciplines to create a domain model that reflects the needs of the business. This involves agreeing on common terminology (a.k.a. the Ubiquitous Language), identifying business entities, their behavior […]