Dofactory.com
Dofactory.com
 Back to list
Views:   9.3K
Replies:  1
Archived

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,
Sasa Savic, Nov 04, 2010
Reply 1
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
Robert Varga, Mar 03, 2011
If we don't need the Hosting Layer (WCF) should we still have the whole message/request pattern (data Transfer Objects)? My understanding that message/request was for web services. I know in the documentation they show how to bypass the Hosting layer but it stil has the whole data transfer object, message/request stuff.
May 22, 2012
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.