Server-side scripts

Server-side scripts

Server-Side Scripts are small programs that reside on the web server to interact with the web environment. When browsers execute scripts that link to the code file, the script will do its designed functions and return a dynamically generated page.

Typical use of server-side programming:

  • Personalized page content to the user's needs
  • Enable the web browser to act as a database interface
  • e-Commerce shopping carts

Server-Side Scripting Types

  • CGI (Common Gateway Interface) Simple scripting mechanisms supported by practically all web servers. Most commonly written in Perl, C/C++, or Python.
  • Java Servlets Ability to execute Java objects on the server. Newer, less common technology but has dramatic performance advantages over CGI.

Scripting Tips

  • When browsing the web you can typically tell that a hyperlink is calling a script by the file extension. Instead of the standard .html/.htm you will see .cgi, .pl or other extension.
  • Many inexpensive, even free, scripts are available to enhance your web site.
  • With most scripts the source code can be changed allowing custom applications at a fraction of the costs.

Further Reading

Related Posts

Creating Related Content Blocks: Side-by-side comparison of Blocks via Views vs Content Panes via Panels

Kristin Brinner
Read more

Managing your DrupalVM Environment: Vagrant Plugins and SED Scripts

Kyle Taylor
Read more

The Ultimate Server: Mercury + Aegir

Randall Knutson
Read more

Create a high performance Drupal server for just $30 a month

Randall Knutson
Read more

DrupalCon Day 2: "Drupal Side of the Moon"

Tabatha Patterson
Read more

Best Practices For Webinars

Felipa Villegas
Read more