I set up a WebDAV repository for the source files and a zipped snapshot 
of pmapper2. It allows to download single files or complete directories 
that are updated and have bug fixes, etc. You can access it under Windows as

\\www.pmapper.net\dl\

or map it under "My Network places" using the wizard "Add a network 
place". Unix systems should be able to directly mount it or use 
Konqueror via webdav://www.pmapper.net/dl. The access to the DAV 
repository is possible without password and is read-only.

The version 2 is still undergoing some structural modifications so be 
careful with mixing existing applications based on older versions with 
the new versions. The main place for customization should be anyway the 
files custom.php, custom.js, js_custom.php, the map.phtml,the locale 
files and the CSS. If you modify the rest of the application then it 
will probably not be very easy to adapt an application to new versions.

One major change is in the multilingual functionality. I found it too 
complicated to keep multilungual information in the map file, separating 
by "|" and locale files. That has completely been removed. Instead all 
language-related settings should be done in the language_xx.php files. 
They are renamed to language_en.php, language_de.php, and so forth. If 
you are using only 1 language then you are not touched very much by the 
changes.

The best solution for me is to completely drop the file-based solution 
and store all language settings in a SQLite database. The function was 
already existing and I will supply a modified version (pre-defined 
languages are EN, DE, IT, FR, SE). I use this at work and its easier to 
maintain. SQLite support is included in PHP 5 anyway and requires just 
an additional module under PHP 4.

Saluti, Armin


Reply via email to