The file must be executable: chmod +x /var/www/cgi-bin/hello.cgi
Start the web server: service httpd start
Access through the url: http://localhost/cgi-bin/hello.cgi
The above paths reflect Red Hat/Fedora/CentOS. For Ubuntu and other Linux distributions see the YoLinux.com Web site configuration tutorial for the Apache web server configuration.
PhpNuke.org -
Database driven web publishing system. Requires PHP3 (use Apache module
mod_php3), MySQL database, Apache web server. Contents creation and
management of site is through the browser.
Ruby On Rails: Rails uses the Model-View-Controller (MVC) architecture pattern and contains Javascript libraries, AJAX libraries, and RESTful web services.
Rails relies on a web server to run it. Rails can be run with Apache (and Lighttpd) using CGI, FastCGI, mod_rails or mod_ruby or with a dedicated platform server such as Mongrel.
Groovy is a scripting language with Java like syntax with features inspired by Python, Ruby and Smalltalk. Groovy seemlessly integrates with all existing Java objects and libraries as it is compiled into Java bytecode and runs in a JVM.
First introduced as a graphics library for Tcl, Tool Kit (Tk) has been integrated with Perl, Python and Ruby. Tk is used for GUI scripting and not web server scripting but is included here because it is makes scripting languages like Tcl, Perl, Python and Ruby so versatile. Here is a comparison of the use of Tk in Perl, Python, Ruby and Tcl to create the following graphical "Quit" button:
Perl:
#!/usr/bin/perl
use Tk;
# Main Window
my $mw = new MainWindow;
my $but = $mw -> Button(-text => "Quit",
-command =>\&push_button);
$but -> pack();
MainLoop;
#This is executed when the button is pressed
sub push_button {
exit;
}
The file must be executable: chmod +x btn.pl
Run: btn.pl
ArsDigita - TCL scripts, Oracle database and the AOL web server - (commercial but open source) - Content management, collaborative commerce, personalization, marketing and analysis.
"Programming Perl"
by Larry Wall, Tom Christiansen, Jon Orwant
ISBN # 0596000278, O'Reilly & Associates
This book teaches you PERL and is also a good reference.
"Advanced PERL Programming"
by Sriram Srinivasan
ISBN # 1565922204, O'Reilly & Associates
"CGI Programming with PERL"
by Gunther Birznieks, Scott Guelich, Shishir Gundavaram
ISBN # 1565924193, O'Reilly & Associates
"Programming with PERL DBI"
by Alligator Descartes, Tim Bunce
ISBN # 1565926994, O'Reilly & Associates
"Learning PERL Objects, Refences and Modules"
by Randal L. Schwartz, Tom Phoenix
ISBN # 0596004788, O'Reilly & Associates
"CGI/Perl Cookbook"
by Craig Patchet, Matthew Wright
ISBN # 0471168963, Wiley, John & Son
This book is full of code snippets which you can put together for your own
needs.
"Building Database Applications on the Web Using Php3"
by Craig Hilton,Bjorn Borud,Jeff Willis
ISBN # 0201657716, Addison Wesley Longman
"Php3 and MySQL for Dynamic Web Sites"
by Larry Ullman
ISBN # 0321186486, Peachpit Press
"Programming Python: Object-Oriented Scripting"
by Mark Lutz,Foreword by Guido Van Rossum
ISBN # 0596000855, O'Reilly & Associates
"Programming Ruby: The Pragmatic Programmers Guide, Second Edition"
by Dave Thomas, Chad Fowler, Andy Hunt
ISBN # 0974514055, Pragmatic Bookshelf; 2nd edition (October 1, 2004)