PDA

View Full Version : CGI with C



Aran
11-05-2001, 04:36 PM
recently, i've been playing some online games and i'd like to make my rpg system into one to test it out with the public and see how they like it. I've been looking for CGI tutorials and all i see is perl, perl, perl. Do any of you know of a CGI tute based on C?

I know C++ already so i can use my knowledge of that and just not use the object oriented concepts.

Anything you can give me is helpful.

Fordy
11-05-2001, 04:53 PM
>>Do any of you know of a CGI tute based on C?


The big problem you will have relates to how you will depoy it. Many hosts allow you to deploy JSP, ASP, Perl, PHP, CF. But I havent heard of many that would allow you to run a program in C, unless you have you own server, but then you would find it much more productive to look at one of the technologies listed earlier.

Aran
11-05-2001, 04:54 PM
Do you have any experience with something like PHP?

Fordy
11-05-2001, 04:55 PM
No... I do use JSP and servlets though.....

Aran
11-05-2001, 04:56 PM
you can use jsp with CGI?

hmm... how was it to use and learn?

Fordy
11-05-2001, 04:59 PM
>>you can use jsp with CGI?


Oh yeah.....


>>how was it to use and learn?

Well its based on...wait for it...Java. Still learning a lot of stuff like Custom Tags and bean intergration, but it wasnt too bad.


What are you trying to do anyway?

Aran
11-05-2001, 05:04 PM
make a text-based online RPG utilizing my newly created system...

where'd you learn JSP from?

Fordy
11-05-2001, 05:06 PM
>>where'd you learn JSP from?

Core Servlets & Java Server Pages by Marty Hall. I also hang out at JavaRanch.......


>>make a text-based online RPG utilizing my newly created system...


How much work will it be? I might be able to help time permitting....

Aran
11-05-2001, 05:08 PM
It's not going to be too complex: basically you create a character and run through different locales, fighting different enemies and getting items from them, or doing quests... it shouldn't take too long.

Fordy
11-05-2001, 05:12 PM
Well, mail me with some details if you want me to try and help. If I got it off the ground I could host it, as my host is JSP enabled. How would you have approached it in C?

Aran
11-05-2001, 05:14 PM
lots of structs =P

anyhow, i'll send you all of my development documentation that i've got done so far... it's one big word file. I reserve the rights to it, if you copy it, i will know.

Fordy
11-05-2001, 05:15 PM
>>I reserve the rights to it, if you copy it, i will know.


LOL :D

Yeah OK......

Aran
11-05-2001, 05:18 PM
umm... what IS your e-mail addy?

Fordy
11-05-2001, 05:19 PM
I'll PM it

Aran
11-05-2001, 05:31 PM
I've sent it through to the e-mail addy you gave me..

read through the stuff and tell me what you think...

Fordy
11-05-2001, 05:35 PM
Cheers.....

I'll look at it and get back to you.....

Aran
11-05-2001, 05:38 PM
Cool, i can't wait to get started learning JSP... do i need to learn java before i learn JSP?

hmmm.... i think this has been the largest ever topic that only two people have posted in.

rick barclay
11-05-2001, 05:41 PM
Fordy, is your board ready for prime time yet? I'm waiting.

rick barclay

Fordy
11-05-2001, 05:52 PM
Looking at what you sent me..... you've put some work into this.... Its going to take a while to get my head around it


>>Cool, i can't wait to get started learning JSP... do i need to learn java before i learn JSP?

Yeah... you need java..... but not any of that Swing/AWT, applet stuff. You need good class building skills.

>>Fordy, is your board ready for prime time yet? I'm waiting.

I got a bare version up. I'm trying to add stuff to it. I've added smiles and a few customisations, but there's plenty to keep me occupied...... Have a look at my site under "Forums". There's only 1 public board so far. Another one is private and for all my old Uni mates......

Aran
11-05-2001, 06:33 PM
I've been developing that RP system and it's concepts for at least a year... it's been rough, but i love it.