Re: PEAR and schmeas

"Henri Bergius" <henri.bergius-ZpG/[email protected]>
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
Hi!

On Sat, January 28, 2006 6:21 pm, Tarjei Huse wrote:
> Hi, does pear handle schemas?

Yes. There is a custom file role "mgdschema" (supplied by the
Role_Mgdschema package).

Currently only thing done about the schemas is that they're placed in the
Midgard schema directory (by default /usr/share/midgard/schema, but
configurable by changing the mgdschema_dir PEAR setting).

Piotras just wrote me:
> I commited "a fix" and now you do not have to define schema in vhost
> configuration file.
> All types defined in any file in schema dir are globally available.

So this should sort the schemas quite fine. However, SQL table creation is
not currently handled by PEAR packages. I think it will be better to have
the "midgard-schema" tool create the tables as needed.

Another thing still missing from the pkgs is static files, as they must be
moved in CVS under the component dirs, and then installed via the
"Role_Web" method.

> Tarjei

/Bergie, just back from Cape of Good Hope

-- 
Henri Bergius
Consultant Partner, Nemein
henri.bergius-ZpG/[email protected]

Midgard CMS
www.midgard-project.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.