| Assignments due in one week unless otherwise stated.
I may add some things during the week, so double check the schedule
each week! For almost all the assignments I want to see the code you write and the output it produces. So send me
the address and a copy of the code. With play computer assignments give me the code and the output as you feel it
would be generated. Please keep copies of all work you submit until you receive your final grade
at the end of the semester.
Remember that I record/tape all my classes and capture notes on the Smartboard. These are available to you under Audio and Smartboard.
Week of September 16th
|If you need help with something, now would be the time to ask your questions!
We did not make it to group three, we will do that this week. It is posted under week 2. You can find Third Group PHP at Third Group PHP
Fourth Group PHP zipped
Loop Quiz: without loop program Please download this program and modify it three times. Once to use a while loop, once to use a do...while loop and once to use a for loop.
Program to write: Write a program to do the algebraic equation x = a +a(b+4)/2 multiple times within loops that vary a and b. The variable a should start at 1 go to 10 and increment by 1. The variable b should start at 2 and go to 10 and increment by 2. When you display the answer show the formula in php. I want you to do this three times: once with a for...next, once with a do...while and once with a while.
Week of September 9th
We will continue with PHP looking at Second Group PHP and Third Group PHP.
You can find Second Group PHP at Second Group PHP
You can find Third Group PHP at Third Group PHP
Below is a presentation on the structure of IF statements.
Presentation on logical if structures - review
Separate speaker notes to accompany presentation on logical if structures
Because a text book is not required, I want to point you to a few good PHP tutorials/ references that you can use throughout the semester. I will also put up sites related to current topics periodically.
Tutorials Point (PHP)
The W3 schools tutorial gives you option to test things
A slow moving basic tutorial
To load things up on the Internet, we use WINSCP. Please read the WINSCP and cisweb information: (note that in my examples I use cisweb.bristol.mass.edu as the host, we are now using cisweb.bristolcc.edu as the host although the old one is still supported).
Here is information about using cisweb and WINSCP at BCC
Talks more specifically about portfolio We will be looking at making a portfolio later in the semester.
If you want to download WINSCP at home, you can find it at this address.
IF Assignment We did not get as far as I hoped in IF statements so this will be put up under next weeks assignments. You can look at the examples for ThirdGroupPHP and start working on them if you want to get ahead.
Memo assignment Make up 5 names and use the 7 days of the week. and notice in my example I have you select a first name but I put out the whole name. You can make up the names. Also note that the select is Wed but in the memo I use Wednesday.
Week of September 2nd
|We will start off the semester with a quick review of HTML if needed and then we will actually start the PHP.
If you have already had CIS122/44 or have previous experience, this will
be a review. If you have taken CIS120/17, you have already been introduced to HTML. For others
I suggest that you use resources at the sites for CIS120/17 and CIS122/44 or other resources on the web to accquaint yourself with HTML.
This example covers some of the fundamentals: html5example.html
A great reference for writing HTML is W3Schools
The students in this class have a variety of backgrounds, so for some HTML is review and for others it is relatively new.
Handout on using WinSCP3 Note instead of the host as cisweb.bristol.mass.edu we are now using cisweb.bristolcc.edu.
WinSCP3 is available as open source software and you can download it for home use.
You should be getting a username/password for the BCC site at the end of this week.
We will be working exclusively off the BCC cisweb site. You do not need to install PHP or MySQL, they are on the server.
When we start to look at PHPlog into cisweb and copy my examples from First Group PHP up to the site.
You can find First Group PHP at First Group PHP revised - a few things have been added
If you are new to HTML, I want you to build a web page and upload it to the server (that cannot be done until you get your username and password). The page should include at least list, tables, CSS and forms.
If you are experienced with HTML, I want you to develop a page that challenges you and uses elements that you stretch your knowledge - this is the time to explore more CSS or forms - experiment!
Due the Thursday after the week it is assigned so due September 12th.(Note that homework is always due the Thursday of the week after it is assigned unless I give a specific due date - usually because I want to go over the assignment).
For all assignments and quizzes, send me the address that I can run in the browser to test your program and also send a copy of the code.
Check back after we have held a class