I think it is a matter of taste, but consider the fact that if you plan to start a large application development now using php, then you will have to make some changes to it to move it to the new SWIG interface. The changes should not be major but it will require changes to some of it.

I believe the the PHP SWIG based code is available see RFC 117 and you could search the dev list archives for "PHP 7". Jeff McKenna is the one to contact on the details of what, when, where, how, etc related to PHP 7 and PHP SWIG.

-Steve W

On 4/9/2017 10:17 AM, Stefanos Anastasiou wrote:
Hi Stephen,
     Thank you for your reply..!
So until the next big release php mapscript, doesn't belong to the SWIG family. Any recommendation between php and python mapscript ? I guess it should more of a matter of taste in the end, but apart from that?

Thank you very much.

-Stefanos


Στις 10:44 μ.μ. Σάββατο, 8 Απριλίου 2017, ο/η Stephen Woodbridge <[email protected]> έγραψε:


On 4/8/2017 3:41 PM, Stephen Woodbridge wrote:
 > On 4/8/2017 2:26 PM, Stefanos Anastasiou wrote:
 >> Hi list,
 >> I need a small clarification about mapscript. I noticed that the
 >> documentation on the API of php Mapscript is fully documented here:
 >>
 >> http://mapserver.org/mapscript/php/phpmapscript.html
 >>
 >> Regarding python mapscript, which documentation is the appropriate
 >> one? Is it this? http://mapserver.org/mapscript/mapscript.html
 >>
 >> I mean like, the API is the same for both languages and all we need is
 >> the language agnostic documentation of the previous link?
 >>
 >> I'm a bit confused....
 >
 > Historically, PHP mapscript was a little bit different from the SWIG
 > mapscript variants. They are very close but not exactly the same for all
 > things. In the next major release I believe PHP 7 will also be supported
 > under the SWIG version. I believe that the plan is to keep the old
 > legacy php mapscript for backwards compatibility but deprecate it, but
 > don't hold me to that.
 >
 > Hope this helps,
 >    -Steve W

Oh! forgot to mention that Python mapscript in fact all mapscripts other
than PHP use the SWIG API Reference.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
mapserver-users mailing list
[email protected] <mailto:[email protected]>
https://lists.osgeo.org/mailman/listinfo/mapserver-users




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to