Table of Contents
Selena Sol
Introduction to Web Programming Table of Contents
Day One
Course Pre Requisites
Sending User-Defined Input to a Web Server
The GET Method
Exercise One
URL Encoding
Problems With the GET Method
HTTP/1.0
Request Headers
The POST Method
Intro to HTML Forms
The <FORM> Tag
The <INPUT> Tag
The Text Field Widget
The Password Widget
The Check Box Widget
The Radio Button Widget
Miscellaneous Non Input-Based Widgets
The Select Widget
The Text Area Widget
Submit Button Widget
Reset Button Widget
Exercise Two
Extra Input Widgets
File Uploading
Hidden Fields
Image Input
Environment Variables
Day Two
Introduction to CGI
Why Perl?
Introduction to Perl for CGI
The First Line of a Perl Script
Sending Text to the Web Browser
Printing with Perl
Using the print function
Printing with "here documents"
Using qq
Using the printf and sprintf functions
Formatting the Output
Exercise Three
Scalar Variables
Using scalar variables
Using the "." operator
Cropping scalar variables with the chop function
Finding the length of a scalar variable with the length function
Manipulating substrings with the substr function
Scalar variable naming conventions
List Arrays
Using a list array
Figuring out how many element are in an array
Adding elements to a list array
Deleting and replacing list elements with the splice function
Advanced list array manipulation with the push, pop, shift, and unshift functions
Associative Arrays
Accessing an associative array
Using the keys and values functions
Adding to and deleting from an associative array
Manipulating Strings
Equality operators
Regular Expressions
Pattern matching with "//"
Matching Operators
Anchors
String Modifiers
The =~ operator
Using the split and join functions
Control Structures
Statement Blocks
Using the if, elsif, else and unless Control Statements
foreach Loops
while Loops
for Loops
Using logical operators (&& and ||)
Formatting Control Structures
Opening Files
Reading a File Line by Line
Writing and Appending to Files
Deleting, Renaming and Changing the Permissions of Files
File Tests
Getting Information About a File With stat
Opening, Reading and Closing Directories
Using Libraries
Individual Algorithms
Application-Specific Subroutines
Inter-Application Libraries
Using cgi-lib.pl to Read and Parse Form Input
Building a Form Processor
Self-Referential Scripts
State Maintenance
Exercise Four
Server Push with nph Scripts
Handling Image Input
Debugging Scripts
CGI Security
Day Three
Introduction to Java
Introduction to Object Oriented Design Principles
Procedural-based Programming
Limitations of Procedural-Oriented Programming
Object-Oriented Programming
Objects
Encapsulation
Inheritance
Polymorphism
Exercise Five
Getting a Java Developer's Kit
Setting Your Environment
Comments
Printing to Standard Output
Variables
Strings
Arrays
Operators
Flow Control
Object Orientation in Java: Classes
Java Methods
Operator Overloading (Polymorphism in Java)
Inheritance in Java
Packages
Creating and Using Classes by Example
Building Your First Application
Using the AWT To Build User Interfaces
Components
Containers
Exercise Six
Layouts
Graphics
Exercise Seven
Day Four
Events
How Events Originate
Listening For Events with the 1.0 Model
JDK 1.0 Event Handling
Event Types
Other Methods for Handling Events
Event Propagation
Event Objects
Event Modifiers
Exercise Eight
Beans Events
Listeners
Exercise Nine
Adapters
Writing Applets
Applet Lifecycle
Applet by Example
Applet HTML
Using the Applet Viewer
Applet Parameters
Applet Restrictions
Distributing Applets
Distribution History
Preparing your Applet for the Web
Building a ZIP Archive
Building a Cab File
Building a JAR Archive
Error Handling
Throwing Errors
Catching Errors
Network Programming in Java
Connecting to a Server
Getting Information from a Remote Site
Sending Information to a Remote Site
Multithreading
AFC and JFC
Congratulations!
Graphics & Media Lab.
>>
Библиотека
|
Курсы
|
Графикон
Hosted by Graphics & Media Lab
http://graphics.cs.msu.su
mailto:
Laboratory