[PHP-DEV] Adding Midgard support to PHP From: Jukka Zitting (hukka <email protected>)
Date: 07/26/99

Hi,

Perhaps some of you have already noticed the Midgard project that
released the first version of the Midgard Application Server system in
early May. Midgard uses PHP as a scripting language and page generation
engine. The first versions of Midgard used a heavily modified version of
PHP but nowadays the biggest changes have been separated to another
Apache module called mod_midgard. In fact the current differences
between normal PHP and the Midgardized PHP are so small, that I'm
wondering whether you would be interested in incorporating them to the
official PHP releases.

Most of the code is located in the files php3_midgard.h and midgard.c
under the functions subdirectory. The files contain a PHP module called
"Midgard" that defines quite a number of functions for accessing the
Midgard database.

Midgard also brings some changes to the PHP language scanner and parser.
These changes activate the Midgard template codes <[xxx]> and <(xxx)>,
and the variable expansion code &(xxx);. These codes are intercepted
from HTML so no changes to the actual PHP syntax have been made. I've
also tried to make the template codes activate themselves only when
parsing Midgard pages, but there might still be some points I missed.

There is a patch against the cvs version 3.0.11 of PHP available at:

  http://www.midgard-project.org/article/1109.html

Please take a look at it. Comments are welcome.

 Jukka Zitting -------------------------
   The Midgard Project -------------------
     http://www.midgard-project.org/ -------

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>