[Mapbender-dev] JSON in PHP
Christoph Baudson
christoph.baudson at wheregroup.com
Fri Apr 18 10:27:33 EDT 2008
Peter Hopfgartner schrieb:
> Christoph Baudson wrote:
>> A new problem has been encountered in Mapbender. Currently we are
>> using the JSON library Services_JSON from Pear for PHP. It seems to
>> be unreliable with huge data sets. Replacing the erroneous code with
>> the native PHP JSON functions then was successful. However, these PHP
>> native JSON functions are only available in PHP > 5.2.
>>
>> What do we do? Require PHP 5.2? Or look for another JSON library?
>>
>> This matter is urgent and should be resolved before the release of
>> Mapbender 2.5
>>
>> Christoph
>>
> As long as the extension can be installed from PECL
> (http://pecl.php.net/package/json), this could be an option. Requiring
> PHP >= 5.2 would be a problem for many people using the packaged PHP
> for their linux distro. As an example, the current CentOS/Red Hat 5.1
> has PHP 5.1.6
Nice, we can offer it those who have trouble with JSON and don't have
PHP5.2.
I'm now writing a wrapper class that will determine which JSON function
to use. By this I hope to determine the best option for the current PHP
setting. This favors the native/PECL solution and uses Pear otherwise.
Thanks very much for your input, Michael and Peter,
Christoph
> .
>
> Regards,
>
> Peter
>
> R3 GIS
> http://www.r3-gis.com
> _______________________________________________
> Mapbender_dev mailing list
> Mapbender_dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_dev
--
_______________________________________
W h e r e G r o u p GmbH & Co. KG
Siemensstraße 8
53121 Bonn
Germany
Christoph Baudson
Anwendungsentwickler
Fon: +49 (0)228 / 90 90 38 - 15
Fax: +49 (0)228 / 90 90 38 - 11
christoph.baudson at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
_______________________________________
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
_______________________________________
More information about the Mapbender_dev
mailing list