RE: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-12 Thread Mark Pendergraft
The beta is out already.  It hasn't been officially announced, but you can 
download it from here:
http://download.osgeo.org/fusion/

-Mark P.

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Franco Caloni
Sent: Thursday, February 12, 2009 10:02 AM
To: 'MapGuide Users Mail List'
Subject: R: [mapguide-users] Fusion javascript (phpviewersample)

Do you know when 2.0 will be ready? 


-Messaggio originale-
Da: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] Per conto di Jason Birch
Inviato: giovedì 12 febbraio 2009 2.23
A: MapGuide Users Mail List
Oggetto: RE: [mapguide-users] Fusion javascript (phpviewersample)

I should mention that Fusion 2.0 has the potential to halve (or better) the
number and size of requests that your server has to handle, AND improve
perceived performance.  It does this by using things like CSS Sprites,
moving to MapGuide's JSON content type responses, reducing the size of some
third-party libraries, modifying the way that selection is handled, and
other neat tricks.  I'm looking forward to Fusion 2.0 a lot.

Jason


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-12 Thread Jason Birch
It's beta, which means it's been tried by the developers but not much
more.  

From my experience, it is very important to invest the time to test
software while it is in beta form.  It is impossible for developers to
know how you will use the software.  If you don't use it in beta, there
is a strong likelihood that your use of the released product will run
into bugs.  

Problems found in the release version may be fixed with a point-release,
but not with any urgency unless they affect a large number of users.

If you want stable release software for your use, then you need to test
it when it's in beta (or earlier).

Jason

-Original Message-
From: Franco Caloni
Sent: February-12-09 10:30 AM
To: 'MapGuide Users Mail List'
Subject: R: [mapguide-users] Fusion javascript (phpviewersample)

I saw it, but: how much is stable? 
I can try to use it but I would like to know it before :)
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-12 Thread Mike Adair
Fusion 2.0 beta is reasonably stable for most the functionality that was 
in the 1.1 series of releases.  The biggest change is that a MapGroup 
element now allows multiple  Map elements which can be of any layer 
type supported by OpenLayers, and this is the part that needs more 
testing.  We will be documenting how to configure that section soon, but 
the MapGuide standard template includes examples of including WMS and 
Google layers.


It also uses a new version of Jx based on MooTools rather than the old 
Prototype version but most of the differences there will be in the CSS 
for the application.  Fusion 2.0 also switches to using OpenLayers 
vector rendering in place of the excanvas implementation, and I haven't 
seen any showstopper bugs because of that change yet.


Mike



Jason Birch wrote:

It's beta, which means it's been tried by the developers but not much
more.  


From my experience, it is very important to invest the time to test
software while it is in beta form.  It is impossible for developers to
know how you will use the software.  If you don't use it in beta, there
is a strong likelihood that your use of the released product will run
into bugs.  


Problems found in the release version may be fixed with a point-release,
but not with any urgency unless they affect a large number of users.

If you want stable release software for your use, then you need to test
it when it's in beta (or earlier).

Jason

-Original Message-
From: Franco Caloni
Sent: February-12-09 10:30 AM
To: 'MapGuide Users Mail List'
Subject: R: [mapguide-users] Fusion javascript (phpviewersample)

I saw it, but: how much is stable? 
I can try to use it but I would like to know it before :)

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

  


--
  Michael Adair
  Senior Software Architect
  DM Solutions Group Inc.

  Office: (613) 565-5056 x26
  mad...@dmsolutions.ca
  http://www.dmsolutions.ca
  http://research.dmsolutions.ca


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-11 Thread Mark Pendergraft
Yes, I had this problem too.  I take it you are using Internet Explorer?  A 
comma following the last function in a list breaks in IE, but I believe it 
doesn't in FireFox.

http://n2.nabble.com/Fusion-and-Javascript-td1817344.html#a1817224

-Mark P.

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Franco Caloni
Sent: Wednesday, February 11, 2009 9:07 AM
To: 'MapGuide Users Mail List'
Subject: R: [mapguide-users] Fusion javascript (phpviewersample)

I'm looking at MapGuideViewerApi.js for use it's Digitize... functions and
just discovered that there are errors in that file.
These 2 errors make MapGuideViewerApi.js not usable (at least for me).
If you have Visual Studio, open MapGuideViewerApi.js with it and see.
The 2 errors are at line 252 and 320.

Remove the , char at the end of line, then .js works fine.

HTH

Franco



Da: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] Per conto di Arnaud De Groof
Inviato: mercoledì 11 febbraio 2009 14.34
A: MapGuide Users Mail List
Oggetto: [mapguide-users] Fusion javascript (phpviewersample)

