Conscious Decoupling

gwyneth-paltrow-chris-martin-divorce-fight-son-moses

I’ve been working hard over the last week or so, preparing various important classes for migration into the main Gee-Oh! library, having to undo some very tight coupling. The purpose of this is to get as much code re-use as possible when putting the maps into MakingTracksGPS and, ultimately, Gee-Oh! Mobile.

To that end, I have written many, many interfaces and implemented many callbacks, as well as extracted any global static variables (that cannot be avoided for now) into a new GlobalValues class that lives in the library.

Last night I finished the decoupling process and managed to move key classes across, including core grid components and the thread manager class. All rendering and I/O code now resides in the app/platform specific project(s), and the core data/functionality is in the library.

Job done.

 

TRP

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