[pmwiki-users] Intergrating external php programs

Richard kirth at ruled.net
Thu May 12 08:34:11 CDT 2005


Hey,

I've been playing with pmwiki for about a week or so now and it's pretty neat.
However now the fun begins, I have two programs that I have written which
are an audit system and a spares audit system. I would like to intergrate
them into the site, so they share pmwiki's userauth (easy), and look. 

The userauth is easy due to .htaccess etc.. however the look and feel is
another matter. My choices appear to be

1. IncludeURL - easy, but not really what i need as I'll end up with double
menu's etc...

2. Directly access pmwiki's function's - hard but complete control 

3. Convert programs to be functions and use markup language - Ideal, becuase
I can then check if running in PmWiki or not and run appropriatly. 

Now, 3 seems the way to go, except I'm at a loss as to how I'd be able to
maniplute the menu's as well as the output. I am used to using templates
like Smarty etc.. yet this seems a little more complicated. 

The system's have basic function routines of:

 1. user input what they looking for 
 2. search for it
 3. out put it
 
And then the input of data

 1. user inputs data
 2. system stores it.
 
....

So any suggestions of the "best" way to achieve this ?

Cheers
Richard

-- 
www : http://ruled.net email : kirth at ruled.net, richard at gwilliam.ch
gpg : http://ruled.net/kirth.gpg
"I thought I was a ball made of different coloured glass. 
 I wanted to be bounced"



More information about the pmwiki-users mailing list