[Geomoose-users] GeoMoose 2 and PHP requirement

Dan Little danlittle at yahoo.com
Wed May 6 13:39:19 EDT 2009


Being that there is only one fixed reference right now (to getmapbook.php) and the rest of Jim's stuff has been integrated into the code as it's released ... I'm not sure we need to have separate distributions to both muddle and confuse development.



________________________________
From: Bob Basques <Bob.Basques at ci.stpaul.mn.us>
To: Brent Fraser <bfraser at geoanalytic.com>; Dan Little <danlittle at yahoo.com>
Cc: GeoMOOSE Users List <geomoose-users at lists.sourceforge.net>
Sent: Wednesday, May 6, 2009 12:37:08 PM
Subject: Re: [Geomoose-users] GeoMoose 2 and PHP requirement


All, 

Does it make any sense for some sub section of the files within GeoMoose to be released via Jimk's work?  Or does this point to some specific work needed to make the work that Jim does more transparent to the core development efforts, as in sepating some of the pointers to the PHP services so they can be reused with other services? 

bobb 



>>> Dan Little <danlittle at yahoo.com> wrote:


PHP Mapscript comes working out-of-the-box with MS4W and Apache ... so that's why we decided it was okay to go with this setup.  Then again, I'm pretty sure JimK has been patching the code everytime he gets it because he does not run PHP on his Linux boxes.


----- Original Message ----
> From: Brent Fraser <bfraser at geoanalytic.com>
> To: Dan Little <danlittle at yahoo.com>
> Cc: GeoMOOSE Users List <geomoose-users at lists.sourceforge.net>
> Sent: Wednesday, May 6, 2009 11:56:19 AM
> Subject: Re: [Geomoose-users] GeoMoose 2 and PHP requirement
>
> Dan,
>
> I like the plan to secure the xml file; I just wanted to make sure you
> appreciated how painful PHP (and PHP mapscript with IIS!) can be for some of us.
>
> If Beta 2 can have the same instant gratification as v1.6.1 ("first you install
> ms4w, then install GeoMoose, then click the demo url to see the map") that would
> be great!
>
> Keep up the good work!
> Brent
>
>
> Dan Little wrote:
> > This is actually a component that we/I decided on for long term planning.
> >
> > On of the goals is to offer the ability to have "secured" Mapbooks out of the
> box with GeoMOOSE (this is probably a late-2.2 or early-2.4 feature).
> >
> > The method to the madness is that all functions that read the Mapbook
> (including the HTML/Javascript) would be required to use "getMapbook()."  The
> "getMapbook()" function will be the responsible for decoding any sort of
> security settings and then disse
> > minating the appropriate information to all of the requestors.
> >
> > I will work on making this more configurable and document how to change it.
> >
> >
> >
> > ----- Original Message ----
> >> From: Brent Fraser
> >> To: GeoMOOSE Users List
> >> Sent: Wednesday, May 6, 2009 10:50:49 AM
> >> Subject: [Geomoose-users] GeoMoose 2 and PHP requirement
> >>
> >>    One thing I like about GeoMoose 1.6.1 is that PHP is optional (if you want
> the advanced features of printing, buffering, and selection, you'll need to get
> it working).  I could render my  layers, pan/zoom, etc, all without PHP setup on
> the server.
> >>
> >>
> >>   It looks like PHP is now mandatory with GeoMoose2.  The main culprits are
> htdocs\geomoose\main.js:57:          OpenLayers.loadURL('php/getmapbook.php',
> {}, {}, onLoadedMapbook);
> >>
> >> and php/getmapbook.php:
> >>       header('Content-type: application/xml;text/xml');
> >>       $mapbook = getMapbook();
> >>       print $mapbook->saveXML();
> >>
> >> where getMapbook() is defined as:
> >>     $mapbook->load('../../conf/'.$CONFIGURATION['mapbook']);
> >>
> >> which basically sends the mapbook declared in the settings.ini to the browser
> as XML.
> >>
> >> For those of us implementing using IIS, or implementing GeoMoose for the
> first time, it can be a major pain just trying to get to the "Hello World"
> stage.
> >>
> >>    Some recommendations:
> >>
> >> 1. Make the getmapbook url configurable (so I can do 'asp/getmapbook.asp', or
> use python, perl, etc).  Or can it be defaulted to a simple 'htdocs/mapbook.xml'
> url?
> >>
> >> 2. Make sure you document that PHP is now a requirement of GeoMoose2.
> >>
> >> Thanks!
> >> Brent Fraser
> >>
> >>
> ------------------------------------------------------------------------------
> >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> >> production scanning environment may not be a perfect world - but thanks to
> >> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> >> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> >> _______________________________________________
> >> Geomoose-users mailing list
> >> Geomoose-users at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/geomoose-users
> >
> >
> >
> >     



     

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090506/1be03325/attachment.html


More information about the Geomoose-users mailing list