×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Architecture Pardigm Shift

Architecture Pardigm Shift

Architecture Pardigm Shift

(OP)
jeffrey palermo has started a great series on what he dubs the Onion Architecture
part 1
part 2
I love that someone was able to put this into words which can be digestable to the masses.
I found the most meanful nugget is the idea that a database is an infrastructure detail; not part of the core. This is also something I am trying to unlearn with each project. it's been a year and still difficult to avoid.

Jason Meckley
Programmer
Specialty Bakers, Inc.

RE: Architecture Pardigm Shift

Quote:

I found the most meanful nugget is the idea that a database is an infrastructure detail; not part of the core. This is also something I am trying to unlearn with each project. it's been a year and still difficult to avoid.

Stop calling it a database. Call it "output" or "storage". Now, you would give it a completely different interface, wouldn't you?

My "answer" to storage came from a hunch that dependency injection would help to reduce coupling to a huge unclear framework (see http://www.xpnl.org/Wiki/HowToRideADinosaur.html). After working it out, I had a nice little framework that handled "storage" instead of a database.

+++ Despite being wrong in every important aspect, that is a very good analogy +++
   Hex (in Darwin's Watch)

RE: Architecture Pardigm Shift

(OP)
how I access the data isn't the problem. I have repositories and ORMs for that. My bad habit is modeling the domain to the database schema rather than modeling the domain to the business requirments and letting the orm handle db mapping.

Jason Meckley
Programmer
Specialty Bakers, Inc.

RE: Architecture Pardigm Shift

To see working (probably - haven't compiled it yet) code, you can get a copy of the CodeCamp project from google:

CODE

svn checkout http://codecampserver.googlecode.com/svn/trunk/ codecampserver-read-only
You'll need Subversion installed.

Chip H.
 

____________________________________________________________________
www.chipholland.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close