Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

DelphiSampleProject

A simple Delphi example project demonstrating a complete MySQL CRUD application

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Delphi Sample Project

📖 About

This is a simple Delphi example project that demonstrates how to build a full CRUD application with:

🔹 Clients
🔹 Products
🔹 Orders (with Order Items)

The project connects to a MySQL database, and the scripts for database creation and sample data population are included in the repository.

✨ Features

🔹 Create, Read, Update and Delete (CRUD) for Clients, Products and Orders.
🔹 Orders support multiple order items.
🔹 Database persistence with MySQL.
🔹 MVC + DAO design pattern
🔹 Styled interface for a modern look.

🛠️ Tech Stack

🔹 Delphi
🔹 MySQL
🔹 FireDAC for database connection
🔹 Raize for UI components and styling

📂 Project Structure

pascal

/src
????????? Views                # Delphi forms for UI
????????? DAOs                 # Data Access Objects
????????? Models               # Business models
????????? Controls             # Application logic
????????? SQLFiles             # Database creation & population scripts

🚀 Getting Started

  1. Clone this repository:
    bash
    git clone https://github.com/Martenda/DelphiSampleProject.git
  2. Open the project in Delphi.
  3. Configure your MySQL connection in the MySQLConnection.ini file.
  4. Run the SQL scripts from /SQL folder to create and populate the database.
  5. Build & Run the application.

Made with ❤️ by Martenda using Delphi.