Home  /  Questions  /  Question



60   95.3
Nov 04, 2010


Implementation of third party application integration

Hi guys,

Firstly I would like to say that Design Patterns Framework is one great tool!!! - It has taken me a little while to adapt to the principles and methodology - slight shift in design paradigm from old to new.

I have a general question - I have started working on an application and have been strictly following the design guidelines. Time has come for me to integrate my application with some external services - to be more precise Freshbooks and their API (online invoicing/timetracking/billing software).

I was wondering, regardless of the fact that I am integrating with Freshbooks - where would be the BEST place to place these types of module(s). I thought it would be more benificial for me to ask here, before I lose time on attempting to do it myself.

Would it be under the "Framework" folder, or would it be in one of the Layers - keeping in mind that initial processing would need to be possibly initiated from the Presentation Layer (durr).

Thank you so much and keep up the good work.

Regards,



370   99.9
Mar 03, 2011
Hi,

depends how the 3rd party API is designed. If you are not comfortable with it, you can wrap the API in your own objects. Anyway I would place them in separate module / assembly.

It is also good aproach to 'learn' the API by doing tests which use the API - you will have it documented by tests and once the API changes, tests will show it.

Hope this helps,
Robert