Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Digital-Media/webshop

Repository files navigation

Exercises with the webshop repo

This repository provides Exercises for web development classes at the Upper Austria University of Applied Sciences (FH Oberösterreich), Hagenberg Campus.

Installation

See INSTALL.md

hyp2ue3_t1

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.

hyp2ue5_t2

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.

hyp2ue4_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.

hyp2ue6_t2

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.

hyp2ue5_t1

This Exercise uses the knowledge form hyp2ue3_t1 to work with a template for a Login form and includes session handling.

hyp2ue7_t2

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.

hyp2ue8_t2

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published