Daniel Reichenbach <[EMAIL PROTECTED]> Forwarded From:
> > It doesn't matter if you'll export it using plain 'repligard.xml' schema
> > file, not with repligard_withsg.xml which makes sitegroups visible to
> > Repligard.
> Well, I just played a bit more with the Mantis port and there where several
> ideas that came into my mind:
>
> 1. How about switching cookie vars to session vars? Snippets make sense for
> Midgard/PHP4, so sessions should be fine.
>
> 2. Providing an install script for the snippet would be cool, too. Is it
> possible for a snippet to determine the database in which Midgard is
> installed? That would make things easier, too.
nadmin uses the snippetdir /module/database to store all the table definitions, one
per snippet, the create company has a box that creates all the tables if they dont
exist. in the 'companies database';
we have been attempting to rename all the tables with prefixes to stop overlaps..
I've just spent all day playing with OOP php, classes and such.. - never been that
keen having seen fasttemplate - it kind of scared me off..
anyway wrapping a database in OOP is increadibly cool. - it pretty much emulates the
midgard type functions
$object->create(), $object->update(), $object->parse_to_array().. etc.
$object->check_my_vars()...
our mantis port is at http://midgard.hklc.com/bugtracker.xmlgz
includes some hacks for midgard authentication and milestoning..
I think it also has some integration with the member stuff..
>
> Alan? Are you there? As you have ported several applications to snippets
> for nadmin, I'd love to hear some hints from you.
>
> Daniel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]