Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python, Lua and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Java, C, C++, Ruby, MySQL and Linux / Tomcat systems
 

PHP training news
Next Public Course Dates
 fromfor

Link on individual courses for more details and further dates.

We can also run a private tailored course at our centre or a private course at your office.
Learning to program in PHP - training course
Learn PHP, and its use as a Web-scripting language
Duration: 5 days • Price: £1900.00 +VAT (with hotel room), or £1550.00 +VAT (without room), • Venue: Melksham, Wiltshire


COURSE START DATES
Usually scheduled to meet customer needs or run as a private course. Please email for details
DESCRIPTION
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 of MySQL.

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.
PREREQUISITES
No prior programming knowledge is needed for this course (if you are an experienced programmer, please consider our alternative PHP Programming course instead).

Getting the most from your Well House Consultants course [Link]
SUBJECT BACKGROUND
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.
COURSE CONTENT
Course Summary: [Link]
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. Sequential operation. Very fast, but an IQ of zero. Variable and variable types. Conditions and conditional code. Loops and named blocks of code. Collections. Libraries. 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? Examples of PHP in use. Whys use PHP rather than the alternatives? When and where is PHP available? Versions of PHP (3 v 4).
A First PHP Web Page (module H102) How do I enter and edit a PHP script? Adding PHP within an HTML page. How do I run a PHP Script? First Script - including the day of the week in a web page. Sequences of statements. Editing and debugging your PHP. Commenting your PHP. Debugging techniques.
Variables, Operators and Expressions (module H103) Variable naming, creation. Strings, Integers and Floats. Constants. Saving values in variables and retrieving them. Arithmetic, logical, relational, bitwise and other operators. Combining operators; expressions, precedence, etc. Comments. Including a file.
Control Statements (module H104) Booleans, True and False. Conditionals - if, elseif, else, ?: snd switch. Loops - while, do, and for. Controls - break, continue, exit, die and return. Making up a table in PHP.
Functions (module H105) Declaring and calling a function. Arguments and return values. Variable scope, global and static. Loading functions from another file. Library functions - overview. Call by name and call by value.
Arrays (module H106) Creating arrays, storing and retrieving values. Indexing by number or by string. Initialising arrays.
String Handling in PHP (module H107) Review of the fundamentals. Formatting strings. String cleansing. Low-level string manipulation. Tokenizing a string (explode). Regular expressions.
Objects in PHP (module H108) Defining simple objects. Creating an object using new. Access properties and methods. Defining inheritance and using polymorphism. A practical example. Standard methods and inheritance.
Input / Output (module H109) Opening access to files on the server. Reading from and writing to files. File and directory functions. Include and require.
 
PHP as a web tool
HTML Web Page Data Handling (module H110) Writing to the browser. Reading from a form. Environment variables.
Using MySQL Databases in PHP Pages (module H113) Database Structure. Introduction to SQL and MySQL. Principles of database programming from PHP. Creating tables. Adding and changing information. Retrieving information from a table and reporting it to a web page. Deleting tables. Using an alternative database - example Oracle (OCI) calls. Other databases and interfaces such as ODBC, Oracle, postgreSQL and Sybase.
Additional PHP Material (module H999) Variable declaration and typing. Explicit convertors. Sorting. User-defined sorting. Sorting an associative array. Other array re-ordering functions. Multidimensional arrays. Flexibility with multidimensional arrays. Graphics. Using 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.
Further Web Page and Network Handling (module H112) Sessions, state and multiple concurrent users. Using an HTTP connection and authentication. Cookies. Session functions. File Uploads. Sending emails from PHP. Including attachments.
Shopping Cart Application in PHP (module H116) Putting in all together in a practical example. Data file database of products. User Tracking. Keeping HTML templates apart from the code. Developing the page look using a tool such as Dreamweaver. Secure Server. Verification of user details. Accepting on line credit card details or online payment.
 
Making effective use of PHP
Designing PHP-Based Solutions: Best Practice (module H115) Analysing the requirement and designing the Application. The batchlet model and multi-task PHP scripts. Writing maintainable code. Error checking and data integrity in a multiuser environment. Good use of functions and include files. Keeping databases, directories and shopping carts tidy. Portability issues (databases, operating systems, PHP releases and installation). Futureproofing. Backups. The four layer model - separating the look and feel from the business logic.
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. Configuration files. Shopping cart applications.
Security in PHP (module H117) Security from first principles. PHP as a CGI library and as an Apache Module. Issues with Register Globals. Hiding PHP.
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. Coverage testing. 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. Databases. Sorting. Specifying an API that can be expanded.

TUTOR and COURSE AUTHOR
Graham Ellis - graham@wellho.net [email]  [about Graham]
VENUE
Melksham, Wiltshire
Public courses run at Well House Manor - our own purpose fitted training centre and business hotel / conference centre in Melksham.
• Download Melksham Map - [pdf file (750k)] • Google Map - [Link]
PRICE
1 student   2 students   3 students   For 4 or more students
from the same company,
please consider a private course.
 With hotel room
£1900.00
(£2280.00 inc VAT)
Without room
£1550.00
(£1860.00 inc VAT) 
 With hotel rooms
£3750.00
(£4500.00 inc VAT)
Without rooms
£3050.00
(£3660.00 inc VAT) 
 With hotel rooms
£5600.00
(£6720.00 inc VAT)
Without rooms
£4550.00
(£5460.00 inc VAT) 
 
Notes:
• 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.
FOLLOW UPS
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 course. If you're going to be using PHP to make use of the MySQL database, you might like to consider following up this course with MySQL.

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 -- http://www.wellho.net/course/ctc.html
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 -- http://www.wellho.net/net/terms.html
Covering topics such as delegate substitution, payment, cancellation policy and other matters.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2018: 404 The Spa • Melksham, Wiltshire • United Kingdom • SN12 6QL
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/course/hlfull.html • PAGE BUILT: Thu Apr 5 17:03:17 2018 • BUILD SYSTEM: WomanWithCat