This repository provides Exercises for web development classes at the Upper Austria University of Applied Sciences (FH Oberösterreich), Hagenberg Campus.
See INSTALL.md
This Exercise makes you familiar with the concept of PHP templates and Routing. We use Twig as one of many php template engines. This ist done as Code Along session to get familiar with the file structure and dependencies in a PHP project using composer to install Twig. We create an HTML input form to write data to a database. See the documentation for the already installed components we use.
This Exercise makes you familiar with the concepts of a database driver. We use PDO for serveral reasons.
It supports many databases and is the basis for the database framework doctrine used in the PHP framework symfony for example.
This ist done as Code Along session and we will add data to the table onlineshop.country
.
This Exercise is related to hyp2ue3_t1.
This Exercise uses the knowledge form hyp2ue3_t1 to build a template for a Registration form. You can use login.html.twig as starting point and change it to fulfill the needs of a registration form. Add a repeat field for the password. The rest of the fields can be left empty for this exercise.
This Exercise uses the knowledge from hyp2ue5_t2 to store data of a Registration form to onlineshop.user
.
It is related to hyp2ue4_t1. Validate the input fields and store them to the database.
This Exercise uses the knowledge form hyp2ue3_t1 to work with a template for a Login form and includes session handling.
This Exercise uses the knowledge from hyp2ue5_t2 to store data of a Login form to authenticate against onlineshop.user
.
It is related to hyp2ue5_t1.
This Exercise uses the knowledge form hyp2ue3_t1 to work with a template for a form to add products to onlineshop.product
.
This Exercise uses the knowledge from hyp2ue5_t2 to store data of the Product form in onlineshop.product
.