Course Outline
Introduction
- Recent advancements in PHP 8 for government use
- PHP programming best practices and refreshers
Getting Started
- Configuring the server environment for government operations
- Installing PHP 8 to meet public sector requirements
- Setting up database configurations for secure data management
Implementing Attributes
- Understanding attribute syntax and namespaces in a governmental context
- Utilizing the Reflection API for enhanced code inspection
- Declaring attribute classes to support robust application development
Constructor Property Promotion
- Managing constructor arguments for efficient class initialization
- Declaring class properties to ensure data integrity and security
- Considering coding style guidelines for maintainable government codebases
Using Match Expression
- Exploring the structure and usage of match expressions in PHP 8
- Comparing match with switch statements for improved logic flow
- Handling non-identity checks to enhance conditional logic
Named Arguments
- Defining function parameters for clear and concise code
- Distinguishing between parameters and arguments in government applications
- Implementing union types to support flexible data handling
- Leveraging PHP 8 named arguments for enhanced readability
PHP JIT Compiler
- Enabling OPCache for optimized performance in government systems
- Configuring the JIT compiler to improve execution speed and efficiency
Security Best Practices in PHP 8
- Ensuring session, filesystem, and database security for government applications
- Implementing error reporting and secure data handling practices
Troubleshooting
Summary and Next Steps
Requirements
- Experience in PHP programming
Audience
- Software developers for government
Testimonials (5)
Training style and the overall knowledge of the trainer.
Kenosi - NWK Limited
Course - Laravel: Middleware Development
The lessons was very interactive and the excersices was good practical
Heino - NWK Limited
Course - Laravel and Vue.js
Covered a lot of material.
Michael Promes - Nebraska Medicine
Course - Laravel PHP Framework
The subject of the course was very interesting and gave us many ideas.
Anastasios Manios
Course - Secure coding in PHP
Tailored specifically to my needs and lots of Rural examples.