Client: DigitalBite Agency Product Owner: Matbakhi
A custom PHP MVC web application that allows cooking enthusiasts to create, organize, and manage their personal recipes.
This project was built without any framework to deeply understand:
MVC architecture Object-Oriented Programming with encapsulation SQL relational modeling (Merise β MCD β MLD) Routing with .htaccess Agile workflow using Kanban (Jira)
Recipes were previously scattered across notebooks, photos, and Word files. This platform centralizes them into a structured, searchable, and shareable system.
URL β index.php β Router β Controller β Model β View
Strict MVC separation:
Layer Responsibility Model Business logic + Database access (PDO) Controller Request handling + data orchestration View Display only (no SQL, no logic)
recipe-manager/
β
βββ config/
β βββ db.php
β
βββ controllers/
β βββ AuthController.php
β βββ FavController.php
β βββ RecipeController.php
|
βββ models/
β βββ category.php
β βββ favorites.php
β βββ recipe.php
β βββ user.php
β
βββ public/
β βββ index.php
β
βββ views/
β βββ auth/
β β βββ login.php
β βββ css/
β β βββ style.css
β βββ includes/
β β βββ footer.php
β β βββ header.php
β βββ recipes/
β β βββ dashboard.php
β β βββ favorites.php
β β βββ home.php
β βββ index.php
β
βββ schema.sql
βββ README.md
ID Feature
US1 User Registration
US2 User Login
US3 Display my recipes
US4 Create a recipe
US5 Edit a recipe
US6 Delete a recipe
US7 Recipe categories
US8 Filter recipes by category
```
Mes Favoris Page:
```
```
Home Page:
```
```
- Recherche de Recettes : Ajouter une barre de recherche qui filtre les recettes par titre ou ingrΓ©dients.
- Recettes Favorites : Permettre Γ un utilisateur de marquer des recettes comme "favorites".
Entities Users Recipes Categories Favorites (bonus) Relationships One User β Many Recipes (1-N) One Category β Many Recipes (1-N) Many Users β Many Recipes (Favorites) MCD and MLD diagrams are included in this repository.
PDO Prepared Statements password_hash() / password_verify() Strict form validation Foreign Keys for referential integrity
Full schema creation script Seeding: 3 users 10 recipes 4 categories
Kanban board on Jira Daily standups Pair programming Retrospective completed
Screenshot of the final board included.
Each team member can explain:
The full MVC request flow The RecipeController SQL relations and JOINs Encapsulation and OOP structure
MCD / MLD diagrams Jira board screenshot SQL script MVC structure This README
This project demonstrates a deep understanding of:
MVC from scratch Routing without frameworks SQL relational integrity Clean OOP design Agile teamwork
##Pro-Joseph / wissalaitihya Developed in pair-programming mode as part of a backend developping training project.