Slides for today: lecture 10 php 5
Sample code used in lab: lab10 code (zip file)
Completed (working code) for morning completedlab10
Class employee example class.Employee.php
lecture notes on MVC
MVC Code examples used in the lecture notes
Technology, Teaching and Learning
but not necessarily in the correct order
Slides for today: lecture 10 php 5
Sample code used in lab: lab10 code (zip file)
Completed (working code) for morning completedlab10
Class employee example class.Employee.php
lecture notes on MVC
MVC Code examples used in the lecture notes
This document explains the tips and techniques that can be used to structure and format a Word document so that it looks appropriate. It is expected that assignment work for Information Technology for Business (Level 4) and Web Scripting for Applications (Level 5), will use these techniques.
Correctly structuring and presenting a document
Referencing (which is mentioned on Page 7 of the handout), should use the appropriate referencing style, which for Kingston University is discussed in Harvard Referencing for Business students. This is a locally stored version – check the link for the latest version (login required).
PHP lab exercises for this week along with code needed for exercise
Class code examples used in the Lecture
In the lab
This lab is all about developing a CRUD system for the EMP database table set up in week 6 – the initial code required is in this zip file. Extract the file, ensuring that you maintain the directory structures given.
You will be shown how to wire this code up in class
Exercises
The exercises take you through setting up a small web site using folders, CSS and other techniques
Exercises: PHP exercises
Code for exercises: code
Materials for first week back ..
Lecture 6 on mysql and php/phpmyadmin
SQL file required to set up the EMP database in mySQL empDB
SQL notes on using mySQL and the projection statement SQL Session 1
Notes on setting up your own version of MAMP (mac) Installing and using MAMP
empform code empform.php
Here are some SQL insert statements that may be useful:
insert into emp (empno,ename,sal) values (120, “SMITH”, 22000);
insert into emp (empno,ename,sal) values (121, “JONES”, 23000);
insert into emp (empno,ename,sal) values (122, “AVERY”, 22500);
insert into emp (empno,ename,sal) values (124, “MITCHELL”, 26000);
insert into emp (empno,ename,sal) values (127, “WEBB”, 22000);
insert into emp (empno,ename,sal) values (129, “TENNENT”, 22000);
insert into emp (empno,ename,sal) values (130, “RUSSELL”, 25000);
Exercise for lab: PHP exercise
Code for lab: codeforlab1
The Web Scripting for Applications module has one assessment and one exam.
The assessment is collated from the exercises you have worked on every week, as detailed in Web Scripting for Applications Coursework
A word document containing all your work will be automatically generated for you – you do NOT have create this document yourself.
The final date for submission of work to the foliocube system will be December 21st @ 6:00pm. At this point no other work will be accepted by the system.
The taught material for this week is covered in the slides from weeks 3 and 4
Source code file for exercises 4-7
Materials for week 4
The newspaper.php and response.php files are in the zip file …
PHP files for lab exercise (zip file)
Lecture Materials for Week 3
soapform1.html used in the lab
PHP Exercises for the lab
form required for the lab work (zip file)
lecture 2 handout for Week 2
PHP Exercises for Week 2
form exercise (two files in a zip) – extract them into a folder
Webscriptingform1 (this is required for the exercises – you need to extract the content from the zip file)