[Chameleon] mapfile generation - explanation needed
Gambin Dejan
Dejan.Gambin at pula.hr
Thu Dec 7 05:12:45 EST 2006
Thanks Bart,
1. I don't have mapDHTML_adjust.map anywhere
2. There are many places where savestate function is being called. But
when this function has to be called? Which are the situations where I
have to save the session state and generate a mapfile? I see some
widgets call this function...is it "heavy" anyway for Chameleon
application? Can the performance suffer because of it?
thanks very much
regards, dejan
> -----Original Message-----
> From: Bart van den Eijnden (OSGIS) [mailto:bartvde at osgis.nl]
> Sent: Thursday, December 07, 2006 10:32 AM
> To: Gambin Dejan; chameleon at lists.maptools.org
> Subject: Re: [Chameleon] mapfile generation - explanation needed
>
> Hi Dejan,
>
> I believe all MAP files in the session are written using saveState().
>
> $_SESSION['gszCurrentState'] = $this->moMapObject->saveState();
>
> So you could search for those statements.
>
> Also, check if your session has a file called
> mapDHTML_adjust.map, this you can solve in the MAP file or
> HTML template, see the comments in MapDHTML.widget.php
> (search for "there is a subtle bug in first page load").
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
>
>
> --------- Oorspronkelijk bericht --------
> Van: Gambin Dejan <Dejan.Gambin at pula.hr>
> Naar: chameleon at lists.maptools.org <chameleon at lists.maptools.org>
> Onderwerp: [Chameleon] mapfile generation - explanation needed
> Datum: 07/12/06 07:01
>
> > Hi,
> >
> > I am trying to optimize my Chameleon application
> performance as much
> > as I can. I have done many things with my data, mapfile, etc. I am
> > wondering if there is something I can do that is related to
> Chameleon
> > only. It is set in JSAPI mode, with javascript compressing, ...
> >
> > I still don't understand how the mapfiles are being generated? For
> > example, it is initially generating 3 mapfiles (12KB each), each
> > zoomin, pan, etc. generates another 2 mapfiles, atrribute
> query another 3, ...
> > Is this OK? Is it causing some performance problems? Do I
> have to work
> > on it?
> >
> > thanks very much
> >
> > regards, dejan
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> >
> >
>
>
>
>
More information about the Chameleon
mailing list