On Tue, 6 Feb 2001, Fred Hirsch wrote:
> I've been developing a forums system for the last month based on features in
> older versions of W3Threads. I am interested in trying to recreate this PHP
> application in Snippets, but I have a couple questions.

Sounds good. I'm working on the Snippet spec, so we can collaborate
on having your application project as a test case with the spec.

> 1) Since this development separates the various aspects of the program into
> functional areas, would it be best to write the code into a snippet and then
> place the snippet call code into various articles?

What I'd do instead is write the functionalities into some
PHP objects, that each get a Snippet.

Then call these snippets from your Midgard pages something
like:

mgd_include_snippet("/path/to/Snippet");

$article = New Snippet($argv[0]);

> 2) Is there a means to export specific data from the Midgard DB using
> repligard, or will I have to put all the new info into its own sitegroup?

Yes, Repligard can work with specific object trees now.
Please talk to Alan Knowles on this one.

> 3) Are snippets well suited to creating actual applications like this?

Yes.

> Fred

/Bergie

-- 
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
               http://www.iki.fi/Henri.Bergius


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to