[Mapserver-users] Perl/MapScript or PHP/Mapscript

Sean Gillies sgillies at frii.com
Fri Jun 4 13:08:03 EDT 2004


On Jun 4, 2004, at 10:56 AM, Eduardo Patto Kanegae wrote:

>
> Hi Sean,
>
> I saw your draw below...
>
> what is SWIG? is it a what of "framework" that Python, Ruby and Perl 
> makes use to deploy MapScript?
>
> Eduardo Patto Kanegae
> http://www.consultoria.eti.br
> UIN: 303747254
>
>

Eduardo,

Framework is not the right word.  SWIG is a program that operates on a
common module interface specification (the 
mapserver/mapscript/mapscript.i file)
and produces Perl, Python, or Ruby mapscript modules and also C/C++ 
libraries
that glue the modules to the mapserver code in libmap.lib or libmap.a.

After running swig, you then compile the module code and use it without
including SWIG itself in your applications.  There is no run-time 
dependence on
SWIG.

cheers,
Sean

--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies




More information about the mapserver-users mailing list