SubjectsSubjects(version: 963)
Course, academic year 2024/2025
  
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 / unknown (unknown)
Min. number of students: unlimited
State of the course: taught
Language: Czech
Teaching methods: full-time
Teaching methods: full-time
Level:  
Guarantor: Jirkovský Vojtěch Ing.
Classification: Informatics > Programming
Interchangeability : N500010
Annotation -
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.
Last update: Kubová Petra (02.01.2018)
Aim of the course -

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.

Last update: Kubová Petra (02.01.2018)
Course completion requirements - Czech

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

Last update: Svozil Daniel (07.02.2018)
Literature -

Study materials are available on EDUX server.

Last update: Kubová Petra (02.01.2018)
Syllabus -

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

Last update: Svozil Daniel (26.03.2019)
Learning resources -

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

(login necessary)

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

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.

Last update: Kubová Petra (02.01.2018)
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
 
VŠCHT Praha