Course: Weekly practicing programming in PHP

» List of faculties » FPR » UAI
Course title Weekly practicing programming in PHP
Course code UAI/327
Organizational form of instruction Seminary
Level of course Bachelor
Year of study not specified
Frequency of the course In each academic year, in the summer semester.
Semester Summer
Number of ECTS credits 2
Language of instruction Czech
Status of course Compulsory-optional
Form of instruction Face-to-face
Work placements This is not an internship
Recommended optional programme components None
Lecturer(s)
  • Novák Milan, PhDr. Ph.D.
Course content
1. Introduction to PHP - history, evolution, modern PHP (8.0+), installation and development environment setup, basic syntax. 2. Data types and operators - scalar types, compound types, type declarations, type juggling, operators and their precedence. 3. Control structures and functions - conditions (if, switch), loops (for, while, foreach), function definition and calling, parameters and return values. 4. Object-Oriented Programming I - classes, objects, properties, methods, inheritance, encapsulation, access modifiers. 5. Object-Oriented Programming II - interfaces, traits, abstract classes, polymorphism, static members, magic methods. 6. Working with strings and regular expressions - string operations, regular expressions (PCRE), searching and replacing, unicode handling. 7. Arrays and collections - working with arrays, associative arrays, iteration, built-in functions, SPL (Standard PHP Library), generators. 8. Namespaces and use statements - code organization, namespaces, autoloading, PSR standards. 9. Working with files and databases - reading and writing files, working with PDO, SQL injection prevention, prepared statements, transactions. 10. Modern PHP - type safety, named arguments, match expression, enums, attributes, error handling and exceptions. 11. Asynchronous and parallel processing - asynchronous programming, Promises, async/await, parallel processes, Queue systems. 12. Framework and ecosystem - Laravel, Symfony, middleware, dependency injection, testing (PHPUnit), Composer and package management. 13. Security, deployment and optimization - authentication and authorization, OWASP top 10, caching, performance optimization, Docker, CI/CD pipeline.

Learning activities and teaching methods
Project-based learning, Case studies
  • Semestral paper - 25 hours per semester
  • Preparation for exam - 25 hours per semester
Learning outcomes
The practicum of programming in PHP follows the PHP course. It is focused on the acquisition and consolidation of skills acquired in the course and further on the deepening of knowledge in the field of PHP programming. The practicum will focus on gaining practical experience with the development of a larger project and will get acquainted with the rules of teamwork.
The course is focused on advanced programming techniques in PHP. It is a follow-up course to UAI / 322 and is focused on practical techniques for developing dynamic applications.
Prerequisites
Completion of the UAI / 332 course. Knowledge of the basics of PHP.

Assessment methods and criteria
Seminar work

Active participation in seminars. Final work.
Recommended literature
  • David Sklar. PHP 7 - Praktický průvodce nejrozšířenějším skriptovacím jazykem pro web. Zoner Press, 2018. ISBN 978-80-7413-363-3.
  • Thomson Laura, Welling Luke. Mistrovství - PHP a MySQL. Computer Press, 2017. ISBN 978-80-251-4892-1.


Study plans that include the course
Faculty Study plan (Version) Category of Branch/Specialization Recommended year of study Recommended semester