Hi,
I have migrated different applications ('theme layer' and 'query') onto
fusion. The following lines of the javascript code encounter errors: 
*   parent.parent.Refresh(); 
*   parent.parent.mapFrame.ZoomToView(feature.centerX, feature.centerY,
scale, true); 
*   parent.parent.mapFrame.SetSelectionXML(TrimString(selectionXml)); 
For the theme layer application, I have referenced the
MapGuideViewerApi.js in the script and I have changed the
parent.parent.Refresh(); by Refresh()  without success. 

Errors referenced in firebug:
*   Fusion is not defined 
MapGuideViewerApi.js()MapGuideViewerApi.js (line172)
Fusion.Tool.Canvas.prototype.getMap = function()

*   Fusion is undefined 
Refresh() MapGuideViewerApi.js (line 33)
OnApplyThemeReadyStateChange()
For the query application, I have no solution. 
Could you help me to resolve these problems? 
Thanks,
Arnaud De Groof


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-11 Thread Jason Birch
Good catch Franco.

When you run into problems like this, best practice is to make sure that
they get reported to the Fusion Trac to ensure that they are fixed in
future releases.  Instructions for doing this are available here:

http://trac.osgeo.org/fusion/wiki/FilingBugs

I have reported this issue here:

http://trac.osgeo.org/fusion/ticket/213

I also supplied a .patch file.  When reporting problems, it is best to
either provide step-by-step instructions and data for a developer (they
should be able to reproduce the issue with no more than 10 minutes
work), or provide a fix with the report.

If you have an SVN checkout of the source code, creating a .patch is
easy.  If you're on Linux, there are instructions all over the place for
creating patch files using diff.  If you're on Windows, TortoiseSVN
makes creating patch files as simple as right-clicking on your modified
file, going to the TortoiseSVN submenu, and choosing Create patch

Jason

-Original Message-
From: Franco Caloni
Sent: February-11-09 9:07 AM
To: 'MapGuide Users Mail List'
Subject: R: [mapguide-users] Fusion javascript (phpviewersample)

I'm looking at MapGuideViewerApi.js for use it's Digitize... functions
and
just discovered that there are errors in that file.
These 2 errors make MapGuideViewerApi.js not usable (at least for me).
If you have Visual Studio, open MapGuideViewerApi.js with it and see.
The 2 errors are at line 252 and 320.

Remove the , char at the end of line, then .js works fine.

HTH

Franco
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-11 Thread Jason Birch
Yes, it's a steep learning curve :)

If you're using Fusion out of the box it's worth your time to upgrade
to version 1.1.1.  Quite a few bugs have been fixed since the version
that is in the MapGuide installer, and I believe that the upgrade
process is fairly painless (just rename the old fusion folder to
fusion_old, put the new fusion in place, and copy the MapGuide templates
back into the new fusion.)

http://trac.osgeo.org/fusion/wiki/GetIt

SVN is an open source version control system, which is used by MapGuide,
Fusion, OpenLayers, FDO, etc.  

e.g. Fusion:
  http://svn.osgeo.org/fusion/branches/fusion-2.0/

More on SVN on the fusion Trac:

http://trac.osgeo.org/fusion/wiki/DevelopersCorner

But basically, if you're on Windows just download TortoiseSVN, check
out the above SVN URL, and you're good to go.

For Fusion-based applications where initial load performance is
critical, you'll want to pull the source from SVN to access the build
script.  More information on building Fusion here:

http://trac.osgeo.org/fusion/wiki/ANTBuildSystem

I wrote a little about this here too:

http://lists.osgeo.org/pipermail/mapguide-users/2008-August/014002.html

By using the build system to create an application-specific single file
build, enabling gzip compression, and ensuring that your webserver is
setting proper cache headers, you can really reduce the initial load
time of a Fusion application.  

By setting a parameter in the application definition to serve your map
as PNG8 (setting is new in Fusion 1.1.1), you can further improve your
application's responsiveness though at the cost of some colour fidelity.

Jason

-Original Message-
From: Franco Caloni
Sent: February-11-09 1:17 PM
To: 'MapGuide Users Mail List'
Subject: R: [mapguide-users] Fusion javascript (phpviewersample)

Thanks :)
It's only a week I'm working full time on Mapguide and I'm having a lot
of
troubles learning new things, new terms, ecc. ecc.
And there is not only Mapguide, but Fusion and now Openlayers, gasp!
What is a SVN?

I've bookmarked the link for the future, thanks.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-11 Thread Jason Birch
I should mention that Fusion 2.0 has the potential to halve (or better)
the number and size of requests that your server has to handle, AND
improve perceived performance.  It does this by using things like CSS
Sprites, moving to MapGuide's JSON content type responses, reducing the
size of some third-party libraries, modifying the way that selection is
handled, and other neat tricks.  I'm looking forward to Fusion 2.0 a
lot.

Jason

-Original Message-
From: Jason Birch
Sent: February-11-09 5:11 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Fusion javascript (phpviewersample)

Yes, it's a steep learning curve :)
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users