Starting out with the code, need tips

Federico Sevilla III jijo@i-manila.com.ph
Sat, 12 May 2001 23:44:34 +0800 (PHT)


Hi everyone,

I've been using IMP for quite awhile now, and I'm pretty happy with it.
I've been tasked by the company I work with to develop some projects that
will be database-backed, and I'm thinking of using PHP for these. I'm also
thinking of using the Horde framework on top of PHP, with the objective of
being able to develop modules that will allow users to have a web-based
application suite at their command, enabling them to switch between
modules seamlessly. My employer has no problem with releasing the code as
GPL, as long as it gets done.

Using CVS, I've obtained a copy of the HEAD branch of Horde and IMP, and
copies of some other modules like turba, kronolith, skeleton and babel. I
intend to learn about the classes available in the Horde framework, and
how a number of these existing modules have been designed to work with
each other using the common Horde framework.

My first order of business is to work out an authentication system (login
page, session management). I'm thinking of authenticating using an IMAP
server, so it's probably best to reuse existing IMP code. Is it possible
to delegate the authorization to IMP?

The database will be on a PostgreSQL server in the same machine, and I
intend to make users have identical passwords for their IMAP accounts and
PostgreSQL (which unfortunately can't seem to use PAM for its own user
database). Does authenticating using an IMAP server and reusing IMP code
sound like a good idea?

Can anyone point me to particular files in the Horde and IMP trees to
check out to help me out getting started? As of yet there doesn't seem to
be any documentation on the Horde classes, but I'm sure with a little help
on where to look I can slowly learn by reading the code.

Thanks a lot in advance!

 --> Jijo

---
Linux, MS-DOS, and Windows NT ...
... also known as the Good, the Bad, and the Ugly