[mapserver-dev] php-mapscript missing from Ubuntu 16.04 beta?
thomas bonfort
thomas.bonfort at gmail.com
Tue Apr 5 14:53:20 PDT 2016
Daniel,
Even by supposing that swig will support php7 in some not so distant
future, which does not seem like an unreasonable expectation, I agree that
it will very probably be cheaper to migrate the current php mapscript to
support php7 than it would be to migrate it to use swig.
But in the longer run, we would have to deal with the migration to php8,
etc...
Given that it seems to me that the migration that has to happen in the
short term requires some non-trivial kind of investment, I believe that
effort would be better invested in relying on swig to iron out those api
changes for us, and focusing *our* effort on the single swig support rather
than spreading it out on swig and php.
Both options are viable solutions. If there were to be a strong community
investment with sufficient funding in php mapscript's future I would prefer
the swig road.
Regards,
Thomas
On 5 April 2016 at 23:22, Daniel Morissette <dmorissette at mapgears.com>
wrote:
> Backwards compatibility is a big thing, and I think it would be worth
> trying to upgrade the existing code instead of forcing a switch to a
> completely new API based on SWIG on long time users. Does swig have proper
> PHP support these days anyway? And does it do PHP7 at all?
>
> Note that the current module was in big part refactored by Alan a few
> years ago around the PHP5 API switch so it's not as if all the lines were
> exactly 15 years old. :-)
>
> More seriously, there is a migration guide here and it doesn't look that
> bad (easier said than done, I know):
>
> https://wiki.php.net/phpng-upgrading
>
> If only I could find a few hours to dive into this...
>
> Daniel
>
> On 2016-04-05 4:36 PM, thomas bonfort wrote:
>
>> On our side, having to maintain only swig instead of swig + php makes
>> enormous sense.
>> However migrating php mapscript to swig is going to break 100% of
>> backwards compatibility and all php code will have to be migrated to the
>> new php+swig API. If we wanted to go down that road (which I think is a
>> good idea) I think it is imperative that we also provide a wrapper from
>> php_mapscript to mapscript+swig that we would immediately mark as
>> deprecated unless there's a community incentive (and funding) to
>> backport new features there.
>>
>> On 5 April 2016 at 19:20, Lime, Steve D (MNIT) <Steve.Lime at state.mn.us
>> <mailto:Steve.Lime at state.mn.us>> wrote:
>>
>> I was wondering if this might be an excuse to move away from the
>> hand-rolled PHP/MapScript to Swig. It seems Swig is not yet
>> supporting PHP7 either, although it seems like they are working it.
>> If the PHP7 internals are really that different then we're looking
>> at a new MapScript module anyway. I'd think trying to maintain both
>> versions with that older codebase would be challenging to say the
>> least. Thoughts?
>>
>> Steve
>>
>> -----Original Message-----
>> From: mapserver-dev [mailto:mapserver-dev-bounces at lists.osgeo.org
>> <mailto:mapserver-dev-bounces at lists.osgeo.org>] On Behalf Of
>> Sebastiaan Couwenberg
>> Sent: Monday, April 04, 2016 2:49 PM
>> To: mapserver-dev at lists.osgeo.org <mailto:
>> mapserver-dev at lists.osgeo.org>
>> Subject: Re: [mapserver-dev] php-mapscript missing from Ubuntu 16.04
>> beta?
>>
>> On 04/04/2016 09:33 PM, Worth Lutz wrote:
>> > What is needed to get php-mapscript working on php7?
>>
>> Team effort :-)
>>
>>
>> https://lists.osgeo.org/pipermail/mapserver-users/2016-February/078689.html
>>
>> Kind Regards,
>>
>> Bas
>>
>> --
>> GPG Key ID: 4096R/6750F10AE88D4AF1
>> Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org <mailto:mapserver-dev at lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org <mailto:mapserver-dev at lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>
>>
>>
>>
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>
>>
>
> --
> Daniel Morissette
> http://www.mapgears.com/
> T: +1 418-696-5056 #201
>
> http://evouala.com/ - Location Intelligence Made Easy
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20160405/0d5bd647/attachment-0001.html>
More information about the mapserver-dev
mailing list