Skip to content

Tess-mltx/MVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVC learning

This repository is part of Becode.org training. The objectives are to understand and use an MVC structure to interact with a database.

Table of Contents

  1. General Info
  2. Technologies & Libraries
  3. Installation
  4. Structure

General Info


A starter pack is provided to create this project. Various tasks, corrections, and implementations are present in the code files.

Technologies & libraries


  • PHP: Version 8.0.26

  • MySQL: Version 8.0.31

  • Git: Versioning control

  • PDO: PHP extension to database acces

Instalation


  1. Clone the repository.
  2. Set up a local PHP server.
  3. Import the database (whith exemples insside).
  4. Navigate to the project in your web browser.

Structure


The project follows the MVC design pattern:

  • Model (./Model): Data structures, classes
  • View (./View): Data presented in a user-friendly way
  • Controller (./Controller): Handles user interaction

Additional directories and files include:

  • DataBase: Files to be imported into the database

  • Connect: Connection to the database

  • index.php: Router - Directs requests to the appropriate controllers based on the requested page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published