Peter Gfader's brain noise
Is the database your center of the architecture? via @unclebobmartin

Do you need a relational SQL store? 

Great story from Uncle Bob about his experience with databases and architecture.

NO DB
http://blog.8thlight.com/uncle-bob/2012/05/15/NODB.html

Interesting points:

We certainly didn’t need a process with a multi-megabyte footprint sitting in memory and burning cycles. (Remember, this was the ‘80s)

Relational databases are huge beasts. Consider other options. Flat files work as well!

The center of your application is not the database. Nor is it one or more of the frameworks you may be using. The center of your application are the use cases of your application.

Ask yourself: Why are we building this? What problem do we solve for our customer?

Here’s what an application should look like. The use cases should be the highest level and most visible architectural entities. The use cases are at the center. Always! Databases and frameworks are details! You don’t have to decide upon them up front. You can push them off until later, once you’ve got all the use cases and business rules figured out, written, and tested.

The database is just a detail that you don’t need to figure out right away.

Blog comments powered by Disqus