NetTalk Central

Author Topic: Noob Question how do I write CGI?  (Read 5173 times)

Big Ian

  • Newbie
  • *
  • Posts: 31
  • I wonder what happens if I press this button
    • MSN Messenger - ian.holdsworth@gmail.com
    • View Profile
    • Email
Noob Question how do I write CGI?
« on: February 21, 2008, 07:47:37 AM »
Hi All

How do I expose an element of my webserver as CGI or is there a better way of doing it?

Cheers
Ian Holdsworth
Ram Ltd

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Noob Question how do I write CGI?
« Reply #1 on: February 21, 2008, 11:08:36 PM »
Hi Ian,

CGI is a technique used to generate dynamic pages when the server is "dumb". ie where the server has no dynamic-processing of it's own.

Certainly I could see the benefit in using existing CGI programs to create pages (although I've not done it myself yet, so the details would need to be worked out.)

However for "new" stuff you'd be much better off just using a NetWebPage template, hand-coding the HTML where necessary. This would be a lot faster on the server, and would also give you access to things like the SessionQueue.

Let me know what you have in mind for CGI and perhaps we can be a bit more specific.

Cheers
Bruce