its a good thought but there are a ton of scripting/programming tutorials
already on the web. how is this going to be different.
Gavin Myers <[EMAIL PROTECTED]> wrote:
was wondering what you guys think. I'm going to try and teach some
interested people how to script (not just cold fusion, but other languages
too). But i'm trying to write out a syllabus to go over. What do you guys
think of this setup: I'm trying to relate projects I had for other language
projects and make them more web based. The information would just be
scripting in general then get more towards wichever language they want to
learn.
Scripting Basics
Variables
Forms
If Then Statements
Case of Statements
Loops
Includes
Functions (overview)
Variables In Depth (Overview)
The Many Types of Variables (String, Session, Client, Cookie, URL,
Forms)
Database
SQL Server lingo
Outputting SQL Commands in ASP
Updating SQL Tables in ASP
Deleting SQL Tables in ASP
Scripting in Depth
Arrays
File Management (Upload, Download, Delete, Move)
Sessions
Functions
All Commands
Scripting Basic Projects:
#1 Calculator
Make a calculator from a form, use two text input feilds, radio buttons, and
a submit button.
The 2 input feilds is where the person puts in the numbers
The Radio button displays a list of commands (multiply, divide, add,
subtract)
The submit button takes the person to a new page wich does the math and
outputs it.
What you will need to know: Forms, Variables, Form Variables
#2 Multiples of a number
Make a page that will display a number multiplied by itself by a given
number of times. You will use 2 text input feilds, and a submit button.
The first input feild is the number you want to multiply
The second is the number of times you want it to be multiplied
It should output like this
2
4
8
16
32
64
etc.
What you will need to know: Forms, Variables, Form Variables, Loops
#3 Constant Nav Bar
Create a nav bar that has three links: Home.asp, About.asp, Contact.asp.
Since the nav-bar will be exactily the same no matter which page you are on
it will have to be included into the page.
So you create one page like this:
<a href = "home.asp">Home</a> <a href = "about.asp">About</a> <a href "contact.asp">
save it as navbar.asp
create the home.asp, about.asp, contact.asp and include the navbar.asp on
each.
What you will need to know: Includes
#4 Time of minute Color
Create a page that changes color depending on what time of minute it is.
If it is 0 - 15 minutes past the hour the page color is black.
If it is 16 - 30 minutes past the hour the page color is navy.
If it is 31 - 45 minutes past the hour, the page color is orange.
If it is 46 - 60 minutes past the hour, the page color is yellow.
Do this twice, one using if then statements, the other using case of
statements
What you will need to know: If then statements, case of statements,
functions.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists