The Soon-to-Be-Hated Object Locator

The Soon-to-Be-Hated Object Locator

http://ift.tt/2q7IVbY

As more frequent readers of my blog might know, amongst my most recent interests were concepts like DCI Architecture, Domain-Driven Design, and the Service Locator pattern. I’ve been doing a lot of conceptual thinking about these topics and an interesting idea sprung in my head – an Object Locator! Caution: if you’re among the haters of Service Locator, you might not like this one.

A Bit of DCI

At the very roots of the DCI Architecture and, to some, Object Orientation lies the idea of a web of interconnected objects. You know, the objects exist somewhere in the system and work together to support end user’s goals. Here lies my first conceptual problem with our current approach to working with objects.

java

via DZone.com Feed https://dzone.com

May 12, 2017 at 05:27AM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s