<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=921405510-26062008><FONT face=Verdana
color=#0000ff size=2>Yap, that's it. I was thinking of storing my
binaries directly on MG server - as in WebServerExtensions, just
without that Web part :-) That would speed the thing up as much as
possible, getting to the repository as close as it gets. Linking to (copied) MG
binaries is not a problem, did it before. Then I should go atfer
some Silverlight-enabled visualizations of underlying vector data. We'll see
what comes out... :-)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=921405510-26062008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=921405510-26062008><FONT face=Verdana
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=921405510-26062008><FONT face=Verdana
color=#0000ff size=2>Maksim Sestic</FONT> </SPAN><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Kenneth
Skovhede, GEOGRAF A/S<BR><B>Sent:</B> Thursday, June 26, 2008
12:50<BR><B>To:</B> MapGuide Users Mail List<BR><B>Subject:</B> Re:
[mapguide-users] Silverlight/Moonlight Viewer<BR></FONT><BR></DIV>
<DIV></DIV>Yes, exactly. But it does require the "serverconfig.ini" file, and
the correct version of the MgApi binaries.<BR><BR>You can use the
IServerConnection interface, and then change the connection depending on your
access needs:<BR><BR><TT>ServerConnectionI con;<BR>if (servername ==
"localhost") //Perhaps check for LAN?<BR> con = new
LocalNativeConnection(...);<BR>else<BR> con = new
HttpServerConnection(...);<BR><BR>LayerDefinition layer =
con.GetLayerDefinition(...);<BR></TT><PRE class=moz-signature cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</PRE><BR><BR>Maksim Sestic skrev:
<BLOCKQUOTE cite=mid:000601c8d777$825381d0$0601a8c0@max2 type="cite">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=125491710-26062008><FONT face=Verdana
color=#0000ff size=2>Hi Kenneth,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=125491710-26062008></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=125491710-26062008><FONT face=Verdana
color=#0000ff size=2>Thanks for the clarification, I didn't get the concept of
Maesto API LocalNativeConnection in first place. The assumption is - if I
develop a managed server-side component relying on Meastro API
LocalNativeConnection, then it would use the headerless loopback connection to
MG repository (aside from managed object (de)serialization)?
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=125491710-26062008></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=125491710-26062008><FONT face=Verdana
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=125491710-26062008><FONT face=Verdana
color=#0000ff size=2>Maksim Sestic</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> <A class=moz-txt-link-abbreviated
href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</A>
[<A class=moz-txt-link-freetext
href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</A>]
<B>On Behalf Of </B>Kenneth Skovhede, GEOGRAF A/S<BR><B>Sent:</B> Thursday,
June 26, 2008 12:07<BR><B>To:</B> MapGuide Users Mail List<BR><B>Subject:</B>
Re: [mapguide-users] Silverlight/Moonlight Viewer<BR></FONT><BR></DIV>There
are. If you create a MgResourceService object, you are talking to the
repository.<BR>And MaestroAPI uses this (with a LocalNativeConnection) to talk
to the MapGuide server.<BR><BR>I have not followed it all the way, but I think
that the MgResourceService is about as close <BR>as it gets, to the repository
content. <BR><BR>Alternatively, you can use DBXml and read the database
directly, but that is a recipie for trouble.<BR><BR><PRE class=moz-signature cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</PRE><BR><BR>Maksim Sestic skrev:
<BLOCKQUOTE cite=mid:000b01c8d770$5cb98430$0601a8c0@max2 type="cite">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=375393109-26062008><FONT face=Verdana
color=#0000ff size=2>I agree, the thing is that there's no MG managed
wrappers we can leverage to talk to the repository manager directly. If we
had one, we could start from that point on. Could we use Meastro API for
repository objects serialization/deserialization in managed fashion
then?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=375393109-26062008></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=375393109-26062008><FONT face=Verdana
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=375393109-26062008><FONT face=Verdana
color=#0000ff size=2>Maksim Sestic</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> <A class=moz-txt-link-abbreviated
href="mailto:mapguide-users-bounces@lists.osgeo.org"
moz-do-not-send="true">mapguide-users-bounces@lists.osgeo.org</A> [<A
class=moz-txt-link-freetext
href="mailto:mapguide-users-bounces@lists.osgeo.org"
moz-do-not-send="true">mailto:mapguide-users-bounces@lists.osgeo.org</A>]
<B>On Behalf Of </B>Kenneth Skovhede, GEOGRAF A/S<BR><B>Sent:</B> Thursday,
June 26, 2008 11:30<BR><B>To:</B> MapGuide Users Mail
List<BR><B>Subject:</B> Re: [mapguide-users] Silverlight/Moonlight
Viewer<BR></FONT><BR></DIV>Yes, the http roundtrip time is a beast.<BR><BR>I
think the server is (partly) divided, with one part being a repository
manager.<BR>You can already retrieve resources with calls, and coordinate
data with another.<BR>The MgApi interacts directly with the server, it is
still serialized, but binary.<BR>The MgApi uses the loopback connection, but
does not use a webserver, and has no http headers.<BR><BR>So you can still
do it, but I agree that it would make sense to divide the different parts
more rigidly.<BR><PRE class=moz-signature cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</PRE><BR><BR>Maksim Sestic skrev:
<BLOCKQUOTE cite=mid:005a01c8d769$b9efaf50$0601a8c0@max2 type="cite">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=859042108-26062008><FONT face=Verdana
color=#0000ff size=2>Hi Kenneth,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=859042108-26062008></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=859042108-26062008><FONT face=Verdana
color=#0000ff size=2>I guess that someone :-) needs to build a
tier-neutral repository viewer first, then leverage it's API via
Silverlight/Moonlight. Presumably using .NET. Currently, the engine is
called MapGuide Server :-) but it's kernel is server-tier oriented and any
external communication with it goes via Http on mandatory base. It would
be perfect if we had respository manager as a separate API -
representing the actual core. Then, a web-tier API (another component)
leverages repository API to talk over Http with thin clients. So
developers might pick if they want to use either web-tier approach (i.e.
JavaScript) or want to talk via SOAP/linking to the repository manager
directly.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=859042108-26062008></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=859042108-26062008><FONT face=Verdana
color=#0000ff size=2>Don't know actually... just a couple of thoughts from
my side.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=859042108-26062008></SPAN> </DIV>
<DIV dir=ltr align=left><FONT face=Verdana><FONT size=2><FONT
color=#0000ff><SPAN
class=859042108-26062008>Regards,</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana><FONT size=2><FONT
color=#0000ff><SPAN class=859042108-26062008>Maksim
Sestic</SPAN></FONT></FONT></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> <A class=moz-txt-link-abbreviated
href="mailto:mapguide-users-bounces@lists.osgeo.org"
moz-do-not-send="true">mapguide-users-bounces@lists.osgeo.org</A> [<A
class=moz-txt-link-freetext
href="mailto:mapguide-users-bounces@lists.osgeo.org"
moz-do-not-send="true">mailto:mapguide-users-bounces@lists.osgeo.org</A>]
<B>On Behalf Of </B>Kenneth Skovhede, GEOGRAF A/S<BR><B>Sent:</B>
Thursday, June 26, 2008 10:04<BR><B>To:</B> MapGuide Users Mail
List<BR><B>Subject:</B> Re: [mapguide-users] Silverlight/Moonlight
Viewer<BR></FONT><BR></DIV>Silverlight uses GDI+, which also supports
hardware acceleration.<BR>I would prefer Silverlight over Java because it
intergrates better with the html DOM (IMO).<BR><BR>As for codebase, the
current viewers are based on Javascript, and they are limited to
<BR>manipulating pre-rendered images.<BR><BR>The DWF viewer is some of it,
but it is still ActiveX based.<BR>I suppose one could make plugins for all
browsers, but it still difficult <BR>to persuade regular web users to
install it.<BR><BR>Since Silverlight/Moonlight is more likely to be
installed already,<BR>and backed by Microsoft, it will probably be
easier.<BR><BR>Flash is another option, but it is terribly hard to work
with (IMO).<BR><PRE class=moz-signature cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</PRE><BR><BR>Carl Jokl skrev:
<BLOCKQUOTE cite=mid:18128249.post@talk.nabble.com type="cite"><PRE wrap="">I think that there could potentially be a number of alternatives to using an
Active X based viewer. I could see potential also for both Flash or Java to
create a viewer too. One problem with the Active X viewer in relation to the
clients of the company I work for is the security / administrative problem
for our clients. Organisations internet security policies could interfere
with deployment of an Active X control. I would think though that the same
issue would apply to a Java based viewer too. Silverlight might work better
in this regard.
One of the reasons I find the Java option interesting is the availability of
JOGL essentially allowing a Applet or Web Start application to be able to
take advantage of Hardware accelerated graphics. I don't know if any
alternative viewers have been worked on. If much of MapGuide is open source
would that include the viewer? If so it might be possible to start from the
existing viewer source code and port it to another platform.
Kenneth Skovhede, GEOGRAF A/S wrote:
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">Has anyone started or is considering starting development of a viewer in
Silverlight/Moonlight?
Such a viewer should be able to achieve performance that is comparable
to the MapGuide 6.5 viewer,
without the need for an ActiveX plugin.
--
Regards, Kenneth Skovhede, GEOGRAF A/S
_______________________________________________
mapguide-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapguide-users@lists.osgeo.org" moz-do-not-send="true">mapguide-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" moz-do-not-send="true">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A>
</PRE></BLOCKQUOTE><PRE wrap=""><!---->
</PRE></BLOCKQUOTE><BR><BR>__________ NOD32 3219 (20080625) Information
__________<BR><BR>This message was checked by NOD32 antivirus
system.<BR><A href="http://www.eset.com"
moz-do-not-send="true">http://www.eset.com</A><BR><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
mapguide-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapguide-users@lists.osgeo.org" moz-do-not-send="true">mapguide-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" moz-do-not-send="true">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A>
</PRE></BLOCKQUOTE><BR><BR>__________ NOD32 3219 (20080625) Information
__________<BR><BR>This message was checked by NOD32 antivirus system.<BR><A
href="http://www.eset.com"
moz-do-not-send="true">http://www.eset.com</A><BR><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
mapguide-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapguide-users@lists.osgeo.org" moz-do-not-send="true">mapguide-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" moz-do-not-send="true">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A>
</PRE></BLOCKQUOTE><BR><BR>__________ NOD32 3219 (20080625) Information
__________<BR><BR>This message was checked by NOD32 antivirus system.<BR><A
href="http://www.eset.com" moz-do-not-send="true">http://www.eset.com</A><BR><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
mapguide-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A>
</PRE></BLOCKQUOTE><BR><BR>__________ NOD32 3219 (20080625) Information
__________<BR><BR>This message was checked by NOD32 antivirus system.<BR><A
href="http://www.eset.com">http://www.eset.com</A><BR></BODY></HTML>