Programming in PHP - B500006
Title: Programování v PHP
Guaranteed by: Department of Informatics and Chemistry (143)
Faculty: Faculty of Chemical Technology
Actual: from 2021
Semester: winter
Points: winter s.:4
E-Credits: winter s.:4
Examination process: winter s.:
Hours per week, examination: winter s.:0/3, MC [HT]
Capacity: unknown / unlimited (unknown)
Min. number of students: unlimited
Language: Czech
Teaching methods: full-time
Teaching methods: full-time
Level:  
For type: Bachelor's
Guarantor: Jirkovský Vojtěch Ing.
Interchangeability : N500010
Examination dates   
Annotation -
Last update: Kubová Petra Ing. (02.01.2018)
The goal of the course is to acquaint students with the principles of dynamically generated server-side web pages. PHP programming language (types and definitions of variables, operators, arrays, loops, definitions and calls of functions, strings, regular expressions) and PHP code embedding into the HTML page are discussed. Students gain an insight into implementation of object oriented programming in PHP, inheritance and polymorphism in PHP, databases in the PHP environment, practical use of MySQL / SQLLite database system, and selected parts of PHP libraries.
Aim of the course -
Last update: Kubová Petra Ing. (02.01.2018)

Students will be able to:

Understand the principles of dynamically generated server-side web pages, PHP programming language (types and definitions of variables, operators, arrays, loops, definitions and calls of functions, strings, regular expressions) and PHP code embedding into the HTML page.

Have an insight into implementation of object oriented programming in PHP, inheritance and polymorphism in PHP, databases in the PHP environment, practical use of MySQL / SQLite database system, and selected parts of PHP libraries, Quick Forms, MVC architectural principles and MVC Framework.

Literature -
Last update: Kubová Petra Ing. (02.01.2018)

Study materials are available on EDUX server.

Learning resources -
Last update: Kubová Petra Ing. (02.01.2018)

https://edux.fit.cvut.cz/courses/BI-PHP

(login necessary)

Syllabus -
Last update: Svozil Daniel prof. Mgr. Ph.D. (26.03.2019)

1. Basic syntax, data types (except OOP)

2. Using IDE, debugging, workflow

3. Variables, constants, expressions and control structures

4. Functions, built-in functions (processing strings, regular expressions)

5. Built-in functions (working with data types, I/O)

6. Basics of OOP (class, interface, visibility, class loading)

7. Using OOP (inheritance, traits, type hinting, late static binding, comparison of object, de/serialization)

8. Namespaces

9. Error handling - errors and exceptions

10. Unit tests, integration tests (PHPUnit)

11. Project dependencies, automatic class loading, Composer; Code profiling

12. PHP7 new options

13. React framework

Registration requirements -
Last update: Kubová Petra Ing. (02.01.2018)

Algorithmization and essential knowledge of the programs development are assumed. Knowledge of HLML, fundamentals in the object oriented programming, and the experience in the database management are advantages, but not necessity.

Course completion requirements - Czech
Last update: Svozil Daniel prof. Mgr. Ph.D. (07.02.2018)

Pro zı́skánı́ klasifikovaného zápočtu je potřeba dostatek bodů z písemných testů.

Teaching methods
Activity Credits Hours
Příprava na přednášky, semináře, laboratoře, exkurzi nebo praxi 1 28
Příprava na zkoušku a její absolvování 1.5 42
Účast na seminářích 1.5 42
4 / 4 112 / 112