PHP Fundamentals
Course Intro & Environment Setup
- Get to know each other
- Student's knowledge & codebase review
- Course roadmap and goals
- Setting up the development environment (PHP 8+, Apache/Nginx, MySQL).
- Docker for PHP development.
- Version Control with Git refresher.
- Code Editor/IDE setup and useful extensions.
PHP Modern Fundamentals
- PHP syntax and structure.
- PHP variables, data types, and operators.
- Control structures (if/else, switch, loops).
- Functions and arrays.
- Namespaces.
- Object-Oriented Programming (OOP) in PHP.
- Review of PHP 8+ features (Typed properties, Arrow functions, Match expression).
- Strict typing and type safety.
- Modern error handling (Try/Catch/Finally).
- Composer & Autoloading.
Server-side scripting using PHP to generate dynamic content.
- Working with forms and user input.
- File handling and uploads.
- Session and cookie management.
- Working with JSON and XML data.
- Error handling and debugging techniques.
Database & PDO
- PDO (PHP Data Objects) best practices.
- Prepared statements and preventing SQL Injection.
- Transactions and error handling.
- Data mapping concepts.
