[mapguide-internals] ServiceArchitecture and design rules??
Trevor Wekel
trevor_wekel at otxsystems.com
Sat Mar 20 06:58:58 EDT 2010
Hi UV,
Did you want to contact me offline? I can help you wade though it all and provide suggestions on the implementation. I am on Skype and have reasonable long distance rates to various countries (Canada, US, Germany, Australia, Slovenia, and others). I think this topic would be a good candidate for a verbal conversation. It might take too long over email.
The same offer (live chat - wow!) applies for any developers out there working on projects with the intent to submit them to the vault. One of my personal goals for this year is help with community involvement, even though it will likely cost me some potential consulting revenue :(
Just ping me by email to schedule something.
Thanks,
Trevor
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of UV
Sent: March 19, 2010 8:15 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] ServiceArchitecture and design rules??
Hi,
i just wondered if someone can provide a bit deeper insight into the
service architecture.
I am trying to distribute some functionality between the service as
indicated by visibility of code.
(as we dont want/can simply include everything as needed - the big C++
linking problem)
e.g. I want to add a internal API method to the MgServerRenderingService.
Trying even to access a static member directly fails due to DLL
import/export settings.
I suppose this is due to design as it looks there have been some fancy
plans regarding service distribution.
Or is there a trick with the preprocessor how to include other services
to get the DLL access done correctly?
or is the only doable solution to propagate and expose any internal
interservice API via the MgRenderingService so I can access it via the
service manager?
Ptr<MgRenderingService> svcRendering =
dynamic_cast<MgRenderingService*>(
serviceMan->RequestService(MgServiceType::RenderingService));
This feels like a costly overkill for addressing server internal
functionality which should be local....
and what code is needed in the proxy version for an internal APi call.....
thanks for some clarification
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
More information about the mapguide-internals
mailing list