Die Demo App soll den Studierenden den Einstieg in die Entwicklung mit PHP erleichtern und schlussendlich auch eine Vorlage liefern.
-
Grundsätzliches Vorgehen zeigen beim Start mit PHP
-
Kurze Einführung in Git
-
Nur die Basics! Repository anlegen, git pull, git commit, git push(, git status)
-
Projekt aufsetzen in PhpStorm (Ordner-Struktur nach Skeleton Beispiel erklären)
-
config: mehrere Möglichkeiten; am einfachsten: In der Sprache PHP bleiben -> arrays
-
public: Frontpage
-
src: Klassen & Co, kein muss
-
(optional) VHost
-
Dokumentation (Markdown)
-
HTML / CSS auf Basis von Bootstrap
-
Templatestruktur aufbauen
-
Datenbank aufsetzen
-
CRUD Funktionalität mit PHP als Demo
-
Anlegen von Benutzern für eine Webseite
-
Login als Demo
-
geschützen Bereich (einfachste Variante)
-
bin
-
/reset.php
-
/build.php
-
(optional) Externe Abhängikeiten laden via composer
Diese Grundlage darf, muss aber nicht genutzt werden!
Weitere Dokumentation DB Struktur