DR. WEBSITE: Picking a Language for Applications Within Forms Dear Dr. Website®: We are working on an online application form for students who would like to enroll at our university for their master's degrees.
By David Fiedler and Scott Clark
Our problem is that we need to do error-checking or form validation. We don't know if we should use CGI or Java in this case. Another thing is that we will be putting all this information into a database at the end. So with all this in mind, what do you think is best for us to use?
Also, do you need an extensive knowledge of C to learn CGI? My friends and I are not very proficient in the language. Finally, I have heard people say that it is better to use Perl when using CGI. Is this true, or is it okay to use C? Is Perl easy to learn?
Remember, CGI simply means Common Gateway Interface. It's a standard way of letting HTML pages work with programs. The CGI programs themselves can be written in almost any language, but must reside in the cgi-bin directory at the root level of your Web server.
As for databases, the answer to this question depends on the platform you are using. For a small application such as the one you are talking about, Allaire Corp.'s Cold Fusion will allow you to put the data directly from the Web page into the database. It is easy to program and comes with many wizards to make it easy to set up your database. If you anticipate tens of thousands of users each day, perhaps you would be better off going with a product such as Bluestone's Sapphire/Web. Again, this is largely opinion, and there are many adequate tools out there that will help you accomplish the task.
Webdeveloper.com's home page
Back to Home Page
Keywords: html, development_tools