-
Learning by doing
-
Trainers with practical experience
-
Classroom training
-
Detailed course material
-
Clear content description
-
Tailormade content possible
-
Training that proceeds
-
Small groups
The course Advanced PHP Programming covers advanced features of PHP.
In the first place it is addressed how to deal with Object Orientation in PHP. Attention is paid to the known object oriented concepts like classes and objects, encapsulation and inheritance and how PHP deals with them.
Also the concept of Exception Handling is covered. New features of PHP 7 are discussed as well.
Another issue is how to handle XML and JSON in PHP. Various XML libraries in PHP are discussed, such as libraries for SAX, DOM, SimpleXML and XPath. Also attention is paid to the handling of JSON data with the JSON library functions.
The use of regular expressions in PHP is also part of the subject matter.
Attention is paid to various libraries for database access such as PDO, PHP Data Objects. Database abstraction, transactions and SQL joins are also discussed.
Further attention is payed to several aspects of security such as security threats, authentication and SSL.
In the following module it is discussed how interactive PHP Ajax Web Applications can be developed. The XAJAX Framework is addressed in this respect.
In the module Web Services both SOAP and REST Services are discussed.
Finally an overview of Design Patterns is given and a number of Design Patterns in PHP applications are treated. In conjunction with the course PHP Programming this course covers the requirements for the Zend PHP Certification exam.
The course Advanced PHP Programming is intended for PHP web developers with basic knowledge of PHP who want to make advanced use of PHP to write dynamic Web applications.
To participate in this course knowledge and experience with PHP is required as is discussed in the course PHP Programming.
The concepts are treated on the basis of presentation slides. Demos are used to clarify the theory. The theory is interspersed with exercises. The course uses PHP 7 which is installed in a WAMP package with the Apache Web server and MySQL.
Participants receive an official certificate Advanced PHP Programming after successful completion of the course.
Module 1 : Classes and Objects |
Module 2 : Inheritance |
Module 3 : Exception Handling |
Object Oriented Programming Class Definition Creating Objects Encapsulation and Data Hiding Private Data Constructors and Destructors $this Variable Default Field Values Static Members Class Constants Object References Cloning Objects |
Derived Classes Base Class Access Constructor Visibility Overriding Methods Pseudo Constants Final Classes and Methods Abstract Classes Implementing Interfaces instanceOf Operator Polymorphism Type Hinting Catchable Type Errors |
Types of Errors Exceptions in PHP try, catch and finally Exception Handling Rules Exception Class Exception Specialization User Defined Exceptions Multiple catch Clauses Standard PHP Exceptions Main Exception Branches RunTime Exceptions Turn Errors into Exceptions |
Module 4 : PHP 7 Features |
Module 5 : XML and JSON |
Module 6 : Regular Expressions |
Scalar Type Declarations Coercive and Strict Mode Return Type Declarations Null Coalescing Operator Spaceship Operator Constant Arrays Anonymous Classes Closure::call() Filtered unserialize() Expectations Use Statement Error Handling |
XML Extensions for PHP SimpleXML Load XML from File and String Reading Attributes and Elements Creating XML Data Document Object Model DOM Validation SAX, Simple API for XML Using XPath in PHP PHP JSON Functions JSON Syntax Encoding and Decoding JSON |
Regular Expressions in PHP PHP Regular Expression Functions Meta Characters Quantifiers and Character Classes Regular Expression Modifiers Matching Text with preg_match Matching on Word Boundaries Matching Text with preg_match_all Greedy and Non-Greedy Quantifier Replacing Text with preg_replace Splitting Text with preg_split Searching Text with preg_grep |
Module 7 : Databases Access |
Module 8 : Security |
Module 9 : PHP and Ajax |
PHP Data Objects Data Access with PDO Creating and Closing Connections PDO Error Retrieval Select Queries Fetching Results Direct Query Execution Array and Column Fetching PDO Transactions Prepared Statements Calling Stored Procedures |
Security Issues Register Globals Spoofed Form Submissions Cross Site Scripting Validating Input SQL Injection Cross Site Request Forgery HTTP Authentication SSL Overview SSL Handshakes Configuring SSL in Apache |
Classic Web Application Model Ajax Web Application Model Typical Ajax Interactions Drawbacks of Ajax Creating the XMLHttpRequest Object Methods Sending the Request Object Properties XMLHttpRequest readyState Handling the Response PHP and Ajax, XAJAX |
Module 10 : Web Services |
Module 11 : Design Patterns |
|
REST versus SOAP SOAP Messages WSDL and Code Generation PHP SOAP Extension WSDL for SoapService PHP SOAP Services REST Services Everything an Id Standard HTTP Methods Content Negotiation |
What are Patterns? Singleton Pattern Defined Singleton Pattern Usage Adapter Pattern Factory Patterns Factory Method Pattern Abstract Factory Pattern Abstract Factory Usage Observer Pattern Iterator Pattern |
All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.
We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.
The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.
We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.
Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.
The course includes lunch that we use in a restaurant within walking distance of the course room.
The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.
At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.
The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.