[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] phpgwapi for a non groupware app
From: |
Jason Wies |
Subject: |
Re: [Phpgroupware-developers] phpgwapi for a non groupware app |
Date: |
Tue, 23 Jul 2002 22:42:18 -0400 |
User-agent: |
Mutt/1.2.5i |
If it's possible, the best thing to do is make it fully-phpGWized, i.e. based
off skel. Then just make your own index.php, and munge auth and sessions to do
what you need.
If that's not possible, the second best thing is to make a wrapper that can
load classes from phpgwapi/inc/. With a simple framework, you can copy a
single class over and use it. Database abstraction, crypto, templates, and
probably most others can be loaded by themselves. Others may have dependencies
on other classes or config settings that need to handled before loading. So
it's just like using any other class you might find.
Now that I think of it, those are pretty obvious :), but I can say they both
work reasonable well.
Jason Wies aka Zone
On Wed, Jul 24, 2002 at 01:18:24AM +0000, Chris Weiss wrote:
> I'm getting ready to port(rewrite) a few apps to php from asp. They mostly
> don't and won't look or feel like a phpGW app but I was considering trying to
> use the phpgwapi for it anyway. Has anyone done this? Are there any
> non-obvious things I should keep in mind starting this out?
>
>
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-developers