eXtropia: the open web technology company
Technology | Support | Tutorials | Development | About Us | Users | Contact Us
Resources
 ::   Tutorials
 ::   Presentations
Perl & CGI tutorials
 ::   Intro to Perl/CGI and HTML Forms
 ::   Intro to Windows Perl
 ::   Intro to Perl 5
 ::   Intro to Perl
 ::   Intro to Perl Taint mode
 ::   Sherlock Holmes and the Case of the Broken CGI Script
 ::   Writing COM Components in Perl

Java tutorials
 ::   Intro to Java
 ::   Cross Browser Java

Misc technical tutorials
 ::   Intro to The Web Application Development Environment
 ::   Introduction to XML
 ::   Intro to Web Design
 ::   Intro to Web Security
 ::   Databases for Web Developers
 ::   UNIX for Web Developers
 ::   Intro to Adobe Photoshop
 ::   Web Programming 101
 ::   Introduction to Microsoft DNA

Misc non-technical tutorials
 ::   Misc Technopreneurship Docs
 ::   What is a Webmaster?
 ::   What is the open source business model?
 ::   Technical writing
 ::   Small and mid-sized businesses on the Web

Offsite tutorials
 ::   ISAPI Perl Primer
 ::   Serving up web server basics
 ::   Introduction to Java (Parts 1 and 2) in Slovak

 

Introduction to Web Programming
Procedural-based Programming  
  • In the 1970's procedural-based programming was all the rage. You should be very familiar with procedural-based programming since we spent all day yesterday going over Perl, which is very much a procedural-based programming language.

Actually, Perl Version 4, which is what we discussed yesterday, is a procedural-based programming language. Perl 5, the newest version of Perl actually introduces Object-Oriented capabilities into the Perl universe. After all, everybody wants to be part of the "in-crowd"

  • In a procedural-based programming language, a programmer writes out instructions that are followed by a computer from start to finish.

  • For example, a procedural-oriented program might work like this:

    [image]

  • A more complex procedural-based program might introduce logical branches such as in the following example

    [image]

  • But even in the case of a more complex logical flow, the main idea remains the same...a certain set of instructions is followed through from beginning to end, each step building upon and tied to every previous step.

Previous Page |Next Page