[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] C libraries for CGI
- Subject: Re: [cobalt-users] C libraries for CGI
- From: "WebMost" <dbugger@xxxxxxxxxxx>
- Date: Thu Jan 27 11:02:36 2000
Ahoy
Appreciate your advice, but I have a project for a client which will require
compiled CGI, because something compiled does not reveal its source.
As for headaches, I am something of a Perl guru (and I love the stuff),
somewhat adept at VB (and I hate the stuff), can piddle thru PHP (and hope
it soon pushes those stinking ASPs off the map), etc., and I just enjoy to
be multilingual. I have found that C compiles quickly enough on my little
Debian boxes so that it's not much hassle (tho the error messages are about
as obtuse as they can get -- e.g. "pointer from an integer without a cast")
and you've got to admit it runs quick as a wink.
You write: "All you have to do is snag the library and documentation from
someone, slap an include statement in there and you're off and running.
There isn't really an 'installation'."
Well, I tried just that, with CGI-LIB and a makefile. But, when I tried to
include it, I got a bunch of compilation errors, warning me about duplicate
declarations, unterminated constants, etc., which seem to point at
deficiencies in the libraries themselves. At that point, it seemed like a
good idea to ask what someone has had success with, so as to start off on
the right foot.
So, do you know a specific library I can slap right in there and be off and
running?
Aloha
Davis
----- Original Message -----
From: Kris Dahl <kris@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, January 27, 2000 1:21 PM
Subject: Re: [cobalt-users] C libraries for CGI
> on 1/27/00 6:37 AM, WebMost at dbugger@xxxxxxxxxxx wrote:
>
> > #include <c_newbie.h>
> >
> > Ahoy
> >
> > Any of you hack C programs for CGI?
> >
> > I am wondering whether there are handy some C libraries or header files
> > either installed on the RaQ2 or available as .pkg files or rpms which
would
> > help handle CGI form input?
>
> I would highly suggest not using C for programming CGI. I have done it
all
> in this respect, and it wouldn't be worth the time or the effort to do so.
> It would actually probably take you less time to learn PHP than it would
be
> to get up and going with some C libraries for CGI support. You could even
> go with PERL, which is also (relatively) easy to learn, but a little
harder
> than PHP for basic CGI stuff.
>
> It also sucks to have to compile ever time you want to test a change.
>
> There are a ton of C libraries out there that support CGI information, but
> none of them are going to be available in a .pkg format. Really, it isn't
> necessary. All you have to do is snag the library and documentation from
> someone, slap an include statement in there and you're off and running.
> There isn't really an 'installation'.
>
> If you are just starting out learning C, I'd bail on it. Its a great
> language, but just isn't as applicable now as it used to be. Espcecially
> for doing web-based stuff. I would really suggest going with PHP which
has
> a learning curve about 1/20th of C, or PERL which is like 1/4 of the C
> learning curve.
>
> -k
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>