Duration: 5 days
• Price: $3100.00 or £1900.00 +VAT
(with hotel room), or
$2550.00 or £1550.00 +VAT
(without room), •
Venue: Melksham, England
COURSE START DATES
|• Monday 13 March 2017||• Monday 15 May 2017|
|• Monday 10 July 2017||• Monday 11 September 2017|
|• Monday 6 November 2017||• Monday 4 December 2017|
This course covers the fundamentals of
programming in PHP (version 5) and Web-related issues such as
linking a series of forms together into a session, maintaining
state , cookies, security and other matters. We also cover PHP's
interfacing to relational databases, with a particular study
It is particularly easy to write PHP code that
is hard to maintain, and this course includes a major "best
practise" section where we'll take you beyond the language itself
and show you how to write code that's secure, reliable, and easy
to enhance and maintain throughout its life cycle.
No prior programming knowledge is needed for
this course (if you are an experienced programmer, please
consider our alternative PHP Programming
Getting the most from your Well House Consultants course
PHP is a progamming language that was developed and designed
for use on the web, and it's now so popular that you'll find it
available on more domains than any other language. That's not because
it's free - it's because it's a very flexible and efficient tool.
PHP can be used for applications as easy as colour and font control
to handle accessibility issues, through to complex on line ordering
and stock and order tracking systems.
|Learning to Progam (module Q100) What is programing?
Why are there so many langauges?
Which language for what purpose?
How to plan your progamming project.
Making best use of existing resources.
|Programming Principles (module Q101) Stored programs - running from file.
Very fast, but an IQ of zero.
Variable and variable types.
Conditions and conditional code.
Loops and named blocks of code.
Pointers and references.
Compilers and Interpretters.
Program and system design.
The PHP Language
|Introduction to PHP (module H101) What is PHP?.
What hardware and software do I need?.
Linux and Unix.
Windows (98, NT, 2000, Millennium, XP).
What does PHP cost?.
|A First PHP Web Page (module H102) Writing and uploading.
The structure of a PHP page.
Sequences of statements.
|Variables, Operators and Expressions (module H103) Expressions and operators.
Getting a value from a form.
Alternative ways of getting values from a form.
Comments in PHP.
Including a file.
|Control Statements (module H104) Conditional statements - if.
blocks, elseif and else.
Conditional statement - switch.
Loops - the while statement.
Making up a table in your PHP.
Alternative loop - the for statement.
Other control statement subjects.
|Functions (module H105) Global and static variables.
Loading functions from another file.
Call by value v call by name.
Object oriented PHP.
|Arrays (module H106) Array manipulation.
|String Handling in PHP (module H107) Strings.
Strings - in variables and literals.
String functions - an introduction.
Higher level functions.
Matching, extraction and replacement functions.
Formatting data into a string - sprintf.
Functions for formatting web pages.
Low-level string manipulation - strpos and friends.
Splitting up a string.
What flavour of regular expressions?.
|Objects in PHP (module H108) Design and structure.
The limitations of structured programming and the need for objects.
An Introduction to objects in PHP.
Defining simple objects in PHP.
Using an object.
A practical example.
A table of trainee workstations.
A table of all our workstations.
Where do classes load from?.
A comment on objects in PHP.
Objects in PHP5.
Private, protected and public members and the final keyword.
Constructor and destructor methods.
Extensions to Object Inheritance.
PHP’s inheritance model, and Interfaces.
Object model differences PHP4 to PHP5.
Advanced objects in PHP5.
Cloning and equality.
|Input / Output (module H109) Input from a file.
Checking a file and looking around.
Example of output to a file.
PHP as a web tool
|HTML Web Page Data Handling (module H110) Inputs available from your page and environment.
Other form elements.
|Using MySQL Databases in PHP Pages (module H113) Database structure.
How to create a new table.
Adding information to a table.
Selecting information from a table and reporting it to a web page.
Deleting a table.
User input checking and other testing.
Example: A PHP script to select and view the data in any table.
Downloading all the tables from a database.
Uploading tables from a flat text file.
Using other relational databases from PHP.
Using Oracle 8.x and 9.x.
Using the Oracle OCI9 API.
Portable database connection.
|Additional PHP Material (module H999) Variable declaration and typing.
Sorting an associative array.
Other array re-ordering functions.
Flexibility with multi-dimensional arrays.
Using PHP to add a counter to an HTML page.
A graphic example.
Using PHP away from the Web Server.
How to use PHP away from the Web Server.
Example of PHP running from keyboard to screen.
What is XML?.
XML handling in PHP.
A Simple Parser.
Extending the example.
Analysing XML as a stand-alone program.
Other XML Subjects.
What is XSLT?.
Handling XSLT in PHP.
|Further Web Page and Network Handling (module H112) Maintaining state.
Headers, Heads and Bodies.
Uses of Cookies.
Accessibility - a practical example of cookies.
Example using PHP built-in session functions.
Why email from the server?.
Informing the system owner.
Emailing system users.
Emailing from the server.
Sending a simple email.
Adding to the headers.
A practical example of mailing from PHP.
|Shopping Cart Application in PHP (module H116) The store front page.
Under the hood.
Adding to the shopping cart.
The final phase.
Complete carter.php4 file.
Using a secure server for credit card details.
What is SSL and https?.
How can you use https?.
Programming implications for using a secure service.
Programming to use an electronic payment system.
Credit card agreements.
Making effective use of PHP
|Designing PHP-Based Solutions: Best Practice (module H115) Thinking through your design.
Tools to help you design.
Designing a smaller application example.
A note on using PHP in a Web environment.
Writing maintainable code.
Use of functions and include files.
And all the languages in one file?.
Writing code for different databases.
Error handling and software testing.
Expect the unexpected and check everything.
Error numbering and handling.
Data validation, sessions, XML/XSLT, SQL.
|MVC, 4 layer model and templating (module H302) How to design and structure your application.
Model - View - Controller.
Top level, business logic, web helpers and template.
Objects - how and when to use them.
Handling the look and feel with DreamWeaver.
A little on database design.
Shopping cart applications.
|Security in PHP (module H117) From first principles.
PHP installed as CGI binary.
Installed as an Apache module.
Using register globals.
|Putting it all together (module H310) A practical session in which each delegate.
will undertake a different practical to try out.
the most revelant techniques learned so far on.
the course. Delegates are encouraged to bring their.
own data along, and to go away with useful code.
|Testing your PHP (module H311) Test Driven Design.
Unit test principles.
Testing with PHPUnit.
Testing PHP sites with Testwise and watir-webdriver.
|Tips and Techniques (module H312) Singular v plural.
Reporting zero answers and making suggestions.
Cardinal values and the child called "Drop database".
Upper case and lower case names - making good addresses.
Specifying an API that can be expanded.
TUTOR and COURSE AUTHOR
Graham Ellis - email@example.com
] [about Graham
, England. A taxi transfer can be arranged if you'll be arriving by air
from United States.
can be arranged on site in your country.
Public courses run at
Well House Manor
- our own
purpose fitted training centre and business hotel / conference centre in
• Download Melksham Map - [pdf file (750k)
] • Google Map - [Link
|| 2 students
|| 3 students
|| For 4 or more students
from the same company,
please consider a private course.
| With hotel room
($3720.00 inc VAT) or
(£2280.00 inc VAT)
($3060.00 inc VAT) or
(£1860.00 inc VAT)
| With hotel rooms
($7380.00 inc VAT) or
(£4500.00 inc VAT)
($6060.00 inc VAT) or
(£3660.00 inc VAT)
| With hotel rooms
($11040.00 inc VAT) or
(£6720.00 inc VAT)
($9060.00 inc VAT) or
(£5460.00 inc VAT)
• Multiple discount applies to bookings for second and subsequent delegates on the same running of a course, and on same order.
• Hotel rooms are available for arrival the night before the course starts, for departure after the end of the course on the last day.
If you're going to be writing a major project in PHP,
you may benefit from also attending our one day Object Oriented Programming in PHP
If you're going to be using PHP to make use of the MySQL
database, you might like to consider following up this course
Upon completion of your course, you'll have online access to the source code of
all the examples from the course, and you'll have access to the
"Ask the Tutor" forum
where you can raise questions. We also encourage you to email the tutor, and
to visit us again to use our library as appropriate.
Certification? - [Link
FOR FURTHER INFORMATION
Public (scheduled) courses
For more information about our public courses in general, such as class size, course times, materials provided, special requests, accommodation list, finding our centre, etc.
Terms and Conditions
Covering topics such as delegate substitution, payment, cancellation policy and other matters.