Hi Dan,
To answer your questions:
1. Yes C::A will work fine in a shared hosting environment.  That is exactly
what I am doing at the moment  - I have no mod_perl option either :(  My
hosting company does not have C::A as an installed module, so I placed it in
my /lib/CGI/ directory and it works fine.  It doesn't seem to have any other
dependencies that require special installation procedures (apart from CGI.pm
of course, which should be in the standard install anyway).  If you do have
problems with the install, there's no harm in asking your host to have it
installed - most will happily install modules, particularly if they can be
obtained from CPAN.
2. People generally recommend splitting application modules into functional
units.  For reasonably-sized projects, you might have several modules.  I
have about 20 so far for a medium-sized site: 4 search apps, several
membership apps (for viewing/changing, unsubscribing, change password etc)
and a few others.  They are easy enough to link (say using a base module)
and as you mentioned, it would normally be better to run a few small
application modules than 1 big one - from a performance as well as a
maintenance perspective.
HTH,
Mike.


----- Original Message ----- 
From: "Dan Horne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 05, 2004 5:18 AM
Subject: [cgiapp] A couple of questions for a newbie


Hi All

I've just started playing with CGI::Application, and I'm really enjoying it.
I've got a couple of questions that I hope someone can lend their experience
to

1. Will CGI::Application work in a shared hosting environment where I won't
be able to compile it myself. I'm hoping that I can copy across my
installation and set my "use lib" in my scripts? (I guess this also applies
to CGI::Session too). I've had a quick browse through the files and it seems
to be okay, but there may be dependencies that I'm not aware of...
2. I'm wondering how people split their application module. My shared host
seems to perform okay, so I may be able to stick the whole app in one
module, but I'm wondering if anyone has found that it's better to spread the
load across a number of modules to reduce compilation time etc. Sadly,
mod_perl isn't an option for me

Thanks

Dan


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to