Hi!

While playing with php5-midgard2 (PHP_API: apache2handler) I tried to change
the ShareDir config variable but midgard2 did not honor this (at connect
time):

  midgard_connection::get_instance()->open("sampleConfig");

The same was true by setting the php ini directive "midgard.configuration".

With the current implemention of the php5-midgard2 schema initialization at
php module load time there seems to be no way to have separate schemas per
virtual host.

If you have for example two applications - an address book and a video
database - running each within an own virtual server then I would expect, that
the applications nothing known from each other.

With the current implementation however, you have to put both schema files
(lets name them address.xml and video.xml) in a shared directory. If
php5-midgard2 has loaded the schemas, you have access to the video classes in
the address book application and access to the address book classes in the
video application. At create_class_storage time you have to ensure at
application level, that the address book tables not be created in the video
database and the video tables not be created in the address book database.

Did I miss something?


Bye.

        Ronald
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to