|
Introduction to PHP Programming
This PHP Programming course is designed to give
delegates the knowledge to write, maintain and understand PHP scripts.
PHP is Open Source and Cross Platform, running on Unix,
Linux, MS Windows, Apple Mac, AS/400 and more, and is often used with
an OS-CP database and web server such as MySql and Apache. Thus PHP
will work on the operating system and hardware that currently suits
your applications and organisation.
Select here for related courses
|
Select here for a list of all courses
|
OBJECTIVES OF THE COURSE
The delegate will learn to:
- Declare and initialise variables
- Construct expressions with arithmetic, logical and
relational operators
- Use iterative type statements
- Use conditional statements
- Read/write text and binary files
- Manipulate text using regular expression
- Use and code functions
- Use built-in library functions
- Use arrays and hashes
- Create and use external PHP Code
* For
pricing
for a course run especially for your organisation, please call
01636-893673
COURSE DATES:
Mar 2010
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct |
Nov |
Dec |
Jan 2011
|
-
|
-
|
17-CL
|
-
|
26-CL
|
-
|
13-CL
|
-
|
1-CL
|
6-CL
|
- |
CODES: :(CL) - Central London, (Br)
- Bradford
INTENSITY: About 40% of the course is
practicals, and 60% lectures.
RESOURCE: Each student will have
exclusive use of a PC for the duration of the course. Each student will
be provided with a full set of training notes relating to the course.
PREREQUISITES: Web developers and web
designers with a modest amount of programming experience. Students will
typically have used another simple or domain-specific language such as
VBscript or Javascript. Basic knowledge of HTML and HTTP is a
requirement; some knowledge of CSS, SGML and XML would be a definite
advantage. Please call if you require any advice.
FOLLOW UPS:
Students would also benefit from our Two-day Apache Workshop course
which gives essential instruction in the administration of the popular
web server.
Please ASK about our other training courses
- Perl programming, Samba, Unix and Solaris, TCP/IP Internet and the
rest!
PRACTICALS / TAKEAWAYS: Each student
leaves the course with his own set of training notes for the material
covered.
| Every student who attends this course
at our training centre will be issued with a signed certificate of
course completion, which we will be happy to "authenticate" upon future
request. |
| Students on this course can print out
their work and take it away with them. |
SOFTWARE VERSIONS: Covers PHP Version
4
TOPICS COVERED ON THE COURSE
History of PHP
- Installing PHP
- General Requirements
- UNIX based Systems
- Windows based Systems
- Integrated Development Environment (IDE)
PHP Language Basics
- Programming Basics
- Comment markers
- PHP Tags
- Output Commands
- Using STDIN STDOUT and STDERR
- Using Files
- Include_path
- Opening files
- Reading files
- Writing to Files
- RTRIM
PHP Variables
- Naming Rules
- Data Types
- Numerical
- Integer
- Floating Point Numbers
- Floating Point Precision
- Single Quoted Strings
- Double Quoted Strings
- Creating and Assigning Variables
- Assigning Values to Variables
- Type Conversion
- Variable Scoping
- Global Keyword
- Static Keyword
- Super Globals
- Constants
- Variable Variables
- Operators
- Assignment Operators
- Increment/Decrement Operators
- Arithmetic Operators
- String Operators
- Comparison Operators
- Logical Operators
Control Structures
- Statement Blocks
- If Construct
- Else Keyword
- Elseif Keyword
- Looping Constructs
- While Loop
- Do-while Loop
- For Loop
- Foreach Loop
- Loop Control Words
- Break
- Continue
Regular Expressions
- Meta-Characters
- Backslash
- Unicode Character Properties
- Circumflex and Dollar
- Full Stop
- Square Brackets
- Vertical Bar
- Multipliers
- Subpatterns
- Repetition
- Pattern Matching with ereg and eregi
- Pattern Matching with preg_match
- Splitting Text
- Switch
PHP Arrays
- Syntax
- Creating/Modifying with Square-Bracket Syntax
- Array Functions
- Pitfalls when using Arrays
- Using a Return value as a Key
- Converting to Array
- Sorting an Array
- Multi-Dimensional Arrays
- Example
- Creating a new Multi-Dimensional Array
PHP Functions
- Conditionally Created Functions
- Functions Created Inside Functions
- Argument Passing by Value
- Argument Passing by Reference
- Returning Values
- Including External PHP Functions
PHP Object Oriented
- Classes and Inheritance
- Classes
- Inheritance
- Keywords
PHP & PEAR
- What is PEAR?
- Command Line Package Installer
- Fully-Automatic Installation
- Semi-Automatic Installation
- What is PECL?
PHP & HTML
|