<HTML>
Thanks for the link, Kevork. Will go about ordering it tomorrow.<BR>
<BR>
Maggie<BR>
VK3CFI <BR>
<BR>
<span style="font-weight: bold;">On Mon Jan 24 14:44 , 'Kevork Krozian' <kevork@edulists.com.au> sent:<BR>
<BR>
</kevork@edulists.com.au></span><blockquote style="border-left: 2px solid rgb(245, 245, 245); margin-left: 5px; margin-right: 0px; padding-left: 5px; padding-right: 0px;">Hi David,<BR>
<BR>
Details at <a href="parse.pl?redirect=http%3A%2F%2Fwww.edulists.com.au%2Fproducts%2Findex.htm" target="_blank"><span style="color: red;">http://www.edulists.com.au/products/index.htm</span></a> . They are ebooks(<BR>
not hard copies ).<BR>
Prices are: $59.95 teacher text, $29.50 student workbook. Order form<BR>
<a href="javascript:top.opencompose('kevork@edulists.com.au','','','')">kevork@edulists.com.au</a><BR>
VITTA will distribute it as soon as we are up and running.<BR>
<BR>
Take Care<BR>
<BR>
Kevork Krozian<BR>
Edulists Creator Administrator<BR>
www.edulists.com.au<BR>
tel: 0419 356 034<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: <a href="javascript:top.opencompose('sofdev-bounces@edulists.com.au','','','')">sofdev-bounces@edulists.com.au</a> [<a href="javascript:top.opencompose('<a href=" javascript:top.opencompose(="" sofdev-bounces@edulists.com.au="" ,="" )="">sofdev-bounces@edulists.com.au</a>','','','')"><a href="javascript:top.opencompose('sofdev-bounces@edulists.com.au','','','')">sofdev-bounces@edulists.com.au</a>]<BR>
On Behalf Of Howard, David<BR>
Sent: Monday, 24 January 2011 5:42 PM<BR>
To: Year 12 Software Development Teachers' Mailing List<BR>
Subject: Re: [Year 12 SofDev] PHP text available soon !!!<BR>
<BR>
Hi Kevork,<BR>
<BR>
How much $$$ and how do we order?<BR>
<BR>
David<BR>
________________________________________<BR>
From: <a href="javascript:top.opencompose('sofdev-bounces@edulists.com.au','','','')">sofdev-bounces@edulists.com.au</a> [<a href="javascript:top.opencompose('sofdev-bounces@edulists.com.au','','','')">sofdev-bounces@edulists.com.au</a>] On<BR>
Behalf Of Kevork Krozian [<a href="javascript:top.opencompose('kevork@edulists.com.au','','','')">kevork@edulists.com.au</a>]<BR>
Sent: Monday, 24 January 2011 5:25 PM<BR>
To: 'Year 12 Software Development Teachers' Mailing List'<BR>
Subject: Re: [Year 12 SofDev] PHP text available soon !!!<BR>
<BR>
Hi Robert,<BR>
<BR>
Yes, I intended to attach a table of contents....... You can find it here<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.edulists.com.au%2Fproducts%2FTable%2520of%2520Contents%2520PHP_2011_v1.2%2520" target="_blank"><span style="color: red;">http://www.edulists.com.au/products/Table%20of%20Contents%20PHP_2011_v1.2%20</span></a><BR>
-%20.pdf or here it is:<BR>
PHP programming with OOP and data visualization for Software<BR>
Development[cid:<a href="javascript:top.opencompose('image001.png@01CBBBEB.B24B9E','','','')">image001.png@01CBBBEB.B24B9E</a>80]<BR>
<BR>
Introduction.. 4<BR>
<BR>
What is in this publication ?. 4<BR>
<BR>
Why produce this publication ?. 5<BR>
<BR>
How is this manual going to help me and my students ?. 5<BR>
<BR>
What this manual contains. 6<BR>
<BR>
Why PHP and which version ?. 6<BR>
<BR>
Xampp.. 7<BR>
<BR>
Web server. 7<BR>
<BR>
Xampp Installation. 7<BR>
<BR>
Server2Go.. 13<BR>
<BR>
Learning Activities.. 16<BR>
<BR>
Tasks and Level of Difficulty. 18<BR>
<BR>
Introduction. 19<BR>
<BR>
Anatomy of a web page. 19<BR>
<BR>
Html code. 20<BR>
<BR>
PHP code. 21<BR>
<BR>
How PHP runs in a html page. 22<BR>
<BR>
Sample page using html and PHP. 22<BR>
<BR>
Exercise 1. 25<BR>
<BR>
Special characters and how to display them... 25<BR>
<BR>
Cascading Style Sheets. 26<BR>
<BR>
How to insert a table. 26<BR>
<BR>
Exercise 2. 28<BR>
<BR>
Using variables in a PHP page. 28<BR>
<BR>
Numeric variables. 28<BR>
<BR>
Calculations. 29<BR>
<BR>
String variables. 30<BR>
<BR>
Working with Strings. 31<BR>
<BR>
Exercise 3. 35<BR>
<BR>
Using programming structures - branching and looping. 35<BR>
<BR>
Using the If statement 35<BR>
<BR>
Using the Switch statements. 36<BR>
<BR>
Using the While loop. 36<BR>
<BR>
Using the For loop. 38<BR>
<BR>
Exercise 4. 39<BR>
<BR>
Accessing System information. 39<BR>
<BR>
Access client information. 40<BR>
<BR>
Using the include a File statement 40<BR>
<BR>
Exercise 5. 42<BR>
<BR>
Using Arrays. 42<BR>
<BR>
Working with Arrays. 43<BR>
<BR>
Move, add, remove, replace elements of an array. 44<BR>
<BR>
Sort elements of an array. 45<BR>
<BR>
Associative arrays. 45<BR>
<BR>
Exercise 6. 47<BR>
<BR>
Using Functions. 47<BR>
<BR>
Understanding variable scope. 48<BR>
<BR>
Parameter passing by value. 50<BR>
<BR>
Parameter passing by reference. 51<BR>
<BR>
Exercise 7. 53<BR>
<BR>
Data Structures in PHP. 53<BR>
<BR>
Using 2 dimensional arrays. 54<BR>
<BR>
Working with queues. 58<BR>
<BR>
Implementing stacks. 59<BR>
<BR>
Exercise 8. 63<BR>
<BR>
Using Forms. 63<BR>
<BR>
Create a Form... 65<BR>
<BR>
Add elements to a Form... 66<BR>
<BR>
Process a Form... 68<BR>
<BR>
Validate elements of a Form... 69<BR>
<BR>
PHP Validation statements. 69<BR>
<BR>
Exercise 9. 71<BR>
<BR>
Using files to save data. 71<BR>
<BR>
Write to a file. 71<BR>
<BR>
Read from a file. 72<BR>
<BR>
Exercise 10. 74<BR>
<BR>
Saving to Files on Web servers - an introduction. 74<BR>
<BR>
Using Files. 74<BR>
<BR>
Format output from retrieved data. 76<BR>
<BR>
Sorting Output from retrieved data. 77<BR>
<BR>
A php page calling itself. 81<BR>
<BR>
How to cast a variable (change its type) 83<BR>
<BR>
Exercise 11. 85<BR>
<BR>
Add data to a file. 88<BR>
<BR>
Editing data in a file. 90<BR>
<BR>
Delete data in file. 93<BR>
<BR>
Exercise 12. 95<BR>
<BR>
Introduction to Object Oriented Programming. 95<BR>
<BR>
Records in PHP. 96<BR>
<BR>
Exercise 13. 99<BR>
<BR>
Constructors and Destructors. 99<BR>
<BR>
Parent class, child class and inheritance. 102<BR>
<BR>
Design A - use of separate files for each class to write/read. 104<BR>
<BR>
Design B - use of one file for all classes to write/read. 110<BR>
<BR>
Public, Private and Protected property or method -visibility. 122<BR>
<BR>
Useful Diagnostic Class Functions. 125<BR>
<BR>
Exercise 14. 128<BR>
<BR>
An introduction to data visualization. 128<BR>
<BR>
Functions Required. 129<BR>
<BR>
Graphical representation of data. 131<BR>
<BR>
Bar Graph. 131<BR>
<BR>
Exercise 15. 136<BR>
<BR>
Security - password protection of files. 136<BR>
<BR>
Session variables. 138<BR>
<BR>
Use of pop up login box for authentication. 140<BR>
<BR>
Exercise 16. 144<BR>
<BR>
Scenario - Restaurant Ordering System... 144<BR>
<BR>
The PHP Code - Restaurant Ordering System... 152<BR>
<BR>
Exercise 17. 167<BR>
<BR>
UML and Use Case Essentials. 167<BR>
<BR>
Restaurant Case Study - Design Retrospective. 175<BR>
<BR>
Use Case. 175<BR>
<BR>
SRS - background and outline. 177<BR>
<BR>
Restaurant Case Study - Design Retrospective. 179<BR>
<BR>
SRS - Software Requirements Specifications. 179<BR>
<BR>
Exercise 18. 185<BR>
<BR>
Mobile devices and PHP. 185<BR>
<BR>
Customise output based on client environment using PHP. 191<BR>
<BR>
Case Study - Mobile Utility Sales. 199<BR>
<BR>
Exercise 19. 203<BR>
<BR>
Debugging hints and tips. 203<BR>
<BR>
Debugging Worked example Exercise 14. 207<BR>
<BR>
Assessment Task 1. 214<BR>
<BR>
Scenario 1. 214<BR>
<BR>
Scenario 2. 215<BR>
<BR>
Scenario 3. 215<BR>
<BR>
Assessment Task 2. 216<BR>
<BR>
Scenario 1. 216<BR>
<BR>
Scenario 2. 216<BR>
<BR>
Scenario 3. 216<BR>
<BR>
Glossary.. 217<BR>
<BR>
<BR>
In addition here is a sample worksheet from a random chapter ( Chapter 7 ) :<BR>
1. Create a two dimensional array, each row of 5 elements describing a<BR>
student's details ( name, surname, age, gender, hobby, mobile number) using<BR>
each of<BR>
a. PHP code that uses the $myarray[] declaration to add items<BR>
progressively<BR>
b. PHP code that uses the $myarray[0][0] index type of explicit<BR>
declaration to progressively add each student's details<BR>
<BR>
Print the results using each of:<BR>
<BR>
a. the print_r() function<BR>
<BR>
b. a nested loop to print a table of data using CSS for improved<BR>
formatting<BR>
.<BR>
2. Using the data in the roadside service example earlier in this<BR>
exercise declare an array to hold all the values<BR>
<BR>
Name<BR>
<BR>
Surname<BR>
<BR>
Vehicle Registration number<BR>
<BR>
Time of Call<BR>
<BR>
Problem<BR>
<BR>
Service<BR>
complete?<BR>
<BR>
Head of Queue<BR>
<BR>
<BR>
Peter<BR>
<BR>
Harris<BR>
<BR>
SBN034<BR>
<BR>
9:23 am<BR>
<BR>
Flat battery<BR>
<BR>
Yes<BR>
<BR>
[cid:<a href="javascript:top.opencompose('image002.png@01CBBBEB.B24B9E','','','')">image002.png@01CBBBEB.B24B9E</a>80]Jenny<BR>
<BR>
Dong<BR>
<BR>
UTM155<BR>
<BR>
9:56 am<BR>
<BR>
Flat tyre<BR>
<BR>
No<BR>
<BR>
Stefan<BR>
<BR>
Crech<BR>
<BR>
TYO333<BR>
<BR>
10:01 am<BR>
<BR>
Car not starting<BR>
<BR>
No<BR>
<BR>
Georgia<BR>
<BR>
Karashvilli<BR>
<BR>
RBU699<BR>
<BR>
10:17 am<BR>
<BR>
Engine overheated<BR>
<BR>
No<BR>
<BR>
Karim<BR>
<BR>
Abdul<BR>
<BR>
ETN210<BR>
<BR>
10:39 am<BR>
<BR>
Keys locked in car<BR>
<BR>
No<BR>
<BR>
[cid:<a href="javascript:top.opencompose('image003.png@01CBBBEB.B24B9E','','','')">image003.png@01CBBBEB.B24B9E</a>80]<BR>
Tail of Queue<BR>
<BR>
<BR>
Jose<BR>
<BR>
Ramirez<BR>
<BR>
TYP229<BR>
<BR>
10:45 am<BR>
<BR>
Car not starting<BR>
<BR>
No<BR>
<BR>
<BR>
Add code to:<BR>
<BR>
a) Locate the head of the Queue based on time of call and service not<BR>
yet complete ( assume as shown times are already ordered from earliest to<BR>
latest)<BR>
<BR>
b) Locate the tail of the Queue<BR>
<BR>
c) Print only the Queue identifying the head and tail of the queue<BR>
<BR>
3. Using the syntax for function declarations in Exercises 6 and 7<BR>
write a short PHP script to calculate the factorial function for a given<BR>
value using recursion and the concept of a stack.<BR>
<BR>
4. For the following examples explain if a FIFO ( Queue ) or a LIFO<BR>
(Stack) data structure is the best fit :<BR>
<BR>
a. A sequence of print jobs are sent to a print server where the jobs<BR>
are printed in the order in which they are received. If a printer is busy<BR>
the jobs are stored awaiting the printer.<BR>
<BR>
b. When a person wears bangles the last bangle worn is the first one to<BR>
be removed and the first bangle would be the last to be removed.<BR>
<BR>
c. In a stack of plates, one can take out the plate from top or can<BR>
add a plate to the top. The plate that was placed first would be the last to<BR>
take out.<BR>
<BR>
d. A call centre at a bank answers calls at a bank in the order they<BR>
are received. If there are more calls available staff customers listen to<BR>
promotional music awaiting the next staff member.<BR>
<BR>
e. Batteries in the flashlight batteries are removed so that the last<BR>
one added is the first one removed and the first added is the last one<BR>
removed. So the battery that was put in first would be the last one to take<BR>
out.<BR>
<BR>
f. Patients arrive at a bank to see a teller. They take a ticket from<BR>
a self service machine. They then wait until their number is announced after<BR>
which they can approach the teller allocated.<BR>
<BR>
g. Cars in a garage In order to take out the car that was parked first<BR>
you need to take out the car that was parked last. So the car that was<BR>
parked first would be the last to take out.<BR>
<BR>
<BR>
5. Challenge<BR>
There are many examples of recursive functions and problems that fit<BR>
immediately into a stack data structure in the design of the solution.<BR>
Search for examples of this type of problem and specifically investigate:<BR>
a. the fibonnaci numbers and<BR>
b. the Towers of Hanoi<BR>
c. In normal algebra we use the infix notation. Convert infix to the<BR>
Reverse Polish notation ready for use by a calculator.<BR>
<BR>
and explain how a stack can be used to solve what appear to be otherwise<BR>
complex problems. You do not need to write the PHP code but explain how it<BR>
could be used to solve this type of problem.<BR>
<BR>
<BR>
Kind Regards<BR>
<BR>
<BR>
Kevork Krozian<BR>
Edulists Creator Administrator<BR>
www.edulists.com.au<BR>
tel: 0419 356 034<BR>
<BR>
From: <a href="javascript:top.opencompose('sofdev-bounces@edulists.com.au','','','')">sofdev-bounces@edulists.com.au</a> [<a href="javascript:top.opencompose('<a href=" javascript:top.opencompose(="" sofdev-bounces@edulists.com.au="" ,="" )="">sofdev-bounces@edulists.com.au</a>','','','')"><a href="javascript:top.opencompose('sofdev-bounces@edulists.com.au','','','')">sofdev-bounces@edulists.com.au</a>]<BR>
On Behalf Of Robert Hind<BR>
Sent: Monday, 24 January 2011 4:28 PM<BR>
To: Year 12 Software Development Teachers' Mailing List<BR>
Subject: Re: [Year 12 SofDev] PHP text available soon !!!<BR>
<BR>
"I have attached the table of contents for the book "?<BR>
<BR>
<BR>
----- Original Message -----<BR>
From: Kevork Krozian<<a href="javascript:top.opencompose('<a href=" javascript:top.opencompose(="" kevork@edulists.com.au="" ,="" )="">kevork@edulists.com.au</a>','','','')"><a href="javascript:top.opencompose('kevork@edulists.com.au','','','')">kevork@edulists.com.au</a>><BR>
To: 'Year 12 Software Development Teachers' Mailing<BR>
List'<<a href="javascript:top.opencompose('<a href=" javascript:top.opencompose(="" sofdev@edulists.com.au="" ,="" )="">sofdev@edulists.com.au</a>','','','')"><a href="javascript:top.opencompose('sofdev@edulists.com.au','','','')">sofdev@edulists.com.au</a>><BR>
Sent: Monday, January 24, 2011 4:00 PM<BR>
Subject: Re: [Year 12 SofDev] PHP text available soon !!!<BR>
<BR>
Hi Folks,<BR>
<BR>
I am a little jealous .... just kidding ! I did invite Adrian to announce<BR>
the new texts he has ready for the Software Development course.<BR>
<BR>
I too have been busy writing a new book called "PHP programming with OOP and<BR>
data visualization for Software Development" which is an ebook of some 220<BR>
pages.<BR>
There is also a separate student workbook which will be available shortly<BR>
with exercises for students ( and teachers ) to test their knowledge.<BR>
<BR>
I have attached the table of contents for the book in the hope it may prove<BR>
to be useful for teachers grappling with the new course. There are sample<BR>
Case studies as well as a chapter on Use Cases and SRS along with suggested<BR>
Assessment tasks.<BR>
<BR>
Happy to hear comments or questions preferably directly to me on<BR>
<a href="javascript:top.opencompose('Kevork@edulists.com.au','','','')">Kevork@edulists.com.au</a><<a href="javascript:top.opencompose('<a href=" javascript:top.opencompose(="" kevork@edulists.com.au="" ,="" )="">Kevork@edulists.com.au</a>','','','')"><a href="javascript:top.opencompose('Kevork@edulists.com.au','','','')">Kevork@edulists.com.au</a>><BR>
<BR>
Kind Regards<BR>
<BR>
Kevork Krozian<BR>
Edulists Creator Administrator<BR>
www.edulists.com.au<BR>
tel: 0419 356 034<BR>
<BR>
From: <a href="javascript:top.opencompose('sofdev-bounces@edulists.com.au','','','')">sofdev-bounces@edulists.com.au</a> [<a href="javascript:top.opencompose('<a href=" javascript:top.opencompose(="" sofdev-bounces@edulists.com.au="" ,="" )="">sofdev-bounces@edulists.com.au</a>','','','')"><a href="javascript:top.opencompose('sofdev-bounces@edulists.com.au','','','')">sofdev-bounces@edulists.com.au</a>]<BR>
On Behalf Of Janson, Adrian A<BR>
Sent: Monday, 24 January 2011 12:23 AM<BR>
To: <a href="javascript:top.opencompose('sofdev@edulists.com.au','','','')">sofdev@edulists.com.au</a><BR>
Subject: [Year 12 SofDev] SD text now available!<BR>
<BR>
<BR>
<BR>
Hi everyone,<BR>
<BR>
I hope you have all had a restful break! I wanted to email you all and let<BR>
you know (those that are not on my contact list at least), that my text from<BR>
SD ("Software Development: Core Techniques and Principles") is now available<BR>
and I am in the process of sending it out to those schools and students that<BR>
have placed orders. If you would like to have a look at a sample chapter,<BR>
there is one available for download at my website here:<BR>
<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.adrianjanson.com.au%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id" target="_blank"><span style="color: red;">http://www.adrianjanson.com.au/index.php\?option=com_content&view=article&id</span></a>=<BR>
25&Itemid=27<BR>
<BR>
The text is about 200 pages and is full colour. It covers all aspects of<BR>
the course and has been written specifically for the VCE 2011-2014 SD study<BR>
design.<BR>
<BR>
I also have the new edition of my Visual Basic.Net text available - titled<BR>
("Visual Basic.Net for Education: 2010 edition"). Preview pages are<BR>
available for download here:<BR>
<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.adrianjanson.com.au%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id" target="_blank"><span style="color: red;">http://www.adrianjanson.com.au/index.php\?option=com_content&view=article&id</span></a>=<BR>
4&Itemid=11<BR>
<BR>
I hope you all have a really great year - and especially enjoy teaching the<BR>
new course.<BR>
<BR>
All the best,<BR>
Adrian Janson<BR>
<BR>
Important - This email and any attachments may be confidential. If received<BR>
in error, please contact us and delete all copies. Before opening or using<BR>
attachments check them for viruses and defects. Regardless of any loss,<BR>
damage or consequence, whether caused by the negligence of the sender or<BR>
not, resulting directly or indirectly from the use of any attached files our<BR>
liability is limited to resupplying any affected attachments. Any<BR>
representations or opinions expressed are those of the individual sender,<BR>
and not necessarily those of the Department of Education and Early Childhood<BR>
Development.<BR>
<BR>
________________________________<BR>
_______________________________________________<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.edulists.com.au" target="_blank"><span style="color: red;">http://www.edulists.com.au</span></a> - FAQ, Subscribe, Unsubscribe<BR>
IT Software Development Mailing List kindly supported by<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.vcaa.vic.edu.au" target="_blank"><span style="color: red;">http://www.vcaa.vic.edu.au</span></a> - Victorian Curriculum and Assessment Authority<BR>
and<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.vcaa.vic.edu.au%2Fvce%2Fstudies%2Finfotech%2Fsoftwaredevel3-4.html" target="_blank"><span style="color: red;">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</span></a><BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.vitta.org.au" target="_blank"><span style="color: red;">http://www.vitta.org.au</span></a> - VITTA Victorian Information Technology Teachers<BR>
Association Inc<BR>
<BR>
_______________________________________________<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.edulists.com.au" target="_blank"><span style="color: red;">http://www.edulists.com.au</span></a> - FAQ, Subscribe, Unsubscribe<BR>
IT Software Development Mailing List kindly supported by<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.vcaa.vic.edu.au" target="_blank"><span style="color: red;">http://www.vcaa.vic.edu.au</span></a> - Victorian Curriculum and Assessment Authority<BR>
and<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.vcaa.vic.edu.au%2Fvce%2Fstudies%2Finfotech%2Fsoftwaredevel3-4.html" target="_blank"><span style="color: red;">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</span></a> <BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.vitta.org.au" target="_blank"><span style="color: red;">http://www.vitta.org.au</span></a> - VITTA Victorian Information Technology Teachers<BR>
Association Inc<BR>
<BR>
<BR>
_______________________________________________<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.edulists.com.au" target="_blank"><span style="color: red;">http://www.edulists.com.au</span></a> - FAQ, Subscribe, Unsubscribe<BR>
IT Software Development Mailing List kindly supported by<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.vcaa.vic.edu.au" target="_blank"><span style="color: red;">http://www.vcaa.vic.edu.au</span></a> - Victorian Curriculum and Assessment Authority and<BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.vcaa.vic.edu.au%2Fvce%2Fstudies%2Finfotech%2Fsoftwaredevel3-4.html" target="_blank"><span style="color: red;">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</span></a> <BR>
<a href="parse.pl?redirect=http%3A%2F%2Fwww.vitta.org.au" target="_blank"><span style="color: red;">http://www.vitta.org.au</span></a> - VITTA Victorian Information Technology Teachers Association Inc<BR>
)<BR>
</blockquote></HTML>
<BR>