Skip to content

Commit

Permalink
Update README text
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Dec 8, 2018
1 parent 14f63d9 commit c848463
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions mapscript/README.rst
@@ -1,17 +1,15 @@
.. $Id$
MapServer Mapscript Modules
MapServer MapScript Modules
===========================

Much of MapServer's functionality is accessible from Java, Perl, PHP, Python,
Ruby, and Tcl. Mapscript is not a language like Javascript or Postscript. It
Ruby, C#, and Tcl. MapScript is not a language like JavaScript or Python. It
is a loadable module that brings MapServer capabilities to your favorite high
level programming language.


PHP and SWIG Branches of Mapscript
PHP and SWIG Branches of MapScript
----------------------------------
The mapscript family tree looks like this:

The MapScript family tree looks like this:

::

Expand All @@ -20,33 +18,34 @@ The mapscript family tree looks like this:
/ \
/ \
PHPMapScript \ SWIGMapScript
PHP4 +----+-----+----+----+----+------------+
| | | | | | |
Perl Python Ruby Java Tcl PHP7 (PHPNG) ...
PHP5/7 +----+-----+----+----+--+----+------------+
| | | | | | | |
Perl Python Ruby Java C# Tcl PHP7 (PHPNG) ...


The Perl, Python, Ruby flavors are like brothers and sisters and the PHP3
module is like a very close cousin to them. The Java, Perl, Python, Ruby,
and Tcl modules are generated using SWIG (http://www.swig.org) while the
PHP3/PHP4 module is developed using the PHP C API without using SWIG.
The SWIGMapScript modules are generated by `SWIG <http://www.swig.org>`_.
The PHPMapScript module is developed using the PHP C API without using SWIG.
PHP users therefore have a choice of using the SWIG generated module or the
custom written PHP module.


PHP3/PHP4
---------
PHPMapScript
------------

Source code, detailed installation instructions, and module API are located
under mapscript/php3.

under mapscript/php.

SWIG Mapscript
SWIG MapScript
--------------

Installation instructions are located in the individual languages
directories such as mapscript/perl, mapscript/python. The shared API
is documented in the file mapscript/doc/mapscript.txt.
directories such as mapscript/perl, mapscript/python.

The main mapscript SWIG interface file is mapscript/mapscript.i. This
The main MapScript SWIG interface file is mapscript/mapscript.i. This
file includes specific class interface files from mapscript/swiginc and
language specific code from the language directories.

Documentation
-------------

+ `Shared SWIG MapScript Documentation <https://mapserver.org/mapscript/index.html>`_

0 comments on commit c848463

Please sign in to comment.